00001 #ifndef idbdef_h 00002 #define idbdef_h 00003 00004 #define IDB_M_CRAM_ALLOC 0x1 00005 #define IDB_M_VLE 0x2 00006 #define IDB_M_NORESIZE 0x4 00007 #define IDB_M_MCJ 0x8 00008 #define IDB_M_SHARED_INT 0x10 00009 #define IDB_M_DISTRIBUTED_INT 0x20 00010 #define IDB_M_ISR_CALLABLE 0x40 00011 #define IDB_K_BASE_LENGTH 56 00012 #define IDB_C_BASE_LENGTH 56 00013 00014 #define IDB_K_LENGTH 88 00015 #define IDB_C_LENGTH 88 00016 #define IDB_S_IDBDEF 88 00017 00018 struct _idb { 00019 unsigned long long idb_q_csr; 00020 unsigned short int idb_w_size; 00021 unsigned char idb_b_type; 00022 char idb_b_spare; 00023 unsigned short int idb_w_units; 00024 unsigned short int idb_w_tt_enable; 00025 struct _ucb *idb_ps_owner; 00026 struct _cram *idb_ps_cram; 00027 struct _spl *idb_ps_spl; 00028 struct _adp *idb_ps_adp; 00029 union { 00030 unsigned int idb_l_flags; 00031 struct { 00032 unsigned idb_v_cram_alloc : 1; 00033 unsigned idb_v_vle : 1; 00034 unsigned idb_v_noresize : 1; 00035 unsigned idb_v_mcj : 1; 00036 unsigned idb_v_shared_int : 1; 00037 unsigned idb_v_distributed_int : 1; 00038 unsigned idb_v_isr_callable : 1; 00039 unsigned idb_v_fill_0_ : 1; 00040 }; 00041 }; 00042 unsigned int idb_l_device_specific; 00043 int idb_l_vector; 00044 void *idb_ps_auxstruc; 00045 unsigned int idb_l_interrupt_cpu; 00046 unsigned int idb_l_reserved; 00047 struct _ucb *idb_l_ucblst [8]; 00048 }; 00049 00050 #endif 00051 00052