cvs commit: src/sys/ia64/ia64 pmap.c
Marcel Moolenaar
marcel at FreeBSD.org
Sat Sep 3 12:43:16 PDT 2005
marcel 2005-09-03 19:43:15 UTC
FreeBSD src repository
Modified files:
sys/ia64/ia64 pmap.c
Log:
Fix collision chain termination checks. The result of IA64_PHYS_TO_RR7
is never 0, so one cannot test for a NULL pointer after a physical
address is translated into a virtual pointer with said macro. Instead,
keep the physical address around and test it against 0. Note that
this obviously implies that a PTE can never be allocated at physical
address 0. This isn't exactly guaranteed, but hasn't been a problem
so far. We test the physical address against 0 for as long as the ia64
port exists...
Revision Changes Path
1.164 +17 -15 src/sys/ia64/ia64/pmap.c
More information about the cvs-src
mailing list