Date: Thu, 9 Aug 2001 21:43:31 -0700 (PDT) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 trap.c Message-ID: <200108100443.f7A4hVh79608@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2001/08/09 21:43:31 PDT
Modified files:
sys/sparc64/sparc64 trap.c
Log:
Use the macro for getting the trap type from the trapframe.
Only set sticks (and acquire sched_lock) on entry from user mode.
Add handlers for all kinds of mmu misses, and for interrupts from
user mode.
Acquire Giant before calling into the vm system so this runs with
invariants.
Try to get the restrictions for page faults on user memory from
kernel mode right.
Only set pcb_onfault and return to the alternate return code if
this is actually a fault on user memory from kernel mode.
Revision Changes Path
1.6 +69 -26 src/sys/sparc64/sparc64/trap.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108100443.f7A4hVh79608>
