00001 #ifndef mpwdef_h 00002 #define mpwdef_h 00003 00004 #define MPW_C_MAINTAIN 1 00005 #define MPW_C_SVAPTE 2 00006 #define MPW_C_OPCCRASH 3 00007 #define MPW_C_PAGE_TABLE 4 00008 #define MPW_C_IDLE 0 00009 #define MPW_C_MAINT_STATE 1 00010 #define MPW_C_SELECTIVE 2 00011 #define MPW_C_CRASH_STATE 3 00012 #define MPW_C_MAXSTATE 4 00013 #define MPW_C_DPTSCAN 0 00014 #define MPW_C_DGBLSC 1 00015 #define MPW_C_RELPHD 2 00016 #define MPW_C_FREELIM 3 00017 #define MPW_C_MPWCHECK 4 00018 #define MPW_C_CRASH 5 00019 #define MPW_C_MAXID 6 00020 #define MPW_M_RCODE 0xFF 00021 #define MPW_M_RMODIFIERS 0xFF00 00022 #define MPW_M_RESERVED 0xFF0000 00023 #define MPW_M_IDCODE 0xFF000000 00024 #define MPW_M_LOLIMIT 0x100 00025 #define MPW_S_MPWDEF 4 00026 00027 struct _mpw { 00028 union { 00029 struct { 00030 unsigned mpw_v_rcode : 8; 00031 unsigned mpw_v_rmodifiers : 8; 00032 unsigned mpw_v_reserved : 8; 00033 unsigned mpw_v_idcode : 8; 00034 }; 00035 struct { 00036 unsigned mpw_v_rcode_fill : 8; 00037 unsigned mpw_v_lolimit : 1; 00038 unsigned mpw_v_fill_0_ : 7; 00039 }; 00040 }; 00041 }; 00042 00043 #endif 00044 00045