/**/ /***************************************************************************/ /** **/ /** © 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: 24-FEB-2003 11:02:36 $1$DGA7274:[LIB_H.SRC]INDICTINTDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $INDICTINTDEF ***/ #ifndef __INDICTINTDEF_LOADED #define __INDICTINTDEF_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 /* Include base definitions */ #include /*+ */ /* This is the internal to VMS defintion file [LIB] used with the component */ /* indictment server software pieces. */ /* */ /* **** NOTE **** */ /* */ /* These constants are a direct conversion of Compaq Analyse's or should */ /* I say Tru64 UNIX's indict.h file. */ /* If any changes are done in that file then this file should be */ /* adjusted to match it. */ /*- */ /* */ /* */ /* The urgency value represents the seriousness of the problem. */ /* The higher the urgency, the more serious the problem. */ #define INDICT$K_MIN_URGENCY 1 #define INDICT$K_MAX_URGENCY 10 /* */ /* The probability value represents the likelihood that the indicted */ /* component is the culprit. The higher the probability the more */ /* likely the initiator of the indictment notification believes the */ /* indicted component is the source of the errors. */ #define INDICT$K_MIN_PROBABILITY 1 #define INDICT$K_MAX_PROBABILITY 100 /* */ /* The total_indictments value represents the number of components */ /* being indicted for the same error. In some cases, the indictment */ /* initiator isn't 100% sure which component needs to be replaced, */ /* so the initiator will indict more than one component. For the */ /* case where two components get indicted for the same error, the */ /* total_indictments should be set to 2. */ #define INDICT$K_MIN_INDICTMENTS 1 #define INDICT$K_MAX_INDICTMENTS 10 /* */ /* The reason for the indictment contains up to this */ /* many characters including the null terminator. */ #define INDICT$K_MAX_DESCR 256 /* */ /* The initiator of the indictment request. This is the requestor's name */ /* and may contain up to this many characters including the null terminator. */ #define INDICT$K_MAX_INITIATOR 32 /* */ /* The report handle contains up to this many characters including */ /* the null terminator. This is the requesting report program name(s). */ #define INDICT$K_MAX_REPORT_HNDL 128 /* */ /* The version number for indictment Info structure. */ /* This is set by the caller. */ #define INDICT$K_VERSION_1 1 /* */ /* */ /* List of objects that can be indicted. If new object types get added */ /* to the enum type then place in between INDICT_COMPONENT and */ /* INDICT_OS_SPECIFIC since the validation code in sys_indict_Object API */ /* uses these values as the min and max. */ /* */ #define INDICT$K_COMPONENT 0 /* FRU Config ID of component indicted */ #define INDICT$K_PFN 1 /* Page Frame Number to be indicted */ #define INDICT$K_OS_SPECIFIC 2 /* OS HWR ID component to be indicted */ #ifdef __cplusplus /* Define structure prototypes */ struct _iosb; #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 _indictrequest { #pragma __nomember_alignment void *indictreq$ps_qfl; void *indictreq$ps_qbl; unsigned short int indictreq$w_size; /* STRUCTURE SIZE IN BYTES */ unsigned char indictreq$b_type; /* STRUCTURE TYPE CODE */ unsigned char indictreq$b_subtype; /* STRUCTURE SUB-TYPE CODE */ #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 _iosb *indictreq$pq_iosb_address; /* IOSB */ #else unsigned __int64 indictreq$pq_iosb_address; #endif unsigned int indictreq$l_efn; /* Event Flag */ unsigned int indictreq$l_status; /* Status */ char indictreq$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 ACB64 indictreq$r_base_acb; /* Embedded ACB64 structure */ #pragma __nomember_alignment unsigned int indictreq$l_version; /* Version of Indictment Data */ unsigned int indictreq$l_object_type; /* Type of indictment */ unsigned __int64 indictreq$q_pfn_or_os_handle; /* Failing PFN or OS HWR ID */ unsigned __int64 indictreq$iq_component_id; /* Component Handle ID */ unsigned char indictreq$b_component_type; /* Component Handle Type */ unsigned char indictreq$b_component_subtype; /* Component Handle Subtype */ unsigned char indictreq$b_pad1 [6]; unsigned __int64 indictreq$iq_module_id; /* Module Handle ID */ unsigned char indictreq$b_module_type; /* Module Handle Type */ unsigned char indictreq$b_module_subtype; /* Module Handle Subtype */ unsigned char indictreq$b_pad2 [6]; unsigned int indictreq$l_urgency; /* Urgency of indictment request */ unsigned int indictreq$l_probability; /* Probability of correct fault */ unsigned int indictreq$l_total_indictments; /* Total number to be indicted */ unsigned int indictreq$l_description_size; /* Size of descriptor string */ unsigned int indictreq$l_initiator_size; /* Size of initiator string */ unsigned int indictreq$l_report_handle_size; /* Size of report handle string */ char indictreq$b_description [256]; /* Readable description of problem */ unsigned char indictreq$b_pad3 [8]; char indictreq$b_initiator [32]; /* Who called us */ unsigned char indictreq$b_pad4 [8]; char indictreq$b_report_handle [128]; /* report handle program name */ unsigned char indictreq$b_pad5 [8]; unsigned char indictreq$b_spare [32]; } INDICTREQUEST; #ifdef __cplusplus /* Define structure prototypes */ struct _spl; #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 _indictdef { #pragma __nomember_alignment #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 *indict$ps_request_qfl; void *indict$ps_request_qbl; unsigned short int indict$w_size; /* STRUCTURE SIZE IN BYTES */ unsigned char indict$b_type; /* STRUCTURE TYPE CODE */ unsigned char indict$b_subtype; /* STRUCTURE SUB-TYPE CODE */ struct _spl *indict$ps_lock; /* Lock for access to queue */ int indict$l_server; /* Indictment server flag */ int indict$l_que_count; /* amount of indictment que entries */ } INDICTDEF; #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 /* __INDICTINTDEF_LOADED */