From owner-cvs-all Fri Nov 16 17:38: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 E8BEE37B416; Fri, 16 Nov 2001 17:38:32 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fAH1cWf39920; Fri, 16 Nov 2001 17:38:32 -0800 (PST) (envelope-from peter) Message-Id: <200111170138.fAH1cWf39920@freefall.freebsd.org> From: Peter Wemm Date: Fri, 16 Nov 2001 17:38:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 machdep.c pmap.c vm86.c src/sys/i386/include pmap.h 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 peter 2001/11/16 17:38:32 PST Modified files: sys/i386/i386 machdep.c pmap.c vm86.c sys/i386/include pmap.h Log: Start bringing i386/pmap.c into line with cleanups that were done to alpha pmap. In particular - - pd_entry_t and pt_entry_t are now u_int32_t instead of a pointer. This is to enable cleaner PAE and x86-64 support down the track sor that we can change the pd_entry_t/pt_entry_t types to 64 bit entities. - Terminate "unsigned *ptep, pte" with extreme prejudice and use the correct pt_entry_t/pd_entry_t types. - Various other cosmetic changes to match cleanups elsewhere. - This eliminates a boatload of casts. - use VM_MAXUSER_ADDRESS in place of UPT_MIN_ADDRESS in a couple of places where we're testing user address space limits. Assuming the page tables start directly after the end of user space is not a safe assumption. There is still more to go. Revision Changes Path 1.483 +6 -6 src/sys/i386/i386/machdep.c 1.296 +181 -247 src/sys/i386/i386/pmap.c 1.43 +2 -2 src/sys/i386/i386/vm86.c 1.72 +6 -5 src/sys/i386/include/pmap.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message