/**/ /***************************************************************************/ /** **/ /** © 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:09 by OpenVMS SDL EV3-3 */ /* Source: 22-FEB-2002 12:31:59 $1$DGA7274:[LIB_H.SRC]CTDDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $CTDDEF ***/ #ifndef __CTDDEF_LOADED #define __CTDDEF_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 /*+ */ /* */ /* CPU transition block definition. This block is allocated */ /* and initialized when a CPU undergoes a state transition and the final */ /* completion code is to be returned to the issuer. */ /*- */ #ifdef __cplusplus /* Define structure prototypes */ struct _tqe; #endif /* #ifdef __cplusplus */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif typedef struct _ctd { #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ struct _ctd *ctd$pq_qlink; /* Forward link to next CTD */ #else unsigned __int64 ctd$pq_qlink; #endif unsigned short int ctd$w_size; /* Structure size */ unsigned char ctd$b_type; /* Structure type */ unsigned char ctd$b_rmod; /* Duplicate of ACB RMOD */ unsigned int ctd$l_pid; /* PID of owner process */ unsigned int ctd$l_acb64x; /* Offset to ACB extension */ unsigned int ctd$l_flags; /* CTD behavioral flags */ unsigned int ctd$l_acb_flags; /* ACB64X behavioral flags */ unsigned int ctd$l_thread_pid; /* PID of initiating thread */ #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif void (*ctd$l_kast)(); /* Internal Kernel mode xfer */ unsigned int ctd$l_imgcnt; /* PHD IMGCNT value at issue */ #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ void (*ctd$pq_ast)(); /* 64-bit AST address */ #else unsigned __int64 ctd$pq_ast; #endif #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif unsigned __int64 ctd$q_astprm; /* 64-bit ASTPRM value */ #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ void *ctd$pq_iosb; /* Quadword IOSB pointer */ #else unsigned __int64 ctd$pq_iosb; #endif __int64 ctd$q_source_node; /* Node ID of source system */ __int64 ctd$q_target_node; /* Node ID of target system */ #pragma __nomember_alignment int ctd$l_primary_tran_code; /* Transition type in progress */ int ctd$l_current_tran_code; /* Transition type in progress */ unsigned int ctd$l_transition_mask; /* Bitmask of requested transitions */ int ctd$l_cpu_id; /* ID of CPU under transition */ unsigned int ctd$l_status; /* Final completion code */ unsigned int ctd$l_efn; /* Event flag to set on finish */ #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif struct _tqe *ctd$l_timeout_tqe; /* Pointer to TQE for timeout */ char ctd$b_fill_0_ [4]; #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif unsigned __int64 ctd$q_cpu_handle; /* Config tree pointer */ unsigned __int64 ctd$q_target_handle; /* Config tree pointer */ unsigned __int64 ctd$q_start_time; /* Smithsonian initiation time */ unsigned __int64 ctd$q_interim_time; /* Smithsonian completion time */ } CTD; #define CTD$K_LENGTH 144 /* Total fixed structure size */ #if defined (__ALPHA) || defined (__ia64) # ifdef __INITIAL_POINTER_SIZE # pragma __required_pointer_size __save /* Save current pointer size */ # pragma __required_pointer_size 64 /* Pointers are 64-bits */ typedef struct _ctd * CTD_PQ; /* 64-bit pointer to an CTD */ typedef struct _ctd ** CTD_PPQ; /* 64-bit pointer to a pointer to an CTD */ # pragma __required_pointer_size __restore /* Return to previous pointer size */ # else typedef unsigned __int64 CTD_PQ; /* Same size as a 64-bit pointer to an CTD */ typedef unsigned __int64 CTD_PPQ; /* Same size as a 64-bit pointer to a pointer to an CTD */ # endif #endif #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 /* __CTDDEF_LOADED */