Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/arch/hppa/hppa



Module Name:    src
Committed By:   martin
Date:           Tue Sep 23 12:50:46 UTC 2025

Modified Files:
        src/sys/arch/hppa/hppa [netbsd-10]: trap.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #1161):

        sys/arch/hppa/hppa/trap.c: revision 1.124
        sys/arch/hppa/hppa/trap.c: revision 1.125
        sys/arch/hppa/hppa/trap.c: revision 1.126
        sys/arch/hppa/hppa/trap.c: revision 1.127
        sys/arch/hppa/hppa/trap.c: revision 1.128

Fix the inverted logic around probe access vs probe access immediate
instructions.  This affected the probe
   <__canonicalize_funcptr_for_compare+76>:     probei,r (r20),3,r20
and manifested as tests/lib/libc/tls/t_tls_dynamic failures

Remove empty else clause.

Code style around probe instruction priviledge level.

Actually use the PROBE_PL macro with a bitfield that covers the
instruction's 'i' immediate or 'r' fields and mask the bottom two bits as
the {read,write}_access_allowed architecture functions would.

Remove a magic number with s/3/HPPA_PC_PRIV_MASK/

Whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.121.4.1 src/sys/arch/hppa/hppa/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index