/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:06:52 by OpenVMS SDL V3.7 */ /* Source: 09-JUN-2017 14:54:38 $1$DGA8345:[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 */ #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 #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 */