/**/ /***************************************************************************/ /** **/ /** © 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:34 by OpenVMS SDL EV3-3 */ /* Source: 12-MAY-2006 21:23:30 $1$DGA7274:[LIB_H.SRC]BUGLOGDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $BUGLOGDEF ***/ #ifndef __BUGLOGDEF_LOADED #define __BUGLOGDEF_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 /*+ */ /* BUGLOG - BUGcheck LOG buffer */ /* */ /* A BUGLOG buffer is a per-CPU data area that may contain */ /* additional information for use in analyzing a crash dump. */ /*- */ #define BUGLOG$M_DATA_PRESENT 0x1 #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 _buglog { #pragma __nomember_alignment __int64 buglog$q_timestamp; /* System time when SYS$GET_BUGLOG was called to reserve this structure */ unsigned short int buglog$w_size; /* Size of entire BUGLOG structure in bytes */ unsigned char buglog$b_type; /* Structure type (DYN$C_MISC) */ unsigned char buglog$b_subtype; /* Structure subtype (DYN$C_BUGLOG) */ __union { unsigned short int buglog$w_flags; /* BUGLOG flags */ __struct { unsigned buglog$v_data_present : 1; /* Buffer has been reserved for use, data should be present */ unsigned buglog$v_fill_0_ : 7; } buglog$r_flags_bits; } buglog$r_flags_overlay; unsigned short int buglog$w_data_len; /* Number of bytes starting at DATASTART that caller may use */ unsigned __int64 buglog$q_caller_pc; /* Caller's return address */ unsigned __int64 buglog$q_saved_r0; /* Caller's R0 */ unsigned __int64 buglog$q_saved_r1; /* Caller's R1 */ unsigned __int64 buglog$q_reserved; /* Reserved */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif __union { #pragma __nomember_alignment __struct { __int64 buglog$q_qw01; /* User data area as quadwords */ __int64 buglog$q_qw02; __int64 buglog$q_qw03; __int64 buglog$q_qw04; __int64 buglog$q_qw05; __int64 buglog$q_qw06; __int64 buglog$q_qw07; __int64 buglog$q_qw08; __int64 buglog$q_qw09; __int64 buglog$q_qw10; __int64 buglog$q_qw11; __int64 buglog$q_qw12; __int64 buglog$q_qw13; __int64 buglog$q_qw14; __int64 buglog$q_qw15; __int64 buglog$q_qw16; __int64 buglog$q_qw17; __int64 buglog$q_qw18; __int64 buglog$q_qw19; __int64 buglog$q_qw20; __int64 buglog$q_qw21; __int64 buglog$q_qw22; __int64 buglog$q_qw23; __int64 buglog$q_qw24; __int64 buglog$q_qw25; __int64 buglog$q_qw26; } buglog$r_datastart_qws; char buglog$t_datastart [208]; /* User data area as byte block */ } buglog$r_datastart_overlay; } BUGLOG; #if !defined(__VAXC) #define buglog$w_flags buglog$r_flags_overlay.buglog$w_flags #define buglog$v_data_present buglog$r_flags_overlay.buglog$r_flags_bits.buglog$v_data_present #define buglog$q_qw01 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw01 #define buglog$q_qw02 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw02 #define buglog$q_qw03 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw03 #define buglog$q_qw04 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw04 #define buglog$q_qw05 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw05 #define buglog$q_qw06 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw06 #define buglog$q_qw07 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw07 #define buglog$q_qw08 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw08 #define buglog$q_qw09 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw09 #define buglog$q_qw10 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw10 #define buglog$q_qw11 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw11 #define buglog$q_qw12 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw12 #define buglog$q_qw13 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw13 #define buglog$q_qw14 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw14 #define buglog$q_qw15 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw15 #define buglog$q_qw16 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw16 #define buglog$q_qw17 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw17 #define buglog$q_qw18 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw18 #define buglog$q_qw19 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw19 #define buglog$q_qw20 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw20 #define buglog$q_qw21 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw21 #define buglog$q_qw22 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw22 #define buglog$q_qw23 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw23 #define buglog$q_qw24 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw24 #define buglog$q_qw25 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw25 #define buglog$q_qw26 buglog$r_datastart_overlay.buglog$r_datastart_qws.buglog$q_qw26 #define buglog$t_datastart buglog$r_datastart_overlay.buglog$t_datastart #endif /* #if !defined(__VAXC) */ #define BUGLOG$K_LENGTH 256 /* Standard length of BUGLOG structure */ #define BUGLOG$C_LENGTH 256 /* Ditto */ #define BUGLOG$S_BUGLOGDEF 256 /* Another size name synonym */ #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 /* __BUGLOGDEF_LOADED */