[BACK]Return to pmap.h CVS log [TXT][DIR] 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.

Diff for /src/sys/arch/i386/include/pmap.h between version 1.50 and 1.51

version 1.50, 2000/09/28 13:17:54 version 1.51, 2000/12/06 03:13:47
Line 513  kvtopte(vaddr_t va)
Line 513  kvtopte(vaddr_t va)
         {          {
                 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);
         }          }

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

CVSweb <webmaster@jp.NetBSD.org>