Date: Fri, 16 Nov 2001 17:38:32 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> 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 Message-ID: <200111170138.fAH1cWf39920@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111170138.fAH1cWf39920>
