DragonFly commits List (threaded) for 2003-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/i386/i386 machdep.c mp_machdep.c pmap.c vm86.c src/sys/i386/include pmap.h types.h vm86.h src/sys/pc98/i386 machdep.c
dillon 2003/11/03 14:50:17 PST
DragonFly src repository
Modified files:
sys/i386/i386 machdep.c mp_machdep.c pmap.c vm86.c
sys/i386/include pmap.h types.h vm86.h
sys/pc98/i386 machdep.c
Log:
Fix the pt_entry_t and pd_entry_t types. They were previously pointers to
integers which is completely bogus. What they really represent are page
table entries so define them as __uint32_t. Also add a vtophys_pte()
macro to distinguish between physical addresses (vm_paddr_t) and
physical addresses represented in PTE form (pt_entry_t). vm_paddr_t can
be 64 bits even on IA32 boxes without PAE which use 32 bit PTE's.
Taken loosely from: FreeBSD-4.x
Revision Changes Path
1.42 +7 -11 src/sys/i386/i386/machdep.c
1.18 +2 -2 src/sys/i386/i386/mp_machdep.c
1.24 +6 -5 src/sys/i386/i386/pmap.c
1.9 +5 -4 src/sys/i386/i386/vm86.c
1.6 +5 -8 src/sys/i386/include/pmap.h
1.7 +8 -2 src/sys/i386/include/types.h
1.4 +1 -1 src/sys/i386/include/vm86.h
1.13 +8 -12 src/sys/pc98/i386/machdep.c
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/machdep.c.diff?r1=1.41&r2=1.42&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/mp_machdep.c.diff?r1=1.17&r2=1.18&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/pmap.c.diff?r1=1.23&r2=1.24&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/vm86.c.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/include/pmap.h.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/include/types.h.diff?r1=1.6&r2=1.7&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/include/vm86.h.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/pc98/i386/machdep.c.diff?r1=1.12&r2=1.13&f=h
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]