00001 #ifndef areadef_h 00002 #define areadef_h 00003 00004 #define AREA_C_CYL 1 00005 #define AREA_C_LBN 2 00006 #define AREA_C_VBN 3 00007 #define AREA_C_RFI 4 00008 #define AREA_M_HARD 0x1 00009 #define AREA_M_ONC 0x2 00010 #define AREA_M_CBT 0x20 00011 #define AREA_M_CTG 0x80 00012 #define AREA_K_BLN 64 00013 #define AREA_C_BLN 64 00014 #define AREA_S_AREADEF 64 00015 00016 struct _prologue_area { 00017 char area_$_fill_1; 00018 unsigned char area_b_flags; 00019 unsigned char area_b_areaid; 00020 unsigned char area_b_arbktsz; 00021 unsigned short int area_w_volume; 00022 unsigned char area_b_aln; 00023 union { 00024 unsigned char area_b_aop; 00025 #if 0 00026 // offset probs 00027 struct { 00028 unsigned area_v_hard : 1; 00029 unsigned area_v_onc : 1; 00030 unsigned area_$_fill_2 : 3; 00031 unsigned area_v_cbt : 1; 00032 unsigned area_$_fill_3 : 1; 00033 unsigned area_v_ctg : 1; 00034 }; 00035 #endif 00036 }; 00037 unsigned int area_l_avail; 00038 unsigned int area_l_cvbn; 00039 unsigned int area_l_cnblk; 00040 unsigned int area_l_used; 00041 unsigned int area_l_nxtvbn; 00042 unsigned int area_l_nxt; 00043 unsigned int area_l_nxblk; 00044 unsigned short int area_w_deq; 00045 char area_$_fill_4 [2]; 00046 unsigned int area_l_loc; 00047 unsigned short int area_w_rfi [3]; 00048 unsigned int area_l_total_alloc; 00049 char area_$_fill_5 [8]; 00050 unsigned short int area_w_check; 00051 }; 00052 00053 #endif 00054 00055