/********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:29:48 by OpenVMS SDL EV3-3 */ /* Source: 30-MAR-2010 17:29:21 $1$DGA7274:[STARLET_H.SRC]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $ARMDEF ***/ #ifndef __ARMDEF_LOADED #define __ARMDEF_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 /*+ */ /* Access Rights Mask longword definitions */ /*- */ #define ARM$M_READ 0x1 #define ARM$M_WRITE 0x2 #define ARM$M_EXECUTE 0x4 #define ARM$M_DELETE 0x8 #define ARM$M_CONTROL 0x10 #define ARM$M_CREATE 0x4 #define ARM$M_LOCK 0x4 #define ARM$M_PHYSICAL 0x4 #define ARM$M_LOGICAL 0x8 #define ARM$M_ASSOCIATE 0x1 #define ARM$M_SUBMIT 0x2 #define ARM$M_MANAGE 0x4 #ifdef __NEW_STARLET typedef union _armdef { __union { int arm$l_file_access; __struct { unsigned arm$v_read : 1; /* Read access */ unsigned arm$v_write : 1; /* Write access */ unsigned arm$v_execute : 1; /* Execute access */ unsigned arm$v_delete : 1; /* Delete access */ unsigned arm$v_control : 1; /* Control access */ unsigned arm$v_fill : 27; /* [LOADSS]SYSACLSRV depends on this being here! */ } arm$r_fill_48_; } arm$r_fill_47_; __union { int arm$l_volume_access; __struct { unsigned arm$v_v_1 : 1; unsigned arm$v_v_2 : 1; unsigned arm$v_create : 1; /* Create access (volume) */ unsigned arm$v_fill_59_ : 5; } arm$r_fill_50_; } arm$r_fill_49_; __union { int arm$l_rsdm_access; __struct { unsigned arm$v_r_1 : 1; unsigned arm$v_r_2 : 1; unsigned arm$v_lock : 1; /* Lock access (resource domain) */ unsigned arm$v_fill_60_ : 5; } arm$r_fill_52_; } arm$r_fill_51_; __union { int arm$l_device_access; __struct { unsigned arm$v_d_1 : 1; unsigned arm$v_d_2 : 1; unsigned arm$v_physical : 1; /* Physical I/O access (device) */ unsigned arm$v_logical : 1; /* Logical I/O access (device) */ unsigned arm$v_fill_61_ : 4; } arm$r_fill_54_; } arm$r_fill_53_; __union { int arm$l_ceb_access; __struct { unsigned arm$v_associate : 1; /* Associate access (common event cluster) */ unsigned arm$v_fill_62_ : 7; } arm$r_fill_56_; } arm$r_fill_55_; __union { int arm$l_queue_access; __struct { unsigned arm$v_q_1 : 1; unsigned arm$v_submit : 1; /* Submit access (queue) */ unsigned arm$v_manage : 1; /* Manage access (queue) */ unsigned arm$v_fill_63_ : 5; } arm$r_fill_58_; } arm$r_fill_57_; } ARMDEF; #if !defined(__VAXC) #define arm$v_read arm$r_fill_47_.arm$r_fill_48_.arm$v_read #define arm$v_write arm$r_fill_47_.arm$r_fill_48_.arm$v_write #define arm$v_execute arm$r_fill_47_.arm$r_fill_48_.arm$v_execute #define arm$v_delete arm$r_fill_47_.arm$r_fill_48_.arm$v_delete #define arm$v_control arm$r_fill_47_.arm$r_fill_48_.arm$v_control #define arm$v_fill arm$r_fill_47_.arm$r_fill_48_.arm$v_fill #define arm$v_create arm$r_fill_49_.arm$r_fill_50_.arm$v_create #define arm$v_lock arm$r_fill_51_.arm$r_fill_52_.arm$v_lock #define arm$v_physical arm$r_fill_53_.arm$r_fill_54_.arm$v_physical #define arm$v_logical arm$r_fill_53_.arm$r_fill_54_.arm$v_logical #define arm$v_associate arm$r_fill_55_.arm$r_fill_56_.arm$v_associate #define arm$v_submit arm$r_fill_57_.arm$r_fill_58_.arm$v_submit #define arm$v_manage arm$r_fill_57_.arm$r_fill_58_.arm$v_manage #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union armdef { __union { int arm$l_file_access; __struct { unsigned arm$v_read : 1; /* Read access */ unsigned arm$v_write : 1; /* Write access */ unsigned arm$v_execute : 1; /* Execute access */ unsigned arm$v_delete : 1; /* Delete access */ unsigned arm$v_control : 1; /* Control access */ unsigned arm$v_fill : 27; /* [LOADSS]SYSACLSRV depends on this being here! */ } arm$r_fill_48_; } arm$r_fill_47_; __union { int arm$l_volume_access; __struct { unsigned arm$v_v_1 : 1; unsigned arm$v_v_2 : 1; unsigned arm$v_create : 1; /* Create access (volume) */ unsigned arm$v_fill_59_ : 5; } arm$r_fill_50_; } arm$r_fill_49_; __union { int arm$l_rsdm_access; __struct { unsigned arm$v_r_1 : 1; unsigned arm$v_r_2 : 1; unsigned arm$v_lock : 1; /* Lock access (resource domain) */ unsigned arm$v_fill_60_ : 5; } arm$r_fill_52_; } arm$r_fill_51_; __union { int arm$l_device_access; __struct { unsigned arm$v_d_1 : 1; unsigned arm$v_d_2 : 1; unsigned arm$v_physical : 1; /* Physical I/O access (device) */ unsigned arm$v_logical : 1; /* Logical I/O access (device) */ unsigned arm$v_fill_61_ : 4; } arm$r_fill_54_; } arm$r_fill_53_; __union { int arm$l_ceb_access; __struct { unsigned arm$v_associate : 1; /* Associate access (common event cluster) */ unsigned arm$v_fill_62_ : 7; } arm$r_fill_56_; } arm$r_fill_55_; __union { int arm$l_queue_access; __struct { unsigned arm$v_q_1 : 1; unsigned arm$v_submit : 1; /* Submit access (queue) */ unsigned arm$v_manage : 1; /* Manage access (queue) */ unsigned arm$v_fill_63_ : 5; } arm$r_fill_58_; } arm$r_fill_57_; } ; #if !defined(__VAXC) #define arm$v_read arm$r_fill_47_.arm$r_fill_48_.arm$v_read #define arm$v_write arm$r_fill_47_.arm$r_fill_48_.arm$v_write #define arm$v_execute arm$r_fill_47_.arm$r_fill_48_.arm$v_execute #define arm$v_delete arm$r_fill_47_.arm$r_fill_48_.arm$v_delete #define arm$v_control arm$r_fill_47_.arm$r_fill_48_.arm$v_control #define arm$v_fill arm$r_fill_47_.arm$r_fill_48_.arm$v_fill #define arm$v_create arm$r_fill_49_.arm$r_fill_50_.arm$v_create #define arm$v_lock arm$r_fill_51_.arm$r_fill_52_.arm$v_lock #define arm$v_physical arm$r_fill_53_.arm$r_fill_54_.arm$v_physical #define arm$v_logical arm$r_fill_53_.arm$r_fill_54_.arm$v_logical #define arm$v_associate arm$r_fill_55_.arm$r_fill_56_.arm$v_associate #define arm$v_submit arm$r_fill_57_.arm$r_fill_58_.arm$v_submit #define arm$v_manage arm$r_fill_57_.arm$r_fill_58_.arm$v_manage #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 /* __ARMDEF_LOADED */