/***************************************************************************/ /** **/ /** 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:45 by OpenVMS SDL V3.7 */ /* Source: 20-APR-2006 09:19:39 $1$DGA8345:[LIB_H.SRC]ICAPDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $ICAPDEF ***/ #ifndef __ICAPDEF_LOADED #define __ICAPDEF_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 /* + */ /* iCAP flags reside in ICAP$GQ_STATE */ /* */ /* - */ #define ICAP$M_ICAP 0x1 #define ICAP$M_TICAP 0x2 #define ICAP$M_GWLM 0x4 #define ICAP$M_RESERVED2 0x8 #define ICAP$M_RESERVED3 0x10 #define ICAP$M_RESERVED4 0x20 #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 _icap { #pragma __nomember_alignment __union { unsigned __int64 icap$q_quadword; __struct { unsigned icap$v_icap : 1; /* iCAP system detected */ unsigned icap$v_ticap : 1; /* Temporary capacity is being consumed */ unsigned icap$v_gwlm : 1; /* gwlm: global workload manager in use */ unsigned icap$v_reserved2 : 1; unsigned icap$v_reserved3 : 1; unsigned icap$v_reserved4 : 1; unsigned icap$v_fill_0_ : 2; } icap$r_flag_bits; } icap$r_icap_overlay; } ICAP; #if !defined(__VAXC) #define icap$q_quadword icap$r_icap_overlay.icap$q_quadword #define icap$v_icap icap$r_icap_overlay.icap$r_flag_bits.icap$v_icap #define icap$v_ticap icap$r_icap_overlay.icap$r_flag_bits.icap$v_ticap #define icap$v_gwlm icap$r_icap_overlay.icap$r_flag_bits.icap$v_gwlm #define icap$v_reserved2 icap$r_icap_overlay.icap$r_flag_bits.icap$v_reserved2 #define icap$v_reserved3 icap$r_icap_overlay.icap$r_flag_bits.icap$v_reserved3 #define icap$v_reserved4 icap$r_icap_overlay.icap$r_flag_bits.icap$v_reserved4 #endif /* #if !defined(__VAXC) */ #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 /* __ICAPDEF_LOADED */