From owner-cvs-all@FreeBSD.ORG Wed Feb 4 05:10:28 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED5B616A5AD; Wed, 4 Feb 2004 05:10:28 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABA4D43D2F; Wed, 4 Feb 2004 05:10:26 -0800 (PST) (envelope-from grehan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i14DAQ0B037877; Wed, 4 Feb 2004 05:10:26 -0800 (PST) (envelope-from grehan@repoman.freebsd.org) Received: (from grehan@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i14DAQD9037875; Wed, 4 Feb 2004 05:10:26 -0800 (PST) (envelope-from grehan) Message-Id: <200402041310.i14DAQD9037875@repoman.freebsd.org> From: Peter Grehan Date: Wed, 4 Feb 2004 05:10:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/powerpc/powerpc trap_subr.S X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 13:10:29 -0000 grehan 2004/02/04 05:10:26 PST FreeBSD src repository Modified files: sys/powerpc/powerpc trap_subr.S Log: Major overhaul of common trap code - remove unused 601 and tlb exception code - remove interrupt-time PTE spill code. The pmap code will now take care of pinning kernel PTEs, and there are no longer issues about physical mapping of PTE data structures - All segment registers are switched on kernel entry/exit, allowing the kernel to have more virtual space and for user virtual space to extend to 4G. - The temporary register save area has been shifted from unused exception vector space to the per-cpu data area. This allows interrupts to be delivered to multiple CPUs - ISI traps no longer spill to BAT tables. It is assumed that all of kernel instruction memory is pinned. - shift from 'ldmw/stmw' instructions to individual register loads/stores when saving context. All PPC manuals indicate this should be much faster. - use '%r' for register names throughout. TODO: need to test if DSI traps were the result of kernel stack guard-page hits. Reworked from: NetBSD Revision Changes Path 1.10 +359 -812 src/sys/powerpc/powerpc/trap_subr.S