/**/ /***************************************************************************/ /** **/ /** © 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:22 by OpenVMS SDL EV3-3 */ /* Source: 09-OCT-1995 13:44:01 $1$DGA7274:[LIB_H.SRC]HPCDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $HPCDEF ***/ #ifndef __HPCDEF_LOADED #define __HPCDEF_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 #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __longword #else #pragma __nomember_alignment #endif typedef struct _hpc { #pragma __nomember_alignment unsigned char hpc$b_f00 [24]; unsigned int hpc$l_ctl; unsigned char hpc$b_f10 [124]; unsigned int hpc$l_mretry; unsigned char hpc$b_f20 [124]; unsigned int hpc$l_gpr; unsigned char hpc$b_f30 [124]; unsigned int hpc$l_err; unsigned char hpc$b_f40 [124]; unsigned int hpc$l_fadr; unsigned char hpc$b_f50 [124]; unsigned int hpc$l_imask; unsigned char hpc$b_f60 [124]; unsigned int hpc$l_diag; unsigned char hpc$b_f70 [124]; unsigned int hpc$l_ipend; unsigned char hpc$b_f80 [124]; unsigned int hpc$l_iprog; unsigned char hpc$b_f90 [124]; unsigned int hpc$l_wmask_a; unsigned char hpc$b_f100 [124]; unsigned int hpc$l_wbase_a; unsigned char hpc$b_f110 [124]; unsigned int hpc$l_tbase_a; unsigned char hpc$b_f120 [124]; unsigned int hpc$l_wmask_b; unsigned char hpc$b_f130 [124]; unsigned int hpc$l_wbase_b; unsigned char hpc$b_f140 [124]; unsigned int hpc$l_tbase_b; unsigned char hpc$b_f150 [124]; unsigned int hpc$l_wmask_c; unsigned char hpc$b_f160 [124]; unsigned int hpc$l_wbase_c; unsigned char hpc$b_f170 [124]; unsigned int hpc$l_tbase_c; unsigned char hpc$b_f180 [124]; unsigned int hpc$l_errvec; unsigned char hpc$b_f190 [1788]; __struct { unsigned int hpc$l_d_inta; unsigned int hpc$l_d_int_fill1 [31]; unsigned int hpc$l_d_intb; unsigned int hpc$l_d_int_fill2 [31]; unsigned int hpc$l_d_intc; unsigned int hpc$l_d_int_fill3 [31]; unsigned int hpc$l_d_intd; unsigned int hpc$l_d_int_fill4 [31]; } hpc$r_devvec [4]; } HPC; #if !defined(__VAXC) #define hpc$l_d_inta hpc$l_d_inta #define hpc$l_d_int_fill1 hpc$l_d_int_fill1 #define hpc$l_d_intb hpc$l_d_intb #define hpc$l_d_int_fill2 hpc$l_d_int_fill2 #define hpc$l_d_intc hpc$l_d_intc #define hpc$l_d_int_fill3 hpc$l_d_int_fill3 #define hpc$l_d_intd hpc$l_d_intd #define hpc$l_d_int_fill4 hpc$l_d_int_fill4 #endif /* #if !defined(__VAXC) */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __longword #else #pragma __nomember_alignment #endif typedef struct _iack { #pragma __nomember_alignment unsigned char iack$b_f210 [24]; __union { unsigned int iack$l_iack; __struct { unsigned iack$v_placeholder_bitfield : 10; unsigned iack$v_fill_0_ : 6; } iack$r_iack_bits; } iack$r_iack_overlay; } IACK; #if !defined(__VAXC) #define iack$l_iack iack$r_iack_overlay.iack$l_iack #endif /* #if !defined(__VAXC) */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __longword #else #pragma __nomember_alignment #endif typedef struct _hpc_ctl { #pragma __nomember_alignment __union { unsigned int hpc$l_reg_ctl; __struct { unsigned hpc$v_config_cycle_type : 2; unsigned hpc$v_memory_block_size : 1; unsigned hpc$v_pci_reset : 1; unsigned hpc$v_pci_ct_threshold : 4; unsigned hpc$v_pci_ct_enable : 1; unsigned hpc$v_io_hae : 5; unsigned hpc$v_memory_hae : 5; unsigned hpc$v_hae_disable : 1; unsigned hpc$v_mrm_arb : 1; unsigned hpc$v_mrm_enable : 1; unsigned hpc$v_mrm_prefetch_size : 1; unsigned hpc$v_io_uphose_buff : 2; unsigned hpc$v_sgm_ram_size : 2; unsigned hpc$v_pci_arb_control : 2; unsigned hpc$v_fill_1_ : 3; } hpc$r_ctl_bits; } hpc$r_ctl_overlay; } HPC_CTL; #if !defined(__VAXC) #define hpc$l_reg_ctl hpc$r_ctl_overlay.hpc$l_reg_ctl #define hpc$v_config_cycle_type hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_config_cycle_type #define hpc$v_memory_block_size hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_memory_block_size #define hpc$v_pci_reset hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_pci_reset #define hpc$v_pci_ct_threshold hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_pci_ct_threshold #define hpc$v_pci_ct_enable hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_pci_ct_enable #define hpc$v_io_hae hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_io_hae #define hpc$v_memory_hae hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_memory_hae #define hpc$v_hae_disable hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_hae_disable #define hpc$v_mrm_arb hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_mrm_arb #define hpc$v_mrm_enable hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_mrm_enable #define hpc$v_mrm_prefetch_size hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_mrm_prefetch_size #define hpc$v_io_uphose_buff hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_io_uphose_buff #define hpc$v_sgm_ram_size hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_sgm_ram_size #define hpc$v_pci_arb_control hpc$r_ctl_overlay.hpc$r_ctl_bits.hpc$v_pci_arb_control #endif /* #if !defined(__VAXC) */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __longword #else #pragma __nomember_alignment #endif typedef struct _hpc_imask { #pragma __nomember_alignment __union { unsigned int hpc$l_reg_imask; __struct { unsigned short int hpc$w_int; unsigned hpc$v_enable_errint : 1; unsigned hpc$v_device_priority : 4; unsigned hpc$v_error_priority : 4; unsigned hpc$v_mbz : 7; } hpc$r_imask_bits; } hpc$r_imask_overlay; } HPC_IMASK; #if !defined(__VAXC) #define hpc$l_reg_imask hpc$r_imask_overlay.hpc$l_reg_imask #define hpc$w_int hpc$r_imask_overlay.hpc$r_imask_bits.hpc$w_int #define hpc$v_enable_errint hpc$r_imask_overlay.hpc$r_imask_bits.hpc$v_enable_errint #define hpc$v_device_priority hpc$r_imask_overlay.hpc$r_imask_bits.hpc$v_device_priority #define hpc$v_error_priority hpc$r_imask_overlay.hpc$r_imask_bits.hpc$v_error_priority #define hpc$v_mbz hpc$r_imask_overlay.hpc$r_imask_bits.hpc$v_mbz #endif /* #if !defined(__VAXC) */ #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __longword #else #pragma __nomember_alignment #endif typedef struct _hpc_present { #pragma __nomember_alignment __union { unsigned int hpc$l_reg_present; __struct { unsigned hpc$v_pci_0_slot_0 : 2; unsigned hpc$v_pci_0_slot_1 : 2; unsigned hpc$v_pci_0_slot_2 : 2; unsigned hpc$v_pci_0_slot_3 : 2; unsigned hpc$v_pci_1_slot_0 : 2; unsigned hpc$v_pci_1_slot_1 : 2; unsigned hpc$v_pci_1_slot_2 : 2; unsigned hpc$v_pci_1_slot_3 : 2; unsigned hpc$v_pci_2_slot_0 : 2; unsigned hpc$v_pci_2_slot_1 : 2; unsigned hpc$v_pci_2_slot_2 : 2; unsigned hpc$v_pci_2_slot_3 : 2; unsigned hpc$v_standard_io : 1; unsigned hpc$v_revision : 4; unsigned hpc$v_present_mbz : 3; } hpc$r_present_bits; } hpc$r_present_overlay; } HPC_PRESENT; #if !defined(__VAXC) #define hpc$l_reg_present hpc$r_present_overlay.hpc$l_reg_present #define hpc$v_pci_0_slot_0 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_0_slot_0 #define hpc$v_pci_0_slot_1 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_0_slot_1 #define hpc$v_pci_0_slot_2 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_0_slot_2 #define hpc$v_pci_0_slot_3 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_0_slot_3 #define hpc$v_pci_1_slot_0 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_1_slot_0 #define hpc$v_pci_1_slot_1 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_1_slot_1 #define hpc$v_pci_1_slot_2 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_1_slot_2 #define hpc$v_pci_1_slot_3 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_1_slot_3 #define hpc$v_pci_2_slot_0 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_2_slot_0 #define hpc$v_pci_2_slot_1 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_2_slot_1 #define hpc$v_pci_2_slot_2 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_2_slot_2 #define hpc$v_pci_2_slot_3 hpc$r_present_overlay.hpc$r_present_bits.hpc$v_pci_2_slot_3 #define hpc$v_standard_io hpc$r_present_overlay.hpc$r_present_bits.hpc$v_standard_io #define hpc$v_revision hpc$r_present_overlay.hpc$r_present_bits.hpc$v_revision #define hpc$v_present_mbz hpc$r_present_overlay.hpc$r_present_bits.hpc$v_present_mbz #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 /* __HPCDEF_LOADED */