Return to pmap.h CVS log | Up to [cvs.NetBSD.org] / src / sys / arch / i386 / include |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.50, 2000/09/28 13:17:54 | version 1.51, 2000/12/06 03:13:47 | ||
---|---|---|---|
|
|
||
{ | { | ||
pd_entry_t *pde; | pd_entry_t *pde; | ||
pde = &pmap_kernel()->pm_pdir[pdei(va)]; | pde = PDP_BASE + pdei(va); | ||
if (*pde & PG_PS) | if (*pde & PG_PS) | ||
return ((pt_entry_t *)pde); | return ((pt_entry_t *)pde); | ||
} | } |