/********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:29:50 by OpenVMS SDL EV3-3 */ /* Source: 30-MAR-2010 17:29:22 $1$DGA7274:[STARLET_H.SRC]STARDEFFL.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $FLTDEF ***/ #ifndef __FLTDEF_LOADED #define __FLTDEF_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 /* */ /* FLAG BITS FOR THE $SETFLT SYSTEM SERVICE. */ /* */ #define FLT$M_NO_EXECUTE 0x1 #define FLT$M_EXECUTE_ONLY 0x2 #define FLT$M_PERM 0x4 #define FLT$M_EXECUTABLE 0x8 #ifdef __NEW_STARLET typedef union _fltdef { __struct { unsigned flt$v_no_execute : 1; /* No Execute */ unsigned flt$v_execute_only : 1; /* Execute Only (for future use) */ unsigned flt$v_perm : 1; /* Permanent (for future use) */ unsigned flt$v_executable : 1; /* Set page to executable */ unsigned flt$v_fill_5_ : 4; } flt$r_fltdef_bits; } FLTDEF; #if !defined(__VAXC) #define flt$v_no_execute flt$r_fltdef_bits.flt$v_no_execute #define flt$v_execute_only flt$r_fltdef_bits.flt$v_execute_only #define flt$v_perm flt$r_fltdef_bits.flt$v_perm #define flt$v_executable flt$r_fltdef_bits.flt$v_executable #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union fltdef { __struct { unsigned flt$v_no_execute : 1; /* No Execute */ unsigned flt$v_execute_only : 1; /* Execute Only (for future use) */ unsigned flt$v_perm : 1; /* Permanent (for future use) */ unsigned flt$v_executable : 1; /* Set page to executable */ unsigned flt$v_fill_5_ : 4; } flt$r_fltdef_bits; } ; #if !defined(__VAXC) #define flt$v_no_execute flt$r_fltdef_bits.flt$v_no_execute #define flt$v_execute_only flt$r_fltdef_bits.flt$v_execute_only #define flt$v_perm flt$r_fltdef_bits.flt$v_perm #define flt$v_executable flt$r_fltdef_bits.flt$v_executable #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 /* __FLTDEF_LOADED */