From owner-cvs-all Thu Aug 9 21:43:35 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6E8FC37B406; Thu, 9 Aug 2001 21:43:31 -0700 (PDT) (envelope-from jake@FreeBSD.org) Received: (from jake@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7A4hVh79608; Thu, 9 Aug 2001 21:43:31 -0700 (PDT) (envelope-from jake) Message-Id: <200108100443.f7A4hVh79608@freefall.freebsd.org> From: Jake Burkholder Date: Thu, 9 Aug 2001 21:43:31 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 trap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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