lint
[unix-history] / usr / src / sys / vax / include / pte.h
index f454bff..05d1254 100644 (file)
@@ -1,4 +1,4 @@
-/*     pte.h   4.3     %G%     */
+/*     pte.h   4.8     81/03/09        */
 
 /*
  * VAX page table entry
 
 /*
  * VAX page table entry
@@ -10,6 +10,7 @@
  * structure used in page clustering.
  */
 
  * structure used in page clustering.
  */
 
+#ifndef LOCORE
 struct pte
 {
 unsigned int   pg_pfnum:21,            /* core page frame number or 0 */
 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;
 };
                pg_prot:4,
                pg_v:1;
 };
+#endif
 
 #define        PG_V            0x80000000
 #define        PG_PROT         0x78000000
 
 #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))
 
 #define        dirty(pte)      ((pte)->pg_fod == 0 && (pte)->pg_pfnum && \
                            ((pte)->pg_m || (pte)->pg_swapm))
 
+#ifndef LOCORE
 #ifdef KERNEL
 struct pte *vtopte();
 
 #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 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 msgbufmap[];
 extern struct pte camap[];
+extern struct pte Nexmap[][16];
+#endif
 #endif
 #endif