/**/ /***************************************************************************/ /** **/ /** © 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:24:20 by OpenVMS SDL EV3-3 */ /* Source: 12-AUG-2008 08:24:24 $1$DGA7274:[LIB_H.SRC]NPOOL_DATA.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $NPHDEF ***/ #ifndef __NPHDEF_LOADED #define __NPHDEF_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 /*+ */ /* DEFINITION OF NON-PAGED POOL HISTORY RECORD IN RING BUFFER */ /*- */ #define NPH$C_ALONONPAGED 0 /* Caller was EXE$ALONONPAGED */ #define NPH$C_ALONPAGVAR 1 /* Caller was EXE$ALONPAGVAR */ #define NPH$C_DEANONPAGED 2 /* Caller was EXE$DEANONPAGED */ #define NPH$C_DEANONPGDSIZ 3 /* Caller was EXE$DEANONPGDSIZ */ #define NPH$C_ALLOCATE_POOL_NPP 4 /* Caller was EXE$ALLOCATE_POOL with NPP pooltype */ #define NPH$C_ALLOCATE_POOL_NPP_ALIGNED 5 /* Caller was EXE$ALLOCATE_POOL with NPP pooltype and non-0 alignment */ #define NPH$C_DEALLOCATE_POOL_NPP 6 /* Caller was EXE$DEALLOCATE_POOL with NPP pooltype and size in memory */ #define NPH$C_DEALLOCATE_POOL_NPP_SIZED 7 /* Caller was EXE$DEALLOCATE_POOL with NPP pooltype and size specified */ #define NPH$C_ALLOCATE_POOL_BAP 8 /* Caller was EXE$ALLOCATE_POOL with BAP pooltype */ #define NPH$C_ALLOCATE_POOL_BAP_ALIGNED 9 /* Caller was EXE$ALLOCATE_POOL with BAP pooltype and non-0 alignment */ #define NPH$C_DEALLOCATE_POOL_BAP 10 /* Caller was EXE$DEALLOCATE_POOL with BAP pooltype and size in memory */ #define NPH$C_DEALLOCATE_POOL_BAP_SIZED 11 /* Caller was EXE$DEALLOCATE_POOL with BAP pooltype and size specified */ #define NPH$C_POOLZONE_ALLOCATE 12 /* Caller was EXE$POOL_ALLOCATE */ #define NPH$C_POOLZONE_DEALLOCATE 13 /* Caller was EXE$POOL_DEALLOCATE */ #define NPH$C_BAP_NOT_CONTIGUOUS 14 /* Failure of BAP due to non-contiguous physical memory */ #define NPH$C_ALLOCATE_POOL_NPP_VAR 15 /* Allocating NPP from the variable pool */ #define NPH$C_ALLOCATE_POOL_BAP_VAR 16 /* Allocating BAP from the variable pool */ #define NPH$C_ALONONPAGED_ALN 17 /* Allocating with EXE$ALONONPAGED_ALN */ #define NPH$C_EXPAND_NPP 18 /* Pool expansion */ #define NPH$C_EXPAND_BAP 19 /* Pool expansion */ #define NPH$C_MAX_FUNC_TYPE 20 /* Maximum expected function type for SDA */ #define NPH$S_NPHDEF 32 /* Old size name - synonym */ typedef struct _nph { __union { unsigned __int64 nph$q_addr; /* Address of packet */ __struct { unsigned int nph$l_addr_low; /* low longword of pkt addr */ unsigned int nph$l_addr_high; /* high longword of pkt addr */ } nph$r_fill_4_; } nph$r_fill_3_; #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif int (*nph$l_pc)(); /* PC of caller's caller */ unsigned short int nph$w_function; /* Function of caller */ unsigned char nph$b_type; /* Pkt. type */ unsigned char nph$b_rmod; /* Pkt. RMOD or subtype */ unsigned int nph$l_size; /* Size of pkt. being manip. */ unsigned char nph$b_ipl; /* IPL of caller */ unsigned char nph$b_cpu; /* CPU number function was called on */ unsigned short int nph$w_unused; /* Round up to quadword */ __union { unsigned __int64 nph$q_time; /* System time of operation */ __struct { unsigned int nph$l_time_low; /* low longword of time */ unsigned int nph$l_time_high; /* high longword of time */ } nph$r_fill_6_; } nph$r_fill_5_; } NPH; #if !defined(__VAXC) #define nph$q_addr nph$r_fill_3_.nph$q_addr #define nph$l_addr_low nph$r_fill_3_.nph$r_fill_4_.nph$l_addr_low #define nph$l_addr_high nph$r_fill_3_.nph$r_fill_4_.nph$l_addr_high #define nph$q_time nph$r_fill_5_.nph$q_time #define nph$l_time_low nph$r_fill_5_.nph$r_fill_6_.nph$l_time_low #define nph$l_time_high nph$r_fill_5_.nph$r_fill_6_.nph$l_time_high #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 /* __NPHDEF_LOADED */