/**/ /***************************************************************************/ /** **/ /** © 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:27:03 by OpenVMS SDL EV3-3 */ /* Source: 23-APR-1993 13:51:11 $1$DGA7274:[LIB_H.SRC]CONDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $CONDEF ***/ #ifndef __CONDEF_LOADED #define __CONDEF_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 /*+ */ /* */ /* Console function codes (defined in SRM). */ /* */ /*- */ #define CON$C_SWDONE 1 /* Software done */ #define CON$C_BOOTCPU 2 /* Boot function code */ #define CON$C_CLRWARM 3 /* Clear warm start flag */ #define CON$C_CLRCOLD 4 /* Clear cold start flag */ /*+ */ /* */ /* Routine specifier codes used when calling CON$ASSIST_PSWITCH */ /* */ /*- */ #define CON$C_START_SWITCH 1 /* Start primary switch operation */ #define CON$C_ABORT_SWITCH 2 /* Abort primary switch operation */ #define CON$C_FINISH_SWITCH 3 /* Finish primary switch operation */ #define RXCST$M_IE 0x40 #define RXCST$M_RDY 0x80 typedef struct _rxcst { __struct { unsigned rxcst$v_fill_1 : 6; unsigned rxcst$v_ie : 1; /* Receiver Interrupt Enable */ unsigned rxcst$v_rdy : 1; /* Receiver Data Ready */ } rxcst$r_rxcst_fields; } RXCST; #if !defined(__VAXC) #define rxcst$v_ie rxcst$r_rxcst_fields.rxcst$v_ie #define rxcst$v_rdy rxcst$r_rxcst_fields.rxcst$v_rdy #endif /* #if !defined(__VAXC) */ #define TXCST$M_IE 0x40 #define TXCST$M_RDY 0x80 #define TXCST$M_ERR 0x8000 typedef struct _txcst { __struct { unsigned txcst$v_fill_1 : 6; unsigned txcst$v_ie : 1; /* Transmitter Interrupt Enable */ unsigned txcst$v_rdy : 1; /* Transmitter Ready for Input */ unsigned txcst$v_fill_2 : 7; unsigned txcst$v_err : 1; /* Error sending, pls re-transmit */ } txcst$r_txcst_fields; } TXCST; #if !defined(__VAXC) #define txcst$v_ie txcst$r_txcst_fields.txcst$v_ie #define txcst$v_rdy txcst$r_txcst_fields.txcst$v_rdy #define txcst$v_err txcst$r_txcst_fields.txcst$v_err #endif /* #if !defined(__VAXC) */ #define RXTX$M_ERR 0x8000 typedef struct _rxtx { __struct { unsigned rxtx$v_data : 8; /* Data field of RXDB/TXDB */ unsigned rxtx$v_id : 4; /* ID field of RXDB/TXDB */ unsigned rxtx$v_fill_1 : 3; unsigned rxtx$v_err : 1; /* Error bit, RXDB only */ } rxtx$r_rxtx_fields; } RXTX; #if !defined(__VAXC) #define rxtx$v_data rxtx$r_rxtx_fields.rxtx$v_data #define rxtx$v_id rxtx$r_rxtx_fields.rxtx$v_id #define rxtx$v_err rxtx$r_rxtx_fields.rxtx$v_err #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 /* __CONDEF_LOADED */