/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:03 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]OBJFMT.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $GPSDEF ***/ #ifndef __GPSDEF_LOADED #define __GPSDEF_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 /* */ /* GSD entry - P-section definition */ /* */ #define GPS$M_PIC 0x1 #define GPS$M_LIB 0x2 #define GPS$M_OVR 0x4 #define GPS$M_REL 0x8 #define GPS$M_GBL 0x10 #define GPS$M_SHR 0x20 #define GPS$M_EXE 0x40 #define GPS$M_RD 0x80 #define GPS$M_WRT 0x100 #define GPS$M_VEC 0x200 #define GPS$M_NOMOD 0x400 #define GPS$M_COM 0x800 #define GPS$K_NAME 9 #define GPS$C_NAME 9 #ifdef __NEW_STARLET typedef struct _gpsdef { __union { unsigned char gps$b_gsdtyp; /*Typ field */ __struct { char gpsdef$$_fill_1; } gps$r_gsdtyp_fields; } gps$r_gsdtyp_overlay; unsigned char gps$b_align; /*P-sect alignment */ __union { unsigned short int gps$w_flags; /*P-sect flags */ __struct { unsigned gps$v_pic : 1; /*Position independent */ unsigned gps$v_lib : 1; /*From a shareable image */ unsigned gps$v_ovr : 1; /*Overlaid memory allocation */ unsigned gps$v_rel : 1; /*Relocatable */ unsigned gps$v_gbl : 1; /*Global scope */ unsigned gps$v_shr : 1; /*Shareable */ unsigned gps$v_exe : 1; /*Executable */ unsigned gps$v_rd : 1; /*Readable */ unsigned gps$v_wrt : 1; /*Writeable */ unsigned gps$v_vec : 1; /*Vector psect */ unsigned gps$v_nomod : 1; /*Not stored into */ unsigned gps$v_com : 1; /*Associated with COMM sym */ unsigned gps$v_fill_15_ : 4; } gps$r_flags_bits; } gps$r_flags_overlay; unsigned int gps$l_alloc; /*Length of this contribution */ unsigned char gps$b_namlng; /*Length of p-sect name */ char gps$t_name [31]; /*Name field */ } GPSDEF; #if !defined(__VAXC) #define gps$b_gsdtyp gps$r_gsdtyp_overlay.gps$b_gsdtyp #define gps$w_flags gps$r_flags_overlay.gps$w_flags #define gps$v_pic gps$r_flags_overlay.gps$r_flags_bits.gps$v_pic #define gps$v_lib gps$r_flags_overlay.gps$r_flags_bits.gps$v_lib #define gps$v_ovr gps$r_flags_overlay.gps$r_flags_bits.gps$v_ovr #define gps$v_rel gps$r_flags_overlay.gps$r_flags_bits.gps$v_rel #define gps$v_gbl gps$r_flags_overlay.gps$r_flags_bits.gps$v_gbl #define gps$v_shr gps$r_flags_overlay.gps$r_flags_bits.gps$v_shr #define gps$v_exe gps$r_flags_overlay.gps$r_flags_bits.gps$v_exe #define gps$v_rd gps$r_flags_overlay.gps$r_flags_bits.gps$v_rd #define gps$v_wrt gps$r_flags_overlay.gps$r_flags_bits.gps$v_wrt #define gps$v_vec gps$r_flags_overlay.gps$r_flags_bits.gps$v_vec #define gps$v_nomod gps$r_flags_overlay.gps$r_flags_bits.gps$v_nomod #define gps$v_com gps$r_flags_overlay.gps$r_flags_bits.gps$v_com #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct gpsdef { __union { unsigned char gps$b_gsdtyp; /*Typ field */ __struct { char gpsdef$$_fill_1; } gps$r_gsdtyp_fields; } gps$r_gsdtyp_overlay; unsigned char gps$b_align; /*P-sect alignment */ __union { unsigned short int gps$w_flags; /*P-sect flags */ __struct { unsigned gps$v_pic : 1; /*Position independent */ unsigned gps$v_lib : 1; /*From a shareable image */ unsigned gps$v_ovr : 1; /*Overlaid memory allocation */ unsigned gps$v_rel : 1; /*Relocatable */ unsigned gps$v_gbl : 1; /*Global scope */ unsigned gps$v_shr : 1; /*Shareable */ unsigned gps$v_exe : 1; /*Executable */ unsigned gps$v_rd : 1; /*Readable */ unsigned gps$v_wrt : 1; /*Writeable */ unsigned gps$v_vec : 1; /*Vector psect */ unsigned gps$v_nomod : 1; /*Not stored into */ unsigned gps$v_com : 1; /*Associated with COMM sym */ unsigned gps$v_fill_15_ : 4; } gps$r_flags_bits; } gps$r_flags_overlay; unsigned int gps$l_alloc; /*Length of this contribution */ unsigned char gps$b_namlng; /*Length of p-sect name */ char gps$t_name [31]; /*Name field */ } ; #if !defined(__VAXC) #define gps$b_gsdtyp gps$r_gsdtyp_overlay.gps$b_gsdtyp #define gps$w_flags gps$r_flags_overlay.gps$w_flags #define gps$v_pic gps$r_flags_overlay.gps$r_flags_bits.gps$v_pic #define gps$v_lib gps$r_flags_overlay.gps$r_flags_bits.gps$v_lib #define gps$v_ovr gps$r_flags_overlay.gps$r_flags_bits.gps$v_ovr #define gps$v_rel gps$r_flags_overlay.gps$r_flags_bits.gps$v_rel #define gps$v_gbl gps$r_flags_overlay.gps$r_flags_bits.gps$v_gbl #define gps$v_shr gps$r_flags_overlay.gps$r_flags_bits.gps$v_shr #define gps$v_exe gps$r_flags_overlay.gps$r_flags_bits.gps$v_exe #define gps$v_rd gps$r_flags_overlay.gps$r_flags_bits.gps$v_rd #define gps$v_wrt gps$r_flags_overlay.gps$r_flags_bits.gps$v_wrt #define gps$v_vec gps$r_flags_overlay.gps$r_flags_bits.gps$v_vec #define gps$v_nomod gps$r_flags_overlay.gps$r_flags_bits.gps$v_nomod #define gps$v_com gps$r_flags_overlay.gps$r_flags_bits.gps$v_com #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #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 /* __GPSDEF_LOADED */