cvs commit: src/sys/sparc64/sparc64 machdep.c trap.c
marius at FreeBSD.org
Wed Jun 7 21:00:47 UTC 2006
marius 2006-06-07 19:08:27 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/sparc64/sparc64 machdep.c trap.c
MFC: sys/sparc64/sparc64/machdep.c 1.129 (partial),
sys/sparc64/sparc64/trap.c 1.80 (partial)
- s,tramoline,trampoline, in a comment.
- Use FBSDID in trap.c
- Make the global trap_sig static as it's not used outside of trap.c.
- Sync cpu_thread_siginfo() and sendsig() with the other archs; for fast
data access MMU miss and data access protection traps set ksi_addr to
the SFAR reg which contains the faulting address and otherwise to the
TPC reg. Generally the TCP reg contains the address of the instruction
that caused the exception, except for fast instruction access traps
(and some others; more refinement may be needed here) it also contains
the faulting address.
Previously, sendsig() always set si_addr to the SFAR reg which is wrong
for most traps and cpu_thread_siginfo() didn't set it at all.
- In sendsig() add support for FreeBSD old-style signals.
Revision Changes Path
22.214.171.124 +25 -6 src/sys/sparc64/sparc64/machdep.c
126.96.36.199 +4 -2 src/sys/sparc64/sparc64/trap.c
More information about the cvs-src