/**/ /***************************************************************************/ /** **/ /** © 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:33 by OpenVMS SDL EV3-3 */ /* Source: 23-APR-1993 14:38:51 $1$DGA7274:[LIB_H.SRC]SLVDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $SLVDEF ***/ #ifndef __SLVDEF_LOADED #define __SLVDEF_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 /* */ /* */ /* Define symbolic offsets for System Loadable Vectors. These symbols */ /* are used by the various pieces of the loadable EXEC, notably SCSVEC, */ /* to create a list of vectors in system space and a corresponding image */ /* that will be loaded into pool and connected to the system vectors. */ /* */ /* */ #define SLV$K_LENGTH 676 /* SLV$K_LENGTH */ typedef struct _slv { unsigned int slv$l_codesize; /* Loadable image size (in bytes) */ unsigned int slv$l_initrtn; /* Offset to init. routine */ unsigned short int slv$w_size; /* Same as SLV$L_CODESIZE */ unsigned char slv$b_type; /* Structure type (DYN$C_LOADCODE) */ unsigned char slv$b_subtyp; /* Sturcture Subtype */ unsigned char slv$b_prot_r; /* writeable protection for image */ unsigned char slv$b_prot_w; /* read-only protection for image */ unsigned short int slv$w_spare; /* spare field for future use */ void *slv$a_sysvecs; /* address of vectors in SYS.EXE */ char slv$t_facility [16]; /* facility name (.ASCIC) */ char slv$t_list [640]; /* Start of vector list (MAXVEC*5) */ } SLV; /* */ /* */ /* Define vector type codes. The codes LODUMMY and HIDUMMY are */ /* used as placeholders, to make the definition of the upper and */ /* lower bound vector type symbols automatic. New vector type codes */ /* should be added at the end of the list, but before HIDUMMY. */ /* */ /* */ #define SLV$K_LODUMMY 0 /* */ #define SLV$K_LDATA 1 /* Longword pointer to data */ #define SLV$K_AJUMP 2 /* Aligned jump */ #define SLV$K_UJUMP 3 /* Unaligned jump */ #define SLV$K_SDATA 4 /* Specified data */ #define SLV$K_SJUMP 5 /* Specified jump */ #define SLV$K_HIDUMMY 6 /* */ #define SLV$K_MINTYPE 1 /* Lower bound of vector type codes */ #define SLV$K_MAXTYPE 5 /* Upper bount of vector type codes */ #define SLV$K_MAXVEC 128 /* Max. # of vectors in list. */ #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 /* __SLVDEF_LOADED */