/**/ /***************************************************************************/ /** **/ /** © 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:03 by OpenVMS SDL EV3-3 */ /* Source: 30-MAR-2006 11:53:41 $1$DGA7274:[LIB_H.SRC]MBOXDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $MBOXDEF ***/ #ifndef __MBOXDEF_LOADED #define __MBOXDEF_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 MBOX$K_MAX_MSGSIZE 65535 /* Maximum mailbox message size */ #define MBOX_MSG$K_LENGTH 56 /*LENGTH OF STRUCTURE */ #define MBOX_MSG$C_LENGTH 56 /*LENGTH OF STRUCTURE */ typedef struct _mbox_msg { __union { int mbox_msg$ps_addr; /* Address of Data in packet */ int mbox_msg$l_flink; /* Message flink for queue write */ } mbox_msg$r_mbox1_overlay; __union { int mbox_msg$ps_uva32; /* Contains BUFIO$K_64 to for use of uva64 */ int mbox_msg$l_blink; /* Message blink for queued write */ } mbox_msg$r_mbox2_overlay; unsigned short int mbox_msg$w_mbz; /* Must be Zero */ unsigned char mbox_msg$b_type; /* Block type DYN$C_MISC */ unsigned char mbox_msg$b_subtype; /* Block subtype DYN$C_MBX_MSG */ unsigned int mbox_msg$l_function; /* Function code */ __int64 mbox_msg$pq_uva64; /* 64-bit Address of user buffer */ unsigned int mbox_msg$l_size; /* Block size */ int mbox_msg$l_irp; /* IRP */ int mbox_msg$l_noreaderwaitqfl; /* Queue to wait for */ int mbox_msg$l_noreaderwaitqbl; /* */ unsigned int mbox_msg$l_pid; /* PID (Will be zero for WRITE IO$M_NOWs) */ int mbox_msg$l_datastart; /* Start of Data in packet */ unsigned short int mbox_msg$w_datasize; /* Data size */ unsigned short int mbox_msg$w_bufquocharge; /* BUFQUO charged */ unsigned int mbox_msg$l_thread_pid; /* Kernel thread EPID (will be 0 for WRITE IO$M_NOWs) */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif #if defined(__VAXC) char mbox_msg$r_data[]; #else /* Warning: empty char[] member for mbox_msg$r_data at end of structure not created */ #endif /* #if defined(__VAXC) */ } MBOX_MSG; #if !defined(__VAXC) #define mbox_msg$ps_addr mbox_msg$r_mbox1_overlay.mbox_msg$ps_addr #define mbox_msg$l_flink mbox_msg$r_mbox1_overlay.mbox_msg$l_flink #define mbox_msg$ps_uva32 mbox_msg$r_mbox2_overlay.mbox_msg$ps_uva32 #define mbox_msg$l_blink mbox_msg$r_mbox2_overlay.mbox_msg$l_blink #endif /* #if !defined(__VAXC) */ #define MBOX_BUF$K_LENGTH 40 /*LENGTH OF STRUCTURE */ #define MBOX_BUF$C_LENGTH 40 /*LENGTH OF STRUCTURE */ #pragma __nomember_alignment typedef struct _mbox_buf { int mbox_buf$ps_addr; /* Address of Data in packet */ int mbox_buf$ps_uva32; /* Contains BUFIO$K_64 to for use of uva64 */ unsigned short int mbox_buf$w_mbz; /* Must be Zero */ unsigned char mbox_buf$b_type; /* Block type DYN$C_MISC */ unsigned char mbox_buf$b_subtype; /* Block subtype DYN$C_MBX_MSG */ int mbox_buf$l_datastart; /* Start of Data in packet */ __int64 mbox_buf$pq_uva64; /* 64-bit Address of user buffer */ unsigned int mbox_buf$l_size; /* Block size */ unsigned short int mbox_buf$w_datasize; /* Data size */ unsigned short int mbox_buf$w_reqsize; /* Data size requested */ unsigned short int mbox_buf$w_bufquocharge; /* BUFQUO charged? */ char mbox_buf$b_fill_0_ [6]; #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif #if defined(__VAXC) char mbox_buf$r_data[]; #else /* Warning: empty char[] member for mbox_buf$r_data at end of structure not created */ #endif /* #if defined(__VAXC) */ } MBOX_BUF; #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 /* __MBOXDEF_LOADED */