/**/ /***************************************************************************/ /** **/ /** © 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:25:57 by OpenVMS SDL EV3-3 */ /* Source: 25-MAR-2004 10:31:49 $1$DGA7274:[LIB_H.SRC]MPWDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $MPWDEF ***/ #ifndef __MPWDEF_LOADED #define __MPWDEF_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 MPW$C_MAINTAIN 1 #define MPW$C_SVAPTE 2 #define MPW$C_OPCCRASH 3 #define MPW$C_PAGE_TABLE 4 #define MPW$C_IDLE 0 #define MPW$C_MAINT_STATE 1 #define MPW$C_SELECTIVE 2 #define MPW$C_CRASH_STATE 3 #define MPW$C_MAXSTATE 4 #define MPW$C_DPTSCAN 0 #define MPW$C_DGBLSC 1 #define MPW$C_RELPHD 2 #define MPW$C_FREELIM 3 #define MPW$C_MPWCHECK 4 #define MPW$C_CRASH 5 #define MPW$C_MAXID 6 #define MPW$M_RCODE 0xFF #define MPW$M_RMODIFIERS 0xFF00 #define MPW$M_RESERVED 0xFF0000 #define MPW$M_IDCODE 0xFF000000 #define MPW$M_LOLIMIT 0x100 #define MPW$S_MPWDEF 4 /* Old size name - synonym */ typedef struct _mpw { /* Basic request code/modifiers structure */ __union { /* Union to generate appropriate $S_ size field */ int mpw$l_mpw_arg; /* Entire MPW structure */ __struct { unsigned mpw$v_rcode : 8; /* Request Code Field */ unsigned mpw$v_rmodifiers : 8; /* Request Modifiers Field */ unsigned mpw$v_reserved : 8; unsigned mpw$v_idcode : 8; /* Requestor ID code Field */ } mpw$r_rcode_structure; /* Request modifiers for MAINTAIN request */ __struct { unsigned mpw$v_rcode_fill : 8; unsigned mpw$v_lolimit : 1; /* New MPL low limit specified in R1 */ unsigned mpw$v_fill_0_ : 7; } mpw$r_maintain_modifiers; } mpw$r_fill_union; } MPW; #if !defined(__VAXC) #define mpw$l_mpw_arg mpw$r_fill_union.mpw$l_mpw_arg #define mpw$v_rcode mpw$r_fill_union.mpw$r_rcode_structure.mpw$v_rcode #define mpw$v_rmodifiers mpw$r_fill_union.mpw$r_rcode_structure.mpw$v_rmodifiers #define mpw$v_reserved mpw$r_fill_union.mpw$r_rcode_structure.mpw$v_reserved #define mpw$v_idcode mpw$r_fill_union.mpw$r_rcode_structure.mpw$v_idcode #define mpw$v_lolimit mpw$r_fill_union.mpw$r_maintain_modifiers.mpw$v_lolimit #endif /* #if !defined(__VAXC) */ #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 /* __MPWDEF_LOADED */