/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:27:02 by OpenVMS SDL EV3-3 */ /* Source: 24-AUG-1999 10:10:05 $1$DGA7274:[LIB_H.SRC]PSCANCTXDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $PSCANCTXDEF ***/ #ifndef __PSCANCTXDEF_LOADED #define __PSCANCTXDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /* */ /* The PSCANCTX$ structure is exchanged with remote nodes. Any updates to this */ /* structure must take mixed-version operation into account. */ /* */ #define PSCANCTX$M_SUPER 0x1 #define PSCANCTX$M_CSID_VEC 0x2 #define PSCANCTX$M_LOCKED 0x4 #define PSCANCTX$M_MULTI_NODE 0x8 #define PSCANCTX$M_BUSY 0x10 #define PSCANCTX$M_RELOCK 0x20 #define PSCANCTX$M_THREAD 0x40 #define PSCANCTX$M_NEED_THREAD_CAP 0x80 #define PSCANCTX$M_SCHED_CLASS_CAP 0x100 #define PSCANCTX$K_LENGTH 64 /* length of data structure */ #define PSCANCTX$M_THREAD_ITEM 1073741824 /* item code references a node */ #define PSCANCTX$V_THREAD_ITEM 30 /* item code references a node */ #define PSCANCTX$M_NODE_ITEM -2147483648 /* item code references a node */ #define PSCANCTX$V_NODE_ITEM 31 /* item code references a node */ #define PSCANCTX$S_$PSCANCTXDEF 64 /* Old size name - synonym */ #ifdef __cplusplus /* Define structure prototypes */ struct _cwpssrv; #endif /* #ifdef __cplusplus */ typedef struct _pscanctx { void *pscanctx$l_flink; /* forward link */ void *pscanctx$l_blink; /* back link */ unsigned short int pscanctx$w_size; /* size of structure */ unsigned char pscanctx$b_type; /* structure type code */ unsigned char pscanctx$b_subtype; /* structure subtype */ unsigned short int pscanctx$w_maj_vers; /* incompatible level */ unsigned short int pscanctx$w_min_vers; /* upwards-compatible level */ __union { unsigned int pscanctx$l_flags; __struct { unsigned pscanctx$v_super : 1; /* allocated from supervisor mode */ unsigned pscanctx$v_csid_vec : 1; /* csid vector is present */ unsigned pscanctx$v_locked : 1; /* cell is locked in memory */ unsigned pscanctx$v_multi_node : 1; /* scan is for more than one node */ unsigned pscanctx$v_busy : 1; /* scan in progress on this block */ unsigned pscanctx$v_relock : 1; /* ignore BUSY flag, allow a "lock" */ unsigned pscanctx$v_thread : 1; /* PSCAN$M_THREAD specified - include threads */ unsigned pscanctx$v_need_thread_cap : 1; /* remote node needs kernel thread support */ unsigned pscanctx$v_sched_class_cap : 1; /* remote node needs class scheduling support */ unsigned pscanctx$v_fill_2_ : 7; } pscanctx$r_fill_1_; } pscanctx$r_fill_0_; unsigned int pscanctx$l_cur_csid; /* CSID for scan in progress */ unsigned int pscanctx$l_cur_ipid; /* initial IPID for scan in progress */ unsigned int pscanctx$l_next_ipid; /* updated IPID for scan in progress */ unsigned int pscanctx$l_cur_epid; /* EPID for scan in progress */ unsigned short int pscanctx$w_itmlstoff; /* offset to item list */ unsigned short int pscanctx$w_bufferoff; /* offset to buffer area */ unsigned short int pscanctx$w_csidoff; /* offset to csid vector */ unsigned short int pscanctx$w_csididx; /* index of current csid */ unsigned int pscanctx$l_svapte; /* sva of pte for this block */ struct _cwpssrv *pscanctx$l_cwpssrv; /* address of CWPSSRV structure */ void *pscanctx$l_jpibufadr; /* address of $GETJPI buffer */ unsigned short int pscanctx$w_seqnum; /* sequence number */ unsigned char pscanctx$b_acmode; /* access mode of original call */ unsigned char pscanctx$b_spare0; /* just a little extra */ unsigned int pscanctx$l_spare1; /* just a little extra */ } PSCANCTX; #if !defined(__VAXC) #define pscanctx$l_flags pscanctx$r_fill_0_.pscanctx$l_flags #define pscanctx$v_super pscanctx$r_fill_0_.pscanctx$r_fill_1_.pscanctx$v_super #define pscanctx$v_csid_vec pscanctx$r_fill_0_.pscanctx$r_fill_1_.pscanctx$v_csid_vec #define pscanctx$v_locked pscanctx$r_fill_0_.pscanctx$r_fill_1_.pscanctx$v_locked #define pscanctx$v_multi_node pscanctx$r_fill_0_.pscanctx$r_fill_1_.pscanctx$v_multi_node #define pscanctx$v_busy pscanctx$r_fill_0_.pscanctx$r_fill_1_.pscanctx$v_busy #define pscanctx$v_relock pscanctx$r_fill_0_.pscanctx$r_fill_1_.pscanctx$v_relock #define pscanctx$v_thread pscanctx$r_fill_0_.pscanctx$r_fill_1_.pscanctx$v_thread #define pscanctx$v_need_thread_cap pscanctx$r_fill_0_.pscanctx$r_fill_1_.pscanctx$v_need_thread_cap #define pscanctx$v_sched_class_cap pscanctx$r_fill_0_.pscanctx$r_fill_1_.pscanctx$v_sched_class_cap #endif /* #if !defined(__VAXC) */ /* */ /* The PSCANBUF$ structure is exchanged with remote nodes. Any updates to this */ /* structure must take mixed-version operation into account. */ /* */ #define PSCANBUF$M_SPARE0 0x1 #define PSCANBUF$K_LENGTH 32 /* length of data structure */ #define PSCANBUF$S_$PSCANBUFDEF 32 /* Old size name - synonym */ typedef struct _pscanbuf { unsigned int pscanbuf$l_buflen; /* length of data area */ unsigned int pscanbuf$l_spare0; /* spare0 */ unsigned short int pscanbuf$w_size; /* size of structure */ unsigned char pscanbuf$b_type; /* structure type code */ unsigned char pscanbuf$b_subtype; /* structure subtype */ unsigned short int pscanbuf$w_maj_vers; /* incompatible level */ unsigned short int pscanbuf$w_min_vers; /* upwards-compatible level */ __union { unsigned int pscanbuf$l_flags; __struct { unsigned pscanbuf$v_spare0 : 1; /* filler */ unsigned pscanbuf$v_fill_5_ : 7; } pscanbuf$r_fill_4_; } pscanbuf$r_fill_3_; void *pscanbuf$l_itmlstadr; /* address of copy of JPI item list */ unsigned int pscanbuf$l_buffer_offset; /* offset to start of buffer */ unsigned int pscanbuf$l_free_offset; /* offset to next free byte */ } PSCANBUF; #if !defined(__VAXC) #define pscanbuf$l_flags pscanbuf$r_fill_3_.pscanbuf$l_flags #define pscanbuf$v_spare0 pscanbuf$r_fill_3_.pscanbuf$r_fill_4_.pscanbuf$v_spare0 #endif /* #if !defined(__VAXC) */ /* */ /* The PSCANITM$ structure is a local structure. If modified, you do not need */ /* to take mixed-version operation into account, however you must be sure that */ /* all modules and images which reference the structure are updated together. */ /* */ #define PSCANITM$K_LENGTH 12 /* length of data structure */ #define PSCANITM$S_$PSCANITMDEF 13 /* Old size name - synonym */ typedef struct _pscanitm { unsigned int pscanitm$l_alloc_length; /* allocated length */ unsigned int pscanitm$l_itmlen; /* length of item list */ unsigned short int pscanitm$w_size; /* size of header */ unsigned char pscanitm$b_type; /* structure type code */ unsigned char pscanitm$b_subtype; /* structure subtype */ unsigned char pscanitm$b_itmlst; /* start of the item list */ } PSCANITM; #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __PSCANCTXDEF_LOADED */