freebsd-skq/sys/sparc64
jake 3ed9f58376 1. Setup the user stack pointer before returning to a user trap handler.
If we don't do this here there's a 1 instruction race where an interrupt
   could come in and crash the user process due to having no stack.
2. Pass %fsr to the user trap handler in %l4.  Since %fsr can only be loaded
   from or stored to memory, we need to do some contortions and temporarily
   save it to the alternate global stack.
3. Reload the pcb and pcpu registers for traps in kernel mode, for sanity.

Submitted by:	tmm (1, 2)
2002-02-23 18:55:21 +00:00
..
compile Obrien created this directory, but I didn't cvs add cvsignore 2001-07-01 23:37:03 +00:00
conf Add device ofw_console so this kernel is usable. 2001-12-29 05:58:07 +00:00
ebus Minor bug fixes (add a missing break, correct the resource ranges, remove 2002-02-13 15:35:22 +00:00
include Include intr_machdep.h only for !LOCORE. 2002-02-23 18:41:34 +00:00
isa Fix typos in a comment. 2002-02-13 15:43:42 +00:00
pci Merge r1.39 from NetBSD (manage both streaming caches for psycho pairs). 2002-02-13 16:07:59 +00:00
sbus Add support for the SBus, which is used in early Sun UltraSPARC machines. 2002-02-13 16:11:36 +00:00
sparc64 1. Setup the user stack pointer before returning to a user trap handler. 2002-02-23 18:55:21 +00:00