00001 #ifndef eisddef_h 00002 #define eisddef_h 00003 00004 #define EISD_K_MAJORID 1 00005 #define EISD_K_MINORID 1 00006 #define EISD_M_GBL 0x1 00007 #define EISD_M_CRF 0x2 00008 #define EISD_M_DZRO 0x4 00009 #define EISD_M_WRT 0x8 00010 #define EISD_M_INITALCODE 0x10 00011 #define EISD_M_BASED 0x20 00012 #define EISD_M_FIXUPVEC 0x40 00013 #define EISD_M_RESIDENT 0x80 00014 #define EISD_M_VECTOR 0x100 00015 #define EISD_M_PROTECT 0x200 00016 #define EISD_M_LASTCLU 0x400 00017 #define EISD_M_EXE 0x800 00018 #define EISD_M_NONSHRADR 0x1000 00019 #define EISD_M_QUAD_LENGTH 0x2000 00020 #define EISD_M_ALLOC_64BIT 0x4000 00021 #define EISD_K_LENDZRO 36 00022 #define EISD_C_LENDZRO 36 00023 #define EISD_K_LENPRIV 36 00024 #define EISD_C_LENPRIV 36 00025 #define EISD_K_LENGLBL 56 00026 #define EISD_C_LENGLBL 56 00027 #define EISD_K_MAXLENGLBL 84 00028 #define EISD_C_MAXLENGLBL 84 00029 00030 #define EISD_K_MATALL 0 00031 #define EISD_K_MATEQU 1 00032 #define EISD_K_MATLEQ 2 00033 #define EISD_K_MATNEV 3 00034 00035 #define EISD_K_NORMAL 0 00036 00037 #define EISD_K_SHRFXD 1 00038 #define EISD_K_PRVFXD 2 00039 #define EISD_K_SHRPIC 3 00040 #define EISD_K_PRVPIC 4 00041 #define EISD_K_USRSTACK 253 00042 #define EISD_S_EISDDEF 84 00043 00044 struct _eisd { 00045 struct { 00046 unsigned int eisd_l_majorid; 00047 unsigned int eisd_l_minorid; 00048 }; 00049 unsigned int eisd_l_eisdsize; 00050 unsigned int eisd_l_secsize; 00051 union { 00052 unsigned long long eisd_q_virt_addr; 00053 void *eisd_l_virt_addr; 00054 struct { 00055 unsigned eisd_v_vaddr : 30; 00056 unsigned eisd_v_p1 : 1; 00057 unsigned eisd_v_system : 1; 00058 }; 00059 }; 00060 union { 00061 unsigned int eisd_l_flags; 00062 struct { 00063 unsigned eisd_v_gbl : 1; 00064 unsigned eisd_v_crf : 1; 00065 unsigned eisd_v_dzro : 1; 00066 unsigned eisd_v_wrt : 1; 00067 unsigned eisd_v_initalcode : 1; 00068 unsigned eisd_v_based : 1; 00069 unsigned eisd_v_fixupvec : 1; 00070 unsigned eisd_v_resident : 1; 00071 unsigned eisd_v_vector : 1; 00072 unsigned eisd_v_protect : 1; 00073 unsigned eisd_v_lastclu : 1; 00074 unsigned eisd_v_exe : 1; 00075 unsigned eisd_v_nonshradr : 1; 00076 unsigned eisd_v_quad_length : 1; 00077 unsigned eisd_v_alloc_64bit : 1; 00078 unsigned eisd_v_fill_0_ : 1; 00079 }; 00080 }; 00081 unsigned int eisd_l_vbn; 00082 struct { 00083 unsigned char eisd_b_pfc; 00084 unsigned char eisd_b_matchctl; 00085 unsigned char eisd_b_type; 00086 unsigned char eisd_b_fill_1; 00087 }; 00088 unsigned int eisd_l_ident; 00089 union { 00090 char eisd_t_gblnam [44]; 00091 unsigned long long eisd_q_secsize; 00092 }; 00093 }; 00094 00095 #endif 00096 00097