/**/ /***************************************************************************/ /** **/ /** © 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:26:56 by OpenVMS SDL EV3-3 */ /* Source: 09-JUN-1993 15:26:35 $1$DGA7274:[LIB_H.SRC]CINDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $CINDEF ***/ #ifndef __CINDEF_LOADED #define __CINDEF_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 /*+ */ /* */ /* Connect to interrupt definitions for QIO parameters */ /* */ /*- */ #define CIN$M_EFN 0x1 #define CIN$M_USECAL 0x2 #define CIN$M_REPEAT 0x4 #define CIN$M_AST 0x8 #define CIN$M_INIDEV 0x10 #define CIN$M_START 0x20 #define CIN$M_ISR 0x40 #define CIN$M_CANCEL 0x80 #define CIN$M_EFNUM 0xFFFF0000 #define CIN$S_CINDEF 4 typedef struct _cin { __struct { unsigned cin$v_efn : 1; /* Set event flag on interrupt. */ unsigned cin$v_usecal : 1; /* Use CALL interface. */ unsigned cin$v_repeat : 1; /* Do repeated interrupt service. */ unsigned cin$v_ast : 1; /* Queue AST on interrupt. */ unsigned cin$v_inidev : 1; /* Device initialization to do. */ unsigned cin$v_start : 1; /* Start I/O routine. */ unsigned cin$v_isr : 1; /* ISR to execute. */ unsigned cin$v_cancel : 1; /* Cancel I/O routine. */ unsigned cindef$$_fill_1 : 8; /* Spare bits. */ unsigned cin$v_efnum : 16; /* Event flag number. */ } cin$r_cindef_bits; } CIN; #if !defined(__VAXC) #define cin$v_efn cin$r_cindef_bits.cin$v_efn #define cin$v_usecal cin$r_cindef_bits.cin$v_usecal #define cin$v_repeat cin$r_cindef_bits.cin$v_repeat #define cin$v_ast cin$r_cindef_bits.cin$v_ast #define cin$v_inidev cin$r_cindef_bits.cin$v_inidev #define cin$v_start cin$r_cindef_bits.cin$v_start #define cin$v_isr cin$r_cindef_bits.cin$v_isr #define cin$v_cancel cin$r_cindef_bits.cin$v_cancel #define cin$v_efnum cin$r_cindef_bits.cin$v_efnum #endif /* #if !defined(__VAXC) */ #define CIN$S_CINDEF1 16 typedef struct _cin1 { unsigned int cin$l_inidev; /* Offset to device init routine. */ unsigned int cin$l_start; /* Offset to start device routine. */ unsigned int cin$l_isr; /* Offset to interrupt service routine. */ unsigned int cin$l_cancel; /* Offset to cancel I/O routine. */ } CIN1; #define CIN$S_CINDEF2 8 typedef struct _cin2 { unsigned int cin$l_sptcount; /* Number of SPTs allocated. */ __union { unsigned int cin$l_startvpn; /* Starting VPN allocated. */ unsigned int cin$l_startbit; /* Starting bit in bitmap. */ } cin$r_startvpn_overlay; } CIN2; #if !defined(__VAXC) #define cin$l_startvpn cin$r_startvpn_overlay.cin$l_startvpn #define cin$l_startbit cin$r_startvpn_overlay.cin$l_startbit #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 /* __CINDEF_LOADED */