X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/b7c71f19748675359cb8264e5779d2c035dc4743..a0eab615b76b09f71f1a714eb885a0eb62841bd4:/usr/src/sys/vax/include/pte.h diff --git a/usr/src/sys/vax/include/pte.h b/usr/src/sys/vax/include/pte.h index f454bff6b3..05d12541e2 100644 --- a/usr/src/sys/vax/include/pte.h +++ b/usr/src/sys/vax/include/pte.h @@ -1,4 +1,4 @@ -/* pte.h 4.3 %G% */ +/* pte.h 4.8 81/03/09 */ /* * VAX page table entry @@ -10,6 +10,7 @@ * structure used in page clustering. */ +#ifndef LOCORE struct pte { unsigned int pg_pfnum:21, /* core page frame number or 0 */ @@ -36,6 +37,7 @@ unsigned int pg_blkno:20, /* file system block number */ pg_prot:4, pg_v:1; }; +#endif #define PG_V 0x80000000 #define PG_PROT 0x78000000 @@ -60,6 +62,7 @@ unsigned int pg_blkno:20, /* file system block number */ #define dirty(pte) ((pte)->pg_fod == 0 && (pte)->pg_pfnum && \ ((pte)->pg_m || (pte)->pg_swapm)) +#ifndef LOCORE #ifdef KERNEL struct pte *vtopte(); @@ -74,8 +77,8 @@ extern struct pte Xswap2map[]; extern struct pte Pushmap[]; extern struct pte Vfmap[]; extern struct pte mmap[]; -extern struct pte mcrmap[]; -extern struct pte bufmap[]; extern struct pte msgbufmap[]; extern struct pte camap[]; +extern struct pte Nexmap[][16]; +#endif #endif