00001 #ifndef wsldef_h 00002 #define wsldef_h 00003 00004 #define WSL_M_VALID 0x1 00005 #define WSL_M_PAGTYP 0xE 00006 #define WSL_M_PFNLOCK 0x10 00007 #define WSL_M_WSLOCK 0x20 00008 #define WSL_M_GOODPAGE 0x40 00009 #define WSL_M_MODIFY 0x100 00010 #define WSL_C_LENGTH 8 00011 00012 #define WSL_C_PROCESS 0 00013 #define WSL_C_SYSTEM 2 00014 #define WSL_C_GLOBAL 4 00015 #define WSL_C_GBLWRT 6 00016 #define WSL_C_PPGTBL 8 00017 #define WSL_C_GPGTBL 10 00018 #define WSL_C_RESERVED 12 00019 #define WSL_C_UNKNOWN 14 00020 #define WSL_S_WSLDEF 8 00021 #define WSL_C_SHIFT_SIZE 3 00022 00023 struct _wsl { 00024 union { 00025 void *wsl_pq_va; 00026 struct { 00027 unsigned wsl_v_valid : 1; 00028 unsigned wsl_v_pagtyp : 3; 00029 unsigned wsl_v_pfnlock : 1; 00030 unsigned wsl_v_wslock : 1; 00031 unsigned wsl_v_goodpage : 1; 00032 unsigned wsldef_$_fill : 1; 00033 unsigned wsl_v_modify : 1; 00034 unsigned wsl_v_fillme : 7; 00035 }; 00036 }; 00037 }; 00038 00039 #endif 00040 00041