fix to use only one soft intr for net thereby fixing bug in raw sockets
[unix-history] / usr / src / sys / vax / include / pte.h
index 766e419..bc3b28e 100644 (file)
@@ -1,4 +1,4 @@
-/*     pte.h   4.1     %G%     */
+/*     pte.h   4.9     81/05/14        */
 
 /*
  * 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,10 +37,12 @@ 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_M            0x04000000
 
 #define        PG_V            0x80000000
 #define        PG_PROT         0x78000000
 #define        PG_M            0x04000000
+#define        PG_FOD          0x02000000
 #define        PG_VREADM       0x00800000
 #define        PG_PFNUM        0x001fffff
 
 #define        PG_VREADM       0x00800000
 #define        PG_PFNUM        0x001fffff
 
@@ -60,6 +63,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,6 +78,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 Nexmap[][16];
+#endif
 #endif
 #endif