/**/ /***************************************************************************/ /** **/ /** © 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:40 by OpenVMS SDL EV3-3 */ /* Source: 19-MAY-1993 14:01:22 $1$DGA7274:[LIB_H.SRC]PCSAMPLEDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE PCSAMPLEDEF ***/ #ifndef __PCSAMPLEDEF_LOADED #define __PCSAMPLEDEF_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 PCBUF$C_STRUCTURE_VERSION 2 /* */ /* Slot constraining values */ /* */ #define PCBUF$C_MAX_SLOT_CNT 32768 /* Maximum number of slots */ #define PCBUF$C_MIN_SLOT_CNT 128 /* Minimum number of slots */ /* */ /* Slot structure definition */ /* */ #define PCSLT$C_LENGTH 16 #define PCSLT$S_PCSLTDEF 16 /* Old size name - synonym */ typedef struct _pcslt { void *pcslt$l_pc; /* Program counter */ unsigned int pcslt$l_ps; /* Process status */ unsigned int pcslt$l_counter; /* Indicates which counter fired */ unsigned int pcslt$l_pid; /* ID of current process */ } PCSLT; /* */ /* Buffer descriptor structure */ /* */ #define PCDSC$C_LENGTH 20 #define PCDSC$S_PCDSCDEF 20 /* Old size name - synonym */ typedef struct _pcdsc { void *pcdsc$l_buffer; /* Pointer to buffer in use */ __union { __struct { unsigned int pcdsc$l_cur_slot; /* Index of next slot */ unsigned int pcdsc$l_slot_cnt; /* Number of slots in the buffer */ } pcdsc$r_slot_info; __struct { unsigned int pcdsc$l_counter_0; unsigned int pcdsc$l_counter_1; } pcdsc$r_counter_info; } pcdsc$r_over_1; unsigned int pcdsc$l_buff_size; /* Size of memory block for descriptor */ void *pcdsc$l_ring_ptr; /* Fake buffer pointer to next buffer */ } PCDSC; #if !defined(__VAXC) #define pcdsc$r_slot_info pcdsc$r_over_1.pcdsc$r_slot_info #define pcdsc$l_cur_slot pcdsc$r_slot_info.pcdsc$l_cur_slot #define pcdsc$l_slot_cnt pcdsc$r_slot_info.pcdsc$l_slot_cnt #define pcdsc$r_counter_info pcdsc$r_over_1.pcdsc$r_counter_info #define pcdsc$l_counter_0 pcdsc$r_counter_info.pcdsc$l_counter_0 #define pcdsc$l_counter_1 pcdsc$r_counter_info.pcdsc$l_counter_1 #endif /* #if !defined(__VAXC) */ /* */ /* Buffer structure */ /* */ #define PCBUF$C_HDR_SIZE 32 /* Buffer header size */ #define PCBUF$C_MAX_LENGTH 524320 /* Maximum buffer size */ #define PCBUF$S_PCBUFDEF 524320 /* Old size name - synonym */ typedef struct _pcbuf { void *pcbuf$l_next_buff; /* Pointer to next buffer */ unsigned int pcbuf$l_buff_size; /* Size of memory block used for buffer */ unsigned int pcbuf$l_full_flag; /* Buffer is full */ unsigned int pcbuf$l_cpu_id; /* CPU index */ unsigned __int64 pcbuf$q_begin_time; /* Time buffer was started */ char pcbuf$b_scratch [8]; /* Used to force slot alignment */ char pcbuf$b_data_area [524288]; /* Data slots */ } PCBUF; #define PCBUF$C_MIN_LENGTH 2080 /* Minimum buffer size */ #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 /* __PCSAMPLEDEF_LOADED */