00001 #ifndef diobmdef_h 00002 #define diobmdef_h 00003 00004 #include <ptedef.h> 00005 00006 #define DIOBM_M_REL_DEALLOC 0x1 00007 #define DIOBM_M_PTE_WINDOW 0x2 00008 #define DIOBM_M_AUX_INUSE 0x4 00009 #define DIOBM_M_INUSE 0x8 00010 #define DIOBM_M_S0PTE_WINDOW 0x10 00011 #define DIOBM_K_HDRLEN 16 00012 #define DIOBM_K_PTECNT_FIX 9 00013 00014 #define DIOBM_K_PTECNT_MAX_UNI 94 00015 #define DIOBM_K_PTECNT_MAX_SMP 430 00016 00017 #define DIOBM_K_LENGTH 88 00018 #define DIOBM_M_NORESWAIT 1 00019 00020 struct _diobm { 00021 struct _diobm *diobm_ps_aux_diobm; 00022 unsigned int diobm_l_pte_count; 00023 unsigned short int diobm_w_size; 00024 unsigned char diobm_b_type; 00025 unsigned char diobm_b_subtype; 00026 union { 00027 unsigned int diobm_l_flags; 00028 struct { 00029 unsigned diobm_v_rel_dealloc : 1; 00030 unsigned diobm_v_pte_window : 1; 00031 unsigned diobm_v_aux_inuse : 1; 00032 unsigned diobm_v_inuse : 1; 00033 unsigned diobm_v_s0pte_window : 1; 00034 unsigned diobm_v_fill_2_ : 3; 00035 }; 00036 }; 00037 union { 00038 struct _pte diobm_q_pte_vector [9]; 00039 struct { 00040 struct _pte *diobm_pq_ptew_va_spte; 00041 void *diobm_ps_ptew_s0va; 00042 }; 00043 }; 00044 }; 00045 00046 #endif 00047 00048