/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:05 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $ACCESSDEF ***/ #ifndef __ACCESSDEF_LOADED #define __ACCESSDEF_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 /* */ /* Definitions for Acmode arugment to several MMG system services */ /* */ #define ACCESS$M_LOCK_IMAGE 0x40 #define ACCESS$M_LKWSET_EXACT 0x80 #ifdef __NEW_STARLET #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 _access { #pragma __nomember_alignment __union { unsigned __int64 access$q_quad; /* Combined acmode/arch/prot argument - full 64-bits */ __struct { unsigned char access$b_mode; /* Access mode */ unsigned char access$b_arch; /* Architecture 3=IA64 */ unsigned short int access$w_prot; /* Page protection in architecture format */ int access$l_reserved1; /* Reserved */ } access$r_accessdef_fields; __struct { unsigned access$v_fill1 : 6; unsigned access$v_lock_image : 1; /* For $LKWSET_64 and $ULWSET_64 only */ unsigned access$v_lkwset_exact : 1; /* For $LKWSET[_64] and $ULWSET[_64] IA64 only */ /* Alpha always performs exact */ unsigned access$v_fill2 : 24; unsigned access$v_fill3 : 32; } access$r_accessdef_bits; } access$r_access_union; } ACCESS; #if !defined(__VAXC) #define access$q_quad access$r_access_union.access$q_quad #define access$b_mode access$r_access_union.access$r_accessdef_fields.access$b_mode #define access$b_arch access$r_access_union.access$r_accessdef_fields.access$b_arch #define access$w_prot access$r_access_union.access$r_accessdef_fields.access$w_prot #define access$l_reserved1 access$r_access_union.access$r_accessdef_fields.access$l_reserved1 #define access$v_lock_image access$r_access_union.access$r_accessdef_bits.access$v_lock_image #define access$v_lkwset_exact access$r_access_union.access$r_accessdef_bits.access$v_lkwset_exact #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ #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 _access { #pragma __nomember_alignment __union { unsigned int access$q_quad [2]; /* Combined acmode/arch/prot argument - full 64-bits */ __struct { unsigned char access$b_mode; /* Access mode */ unsigned char access$b_arch; /* Architecture 3=IA64 */ unsigned short int access$w_prot; /* Page protection in architecture format */ int access$l_reserved1; /* Reserved */ } access$r_accessdef_fields; __struct { unsigned access$v_fill1 : 6; unsigned access$v_lock_image : 1; /* For $LKWSET_64 and $ULWSET_64 only */ unsigned access$v_lkwset_exact : 1; /* For $LKWSET[_64] and $ULWSET[_64] IA64 only */ /* Alpha always performs exact */ unsigned access$v_fill2 : 24; unsigned access$v_fill3 : 32; } access$r_accessdef_bits; } access$r_access_union; } access; #if !defined(__VAXC) #define access$q_quad access$r_access_union.access$q_quad #define access$b_mode access$r_access_union.access$r_accessdef_fields.access$b_mode #define access$b_arch access$r_access_union.access$r_accessdef_fields.access$b_arch #define access$w_prot access$r_access_union.access$r_accessdef_fields.access$w_prot #define access$l_reserved1 access$r_access_union.access$r_accessdef_fields.access$l_reserved1 #define access$v_lock_image access$r_access_union.access$r_accessdef_bits.access$v_lock_image #define access$v_lkwset_exact access$r_access_union.access$r_accessdef_bits.access$v_lkwset_exact #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACCESS$C_IA64 3 /* IA64 */ #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 /* __ACCESSDEF_LOADED */