diff options
Diffstat (limited to 'sys/arch/vax/include/pte.h')
-rw-r--r-- | sys/arch/vax/include/pte.h | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/sys/arch/vax/include/pte.h b/sys/arch/vax/include/pte.h index 3eaefb468dc..3a746725810 100644 --- a/sys/arch/vax/include/pte.h +++ b/sys/arch/vax/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.7 2001/08/12 12:03:03 heko Exp $ */ +/* $OpenBSD: pte.h,v 1.8 2003/11/06 22:54:29 miod Exp $ */ /* $NetBSD: pte.h,v 1.13 1999/08/03 19:53:23 ragge Exp $ */ /* @@ -40,13 +40,12 @@ */ struct pte { unsigned int pg_pfn:21; /* Page Frame Number or 0 */ - unsigned int pg_u:1; /* Uniform bit, does WHAT?? XXX */ - unsigned int pg_w:1; /* Wired bit */ + unsigned int pg_illegal:2; /* Don't use these bits */ unsigned int pg_sref:1; /* Help for ref simulation */ - unsigned int pg_ref:1; /* Simulated reference bit */ + unsigned int pg_w:1; /* Wired bit */ unsigned int pg_z:1; /* Zero DIGITAL = 0 */ - unsigned int pg_m:1; /* Modify DIGITAL */ - unsigned int pg_prot:4; /* reserved at zero */ + unsigned int pg_m:1; /* Modify DIGITAL */ + unsigned int pg_prot:4; /* reserved at zero */ unsigned int pg_v:1; /* valid bit */ }; @@ -57,21 +56,20 @@ typedef struct pte pt_entry_t; /* Mach page table entry */ #define PT_ENTRY_NULL ((pt_entry_t *) 0) -#define PG_V 0x80000000 -#define PG_NV 0x00000000 -#define PG_PROT 0x78000000 -#define PG_RW 0x20000000 -#define PG_KW 0x10000000 -#define PG_KR 0x18000000 +#define PG_V 0x80000000 +#define PG_NV 0x00000000 +#define PG_PROT 0x78000000 +#define PG_RW 0x20000000 +#define PG_KW 0x10000000 +#define PG_KR 0x18000000 #define PG_URKW 0x70000000 -#define PG_RO 0x78000000 -#define PG_NONE 0x00000000 -#define PG_M 0x04000000 -#define PG_REF 0x01000000 -#define PG_SREF 0x00800000 -#define PG_W 0x00400000 -#define PG_U 0x00200000 -#define PG_FRAME 0x001fffff +#define PG_RO 0x78000000 +#define PG_NONE 0x00000000 +#define PG_M 0x04000000 +#define PG_W 0x01000000 +#define PG_SREF 0x00800000 +#define PG_ILLEGAL 0x00600000 +#define PG_FRAME 0x001fffff #define PG_PFNUM(x) (((unsigned long)(x) & 0x3ffffe00) >> VAX_PGSHIFT) #ifndef _LOCORE |