/**/ /***************************************************************************/ /** **/ /** © 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:10 by OpenVMS SDL EV3-3 */ /* Source: 23-JAN-2004 16:41:27 $1$DGA7274:[LIB_H.SRC]KPSTACKDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $KPSTACKDEF IDENT X-2 ***/ #ifndef __KPSTACKDEF_LOADED #define __KPSTACKDEF_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 /* Dummy KPSTACK */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif typedef struct _kpstack { #pragma __nomember_alignment __int64 kpstack$q_current_sp; /* Just one quadword */ } KPSTACK; /* KPSIG */ /* This is the layout of the base of a KP memory stack, which looks as follows: */ /* */ /* 0(SP) Scratch space for (sp at call to KP routine) */ /* 8(SP) called routine */ /* 16(SP) Saved GP (caller's GP) */ /* 24(SP) 00000000.00000000 (alignment) */ /* 32(SP) 00000000.00000000 } */ /* 40(SP) 00000000.00000000 } signature expected by code */ /* 48(SP) DEADDEAD.DEADDEAD } */ /* 56(SP) KPB address (highest useable address) */ /* [Guard Page] */ /* */ /* The low 4 quads are used by the IA64 implementation. The high 4 quads are */ /* required by both the Alpha and IA64 code. */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __octaword #else #pragma __nomember_alignment #endif typedef struct _kpsig { #pragma __nomember_alignment unsigned __int64 kpsig$q_zero1; /* MBZ */ unsigned __int64 kpsig$q_zero2; /* MBZ */ unsigned __int64 kpsig$q_dead_sig; /* 0xDEADDEAD.DEADDEAD */ #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ void *kpsig$pq_kpb; /* pointer to KPB */ #else unsigned __int64 kpsig$pq_kpb; #endif } KPSIG; #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 /* __KPSTACKDEF_LOADED */