00001 #ifndef boddef_h 00002 #define boddef_h 00003 00004 #define BOD_M_DELPEN 0x1 00005 #define BOD_M_NOQUOTA 0x2 00006 #define BOD_M_S2_WINDOW 0x4 00007 #define BOD_M_NOSVA 0x8 00008 #define BOD_M_SYSBUFOBJ 0x10 00009 00010 #define BOD_K_LENGTH 64 00011 #define BOD_C_LENGTH 64 00012 #define BOD_S_BODDEF 64 00013 00014 struct _bod { 00015 struct _bod *bod_l_flink; 00016 struct _bod *bod_l_blink; 00017 unsigned short int bod_w_size; 00018 unsigned char bod_b_type; 00019 unsigned char bod_b_align_1; 00020 unsigned int bod_l_acmode; 00021 unsigned int bod_l_seqnum; 00022 unsigned int bod_l_refcnt; 00023 union { 00024 unsigned int bod_l_flags; 00025 struct { 00026 unsigned bod_v_delpen : 1; 00027 unsigned bod_v_noquota : 1; 00028 unsigned bod_v_s2_window : 1; 00029 unsigned bod_v_nosva : 1; 00030 unsigned bod_v_sysbufobj : 1; 00031 unsigned bod_v_fill_0_ : 3; 00032 }; 00033 }; 00034 unsigned int bod_l_pid; 00035 void *bod_pq_basepva; 00036 union { 00037 void *bod_pq_basesva; 00038 void *bod_l_basesva; 00039 }; 00040 union { 00041 struct _pte *bod_pq_va_pte; 00042 struct _pte *bod_ps_svapte; 00043 }; 00044 unsigned int bod_l_pagcnt; 00045 char bod_b_fill_1_ [4]; 00046 }; 00047 00048 #endif 00049 00050