00001 #ifndef pscanctxdef_h 00002 #define pscanctxdef_h 00003 00004 #define PSCANCTX_M_SUPER 0x1 00005 #define PSCANCTX_M_CSID_VEC 0x2 00006 #define PSCANCTX_M_LOCKED 0x4 00007 #define PSCANCTX_M_MULTI_NODE 0x8 00008 #define PSCANCTX_M_BUSY 0x10 00009 #define PSCANCTX_M_RELOCK 0x20 00010 #define PSCANCTX_M_THREAD 0x40 00011 #define PSCANCTX_M_NEED_THREAD_CAP 0x80 00012 #define PSCANCTX_M_SCHED_CLASS_CAP 0x100 00013 #define PSCANCTX_K_LENGTH 64 00014 #define PSCANCTX_M_THREAD_ITEM 1073741824 00015 #define PSCANCTX_V_THREAD_ITEM 30 00016 #define PSCANCTX_M_NODE_ITEM -2147483648 00017 #define PSCANCTX_V_NODE_ITEM 31 00018 #define PSCANCTX_S_$PSCANCTXDEF 64 00019 00020 #define PSCANBUF_M_SPARE0 0x1 00021 #define PSCANBUF_K_LENGTH 32 00022 #define PSCANBUF_S_$PSCANBUFDEF 32 00023 00024 #define PSCANITM_K_LENGTH 12 00025 #define PSCANITM_S_$PSCANITMDEF 13 00026 00027 struct _pscanctx { 00028 void *pscanctx_l_flink; 00029 void *pscanctx_l_blink; 00030 unsigned short int pscanctx_w_size; 00031 unsigned char pscanctx_b_type; 00032 unsigned char pscanctx_b_subtype; 00033 unsigned short int pscanctx_w_maj_vers; 00034 unsigned short int pscanctx_w_min_vers; 00035 union { 00036 unsigned int pscanctx_l_flags; 00037 struct { 00038 unsigned pscanctx_v_super : 1; 00039 unsigned pscanctx_v_csid_vec : 1; 00040 unsigned pscanctx_v_locked : 1; 00041 unsigned pscanctx_v_multi_node : 1; 00042 unsigned pscanctx_v_busy : 1; 00043 unsigned pscanctx_v_relock : 1; 00044 unsigned pscanctx_v_thread : 1; 00045 unsigned pscanctx_v_need_thread_cap : 1; 00046 unsigned pscanctx_v_sched_class_cap : 1; 00047 unsigned pscanctx_v_fill_2_ : 7; 00048 }; 00049 }; 00050 unsigned int pscanctx_l_cur_csid; 00051 unsigned int pscanctx_l_cur_ipid; 00052 unsigned int pscanctx_l_next_ipid; 00053 unsigned int pscanctx_l_cur_epid; 00054 unsigned short int pscanctx_w_itmlstoff; 00055 unsigned short int pscanctx_w_bufferoff; 00056 unsigned short int pscanctx_w_csidoff; 00057 unsigned short int pscanctx_w_csididx; 00058 unsigned int pscanctx_l_svapte; 00059 struct _cwpssrv *pscanctx_l_cwpssrv; 00060 void *pscanctx_l_jpibufadr; 00061 unsigned short int pscanctx_w_seqnum; 00062 unsigned char pscanctx_b_acmode; 00063 unsigned char pscanctx_b_spare0; 00064 unsigned int pscanctx_l_spare1; 00065 }; 00066 00067 struct _pscanbuf { 00068 unsigned int pscanbuf_l_buflen; 00069 unsigned int pscanbuf_l_spare0; 00070 unsigned short int pscanbuf_w_size; 00071 unsigned char pscanbuf_b_type; 00072 unsigned char pscanbuf_b_subtype; 00073 unsigned short int pscanbuf_w_maj_vers; 00074 unsigned short int pscanbuf_w_min_vers; 00075 union { 00076 unsigned int pscanbuf_l_flags; 00077 struct { 00078 unsigned pscanbuf_v_spare0 : 1; 00079 unsigned pscanbuf_v_fill_5_ : 7; 00080 }; 00081 }; 00082 void *pscanbuf_l_itmlstadr; 00083 unsigned int pscanbuf_l_buffer_offset; 00084 unsigned int pscanbuf_l_free_offset; 00085 }; 00086 00087 struct _pscanitm { 00088 unsigned int pscanitm_l_alloc_length; 00089 unsigned int pscanitm_l_itmlen; 00090 unsigned short int pscanitm_w_size; 00091 unsigned char pscanitm_b_type; 00092 unsigned char pscanitm_b_subtype; 00093 unsigned char pscanitm_b_itmlst; 00094 }; 00095 00096 #endif 00097 00098