/**/ /***************************************************************************/ /** **/ /** © 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:26:38 by OpenVMS SDL EV3-3 */ /* Source: 09-FEB-2006 04:43:44 $1$DGA7274:[LIB_H.SRC]CALDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $CALDEF ***/ #ifndef __CALDEF_LOADED #define __CALDEF_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 /* */ /* CAL - Calibration information */ /* */ #define CAL$K_LENGTH 96 /* Structure size */ #define CAL$C_LENGTH 96 /* Structure size */ #ifdef __cplusplus /* Define structure prototypes */ struct _spl; struct _cache_line; #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 _cal { #pragma __nomember_alignment unsigned __int64 cal$q_last_calibration; /* timestamp of last calibration */ unsigned short int cal$w_mbo; /* must-be-one field */ unsigned char cal$b_type; /* Structure type (DYN$C_CAL) */ unsigned char cal$b_subtype; /* Structure subtype */ __union { unsigned int cal$l_flags; /* flags */ __struct { unsigned cal$v_ip : 1; /* calibration in-progress */ unsigned cal$v_fill_0_ : 7; } cal$r_flag_bits; } cal$r_flags_overlay; #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif __int64 cal$q_size; /* total size in bytes */ #pragma __nomember_alignment unsigned int cal$l_max_cpus; /* maximum number of CPUs */ unsigned int cal$l_pages; /* total size in pages */ struct _spl *cal$l_spinlock; /* pointer to dynamic spinlock structure */ char cal$b_fill_1_ [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 cal$q_count; /* count number of calibrations */ #pragma __nomember_alignment unsigned __int64 cal$q_divisor; /* divisor for timestamp conversion */ #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 _cache_line *cal$q_scc_ref; /* pointer to array of cache lines */ #else unsigned __int64 cal$q_scc_ref; #endif #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ __int64 *cal$q_scc; /* pointer to array of cycle counts per possible CPU */ #else unsigned __int64 cal$q_scc; #endif #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ __int64 *cal$q_systime; /* pointer to array of systime info per possible CPU */ #else unsigned __int64 cal$q_systime; #endif unsigned __int64 cal$q_reserved1; unsigned __int64 cal$q_reserved2; } CAL; #if !defined(__VAXC) #define cal$l_flags cal$r_flags_overlay.cal$l_flags #define cal$v_ip cal$r_flags_overlay.cal$r_flag_bits.cal$v_ip #endif /* #if !defined(__VAXC) */ #pragma __required_pointer_size __save /* Save current pointer size */ #pragma __required_pointer_size __long /* Pointers are 64-bit */ typedef struct _cal * CAL_PQ; /* Pointer to a CAL structure. */ #pragma __required_pointer_size __restore /* Return to previous pointer size */ #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 /* __CALDEF_LOADED */