require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&AVANTI_RETRY_TIMEOUT)) {
    sub AVANTI_RETRY_TIMEOUT () {	0x201;}
}
unless(defined(&AVANTI_DMA_DATA_PARITY)) {
    sub AVANTI_DMA_DATA_PARITY () {	0x202;}
}
unless(defined(&AVANTI_IO_PARITY)) {
    sub AVANTI_IO_PARITY () {	0x203;}
}
unless(defined(&AVANTI_TARGET_ABORT)) {
    sub AVANTI_TARGET_ABORT () {	0x204;}
}
unless(defined(&AVANTI_NO_DEVICE)) {
    sub AVANTI_NO_DEVICE () {	0x205;}
}
unless(defined(&AVANTI_CORRRECTABLE_MEMORY)) {
    sub AVANTI_CORRRECTABLE_MEMORY () {	0x206;}
}
unless(defined(&AVANTI_UNCORRECTABLE_PCI_MEMORY)) {
    sub AVANTI_UNCORRECTABLE_PCI_MEMORY () {	0x207;}
}
unless(defined(&AVANTI_INVALID_PT_LOOKUP)) {
    sub AVANTI_INVALID_PT_LOOKUP () {	0x208;}
}
unless(defined(&AVANTI_MEMORY)) {
    sub AVANTI_MEMORY () {	0x209;}
}
unless(defined(&AVANTI_BCACHE_TAG_ADDR_PARITY)) {
    sub AVANTI_BCACHE_TAG_ADDR_PARITY () {	0x20a;}
}
unless(defined(&AVANTI_BCACHE_TAG_CTRL_PARITY)) {
    sub AVANTI_BCACHE_TAG_CTRL_PARITY () {	0x20b;}
}
unless(defined(&AVANTI_NONEXISTENT_MEMORY)) {
    sub AVANTI_NONEXISTENT_MEMORY () {	0x20c;}
}
unless(defined(&AVANTI_IO_BUS)) {
    sub AVANTI_IO_BUS () {	0x20d;}
}
unless(defined(&AVANTI_BCACHE_TAG_PARITY)) {
    sub AVANTI_BCACHE_TAG_PARITY () {	0x80;}
}
unless(defined(&AVANTI_BCACHE_TAG_CTRL_PARITY2)) {
    sub AVANTI_BCACHE_TAG_CTRL_PARITY2 () {	0x82;}
}
unless(defined(&AVANTI_HARD_ERROR)) {
    sub AVANTI_HARD_ERROR () {	0x84;}
}
unless(defined(&AVANTI_CORRECTABLE_ECC)) {
    sub AVANTI_CORRECTABLE_ECC () {	0x86;}
}
unless(defined(&AVANTI_NONCORRECTABLE_ECC)) {
    sub AVANTI_NONCORRECTABLE_ECC () {	0x88;}
}
unless(defined(&AVANTI_UNKNOWN_ERROR)) {
    sub AVANTI_UNKNOWN_ERROR () {	0x8a;}
}
unless(defined(&AVANTI_SOFT_ERROR)) {
    sub AVANTI_SOFT_ERROR () {	0x8c;}
}
unless(defined(&AVANTI_BUGCHECK)) {
    sub AVANTI_BUGCHECK () {	0x8e;}
}
unless(defined(&AVANTI_OS_BUGCHECK)) {
    sub AVANTI_OS_BUGCHECK () {	0x90;}
}
unless(defined(&AVANTI_DCACHE_FILL_PARITY)) {
    sub AVANTI_DCACHE_FILL_PARITY () {	0x92;}
}
unless(defined(&AVANTI_ICACHE_FILL_PARITY)) {
    sub AVANTI_ICACHE_FILL_PARITY () {	0x94;}
}
unless(defined(&EV5_CORRECTED)) {
    sub EV5_CORRECTED () {	0x86;}
}
unless(defined(&SYSTEM_CORRECTED)) {
    sub SYSTEM_CORRECTED () {	0x201;}
}
unless(defined(&EV5_IC_PERR_IBOXTMO)) {
    sub EV5_IC_PERR_IBOXTMO () {	0x2000;}
}
unless(defined(&MC_EV6_FRAME_REVISION)) {
    sub MC_EV6_FRAME_REVISION () {	1;}
}
unless(defined(&EV6_C_STAT_MASK)) {
    sub EV6_C_STAT_MASK () {	0x1f;}
}
unless(defined(&EV6_C_STAT_NO_ERROR)) {
    sub EV6_C_STAT_NO_ERROR () {	0x;}
}
unless(defined(&EV6_C_STAT_SNGL_BC_TAG_PERR)) {
    sub EV6_C_STAT_SNGL_BC_TAG_PERR () {	0x1;}
}
unless(defined(&EV6_C_STAT_SNGL_DC_DUPLICATE_TAG_PERR)) {
    sub EV6_C_STAT_SNGL_DC_DUPLICATE_TAG_PERR () {	0x2;}
}
unless(defined(&EV6_C_STAT_SNGL_DSTREAM_MEM_ECC_ERR)) {
    sub EV6_C_STAT_SNGL_DSTREAM_MEM_ECC_ERR () {	0x3;}
}
unless(defined(&EV6_C_STAT_SNGL_DSTREAM_BC_ECC_ERR)) {
    sub EV6_C_STAT_SNGL_DSTREAM_BC_ECC_ERR () {	0x4;}
}
unless(defined(&EV6_C_STAT_SNGL_DSTREAM_DC_ECC_ERR)) {
    sub EV6_C_STAT_SNGL_DSTREAM_DC_ECC_ERR () {	0x5;}
}
unless(defined(&EV6_C_STAT_SNGL_BC_PROBE_HIT_ERR)) {
    sub EV6_C_STAT_SNGL_BC_PROBE_HIT_ERR () {	0x6;}
}
unless(defined(&EV6_C_STAT_SNGL_BC_PROBE_HIT_ERR2)) {
    sub EV6_C_STAT_SNGL_BC_PROBE_HIT_ERR2 () {	0x7;}
}
unless(defined(&EV6_C_STAT_SNGL_ISTREAM_MEM_ECC_ERR)) {
    sub EV6_C_STAT_SNGL_ISTREAM_MEM_ECC_ERR () {	0xb;}
}
unless(defined(&EV6_C_STAT_SNGL_ISTREAM_BC_ECC_ERR)) {
    sub EV6_C_STAT_SNGL_ISTREAM_BC_ECC_ERR () {	0xc;}
}
unless(defined(&EV6_C_STAT_DBL_DSTREAM_MEM_ECC_ERR)) {
    sub EV6_C_STAT_DBL_DSTREAM_MEM_ECC_ERR () {	0x13;}
}
unless(defined(&EV6_C_STAT_DBL_DSTREAM_BC_ECC_ERR)) {
    sub EV6_C_STAT_DBL_DSTREAM_BC_ECC_ERR () {	0x14;}
}
unless(defined(&EV6_C_STAT_DBL_ISTREAM_MEM_ECC_ERR)) {
    sub EV6_C_STAT_DBL_ISTREAM_MEM_ECC_ERR () {	0x1b;}
}
unless(defined(&EV6_C_STAT_DBL_ISTREAM_BC_ECC_ERR)) {
    sub EV6_C_STAT_DBL_ISTREAM_BC_ECC_ERR () {	0x1c;}
}
unless(defined(&EV6_C_STS_MASK)) {
    sub EV6_C_STS_MASK () {	0xf;}
}
unless(defined(&EV6_C_STS_PARITY)) {
    sub EV6_C_STS_PARITY () {	0x8;}
}
unless(defined(&EV6_C_STS_VALID)) {
    sub EV6_C_STS_VALID () {	0x4;}
}
unless(defined(&EV6_C_STS_DIRTY)) {
    sub EV6_C_STS_DIRTY () {	0x2;}
}
unless(defined(&EV6_C_STS_SHARED)) {
    sub EV6_C_STS_SHARED () {	0x1;}
}
unless(defined(&EV6_DC_STAT_MASK)) {
    sub EV6_DC_STAT_MASK () {	0x1f;}
}
unless(defined(&EV6_DC_STAT_PIPELINE_0_ERROR)) {
    sub EV6_DC_STAT_PIPELINE_0_ERROR () {	0x1;}
}
unless(defined(&EV6_DC_STAT_PIPELINE_1_ERROR)) {
    sub EV6_DC_STAT_PIPELINE_1_ERROR () {	0x2;}
}
unless(defined(&EV6_DC_STAT_STORE_DATA_ECC_ERROR)) {
    sub EV6_DC_STAT_STORE_DATA_ECC_ERROR () {	0x4;}
}
unless(defined(&EV6_DC_STAT_LOAD_DATA_ECC_ERROR)) {
    sub EV6_DC_STAT_LOAD_DATA_ECC_ERROR () {	0x8;}
}
unless(defined(&EV6_DC_STAT_STORE_DATA_ECC_ERROR_REPEATED)) {
    sub EV6_DC_STAT_STORE_DATA_ECC_ERROR_REPEATED () {	0x10;}
}
unless(defined(&EV6_MM_STAT_MASK)) {
    sub EV6_MM_STAT_MASK () {	0x3ff;}
}
unless(defined(&EV6_MM_STAT_WRITE)) {
    sub EV6_MM_STAT_WRITE () {	0x1;}
}
unless(defined(&EV6_MM_STAT_ACCESS_VIOLATION)) {
    sub EV6_MM_STAT_ACCESS_VIOLATION () {	0x2;}
}
unless(defined(&EV6_MM_STAT_FOR_SET)) {
    sub EV6_MM_STAT_FOR_SET () {	0x4;}
}
unless(defined(&EV6_MM_STAT_FOW_SET)) {
    sub EV6_MM_STAT_FOW_SET () {	0x8;}
}
unless(defined(&EV6_MM_STAT_OPCODE_MASK)) {
    sub EV6_MM_STAT_OPCODE_MASK () {	0x2f0;}
}
unless(defined(&EV6_MM_STAT_DCACHE_CORRECTABLE_ERROR)) {
    sub EV6_MM_STAT_DCACHE_CORRECTABLE_ERROR () {	0x300;}
}
unless(defined(&EV6_ENV_SMIR_RESET)) {
    sub EV6_ENV_SMIR_RESET () {	0x80;}
}
unless(defined(&EV6_ENV_SMIR_PCI1_RESET)) {
    sub EV6_ENV_SMIR_PCI1_RESET () {	0x40;}
}
unless(defined(&EV6_ENV_SMIR_PCI0_RESET)) {
    sub EV6_ENV_SMIR_PCI0_RESET () {	0x20;}
}
unless(defined(&EV6_ENV_SMIR_OVERTEMP)) {
    sub EV6_ENV_SMIR_OVERTEMP () {	0x10;}
}
unless(defined(&EV6_ENV_SMIR_DC_FAILURE)) {
    sub EV6_ENV_SMIR_DC_FAILURE () {	0x4;}
}
unless(defined(&EV6_ENV_SMIR_RMC_HALT)) {
    sub EV6_ENV_SMIR_RMC_HALT () {	0x2;}
}
unless(defined(&EV6_ENV_SMIR_PSU_FAILURE)) {
    sub EV6_ENV_SMIR_PSU_FAILURE () {	0x1;}
}
unless(defined(&EV6_ENV_CPUIR_CPU_FAIL)) {
    sub EV6_ENV_CPUIR_CPU_FAIL {
	my($cpuno) = @_;
	eval q((($cpuno) << 4));
    }
}
unless(defined(&EV6_ENV_CPUIR_CPU_ENABLE)) {
    sub EV6_ENV_CPUIR_CPU_ENABLE {
	my($cpuno) = @_;
	eval q((($cpuno) << 0));
    }
}
unless(defined(&EV6_ENV_PSIR_PSU_FAIL)) {
    sub EV6_ENV_PSIR_PSU_FAIL {
	my($psuno) = @_;
	eval q((($psuno) << 4));
    }
}
unless(defined(&EV6_ENV_PSIR_PSU_ENABLE)) {
    sub EV6_ENV_PSIR_PSU_ENABLE {
	my($psuno) = @_;
	eval q((($psuno) << 0));
    }
}
unless(defined(&EV6_ENV_LM78_PSU_AC_HIGH_LIMIT)) {
    sub EV6_ENV_LM78_PSU_AC_HIGH_LIMIT () {	0x800000000000;}
}
unless(defined(&EV6_ENV_LM78_PSU_AC_LOW_LIMIT)) {
    sub EV6_ENV_LM78_PSU_AC_LOW_LIMIT () {	0x400000000000;}
}
unless(defined(&EV6_ENV_LM78_PSU_OVERTEMP)) {
    sub EV6_ENV_LM78_PSU_OVERTEMP () {	0x200000000000;}
}
unless(defined(&EV6_ENV_LM78_PSU_12V_OVERAMP)) {
    sub EV6_ENV_LM78_PSU_12V_OVERAMP () {	0x100000000000;}
}
unless(defined(&EV6_ENV_LM78_PSU_5V_OVERAMP)) {
    sub EV6_ENV_LM78_PSU_5V_OVERAMP () {	0x80000000000;}
}
unless(defined(&EV6_ENV_LM78_PSU_3_3V_OVERAMP)) {
    sub EV6_ENV_LM78_PSU_3_3V_OVERAMP () {	0x40000000000;}
}
unless(defined(&EV6_ENV_LM78_PSU_NUMBER_MASK)) {
    sub EV6_ENV_LM78_PSU_NUMBER_MASK () {	0x30000000000;}
}
unless(defined(&EV6_ENV_LM78_PSU_NUMBER_SHIFT)) {
    sub EV6_ENV_LM78_PSU_NUMBER_SHIFT () {	40;}
}
unless(defined(&EV6_ENV_LM78_FAN6_FAILURE)) {
    sub EV6_ENV_LM78_FAN6_FAILURE () {	0x8000000000;}
}
unless(defined(&EV6_ENV_LM78_FAN3_FAILURE)) {
    sub EV6_ENV_LM78_FAN3_FAILURE () {	0x4000000000;}
}
unless(defined(&EV6_ENV_LM78_ZONE2_OVERTEMP)) {
    sub EV6_ENV_LM78_ZONE2_OVERTEMP () {	0x1000000000;}
}
unless(defined(&EV6_ENV_LM78_CPU3_VIO_OOT)) {
    sub EV6_ENV_LM78_CPU3_VIO_OOT () {	0x800000000;}
}
unless(defined(&EV6_ENV_LM78_CPU3_VCORE_OOT)) {
    sub EV6_ENV_LM78_CPU3_VCORE_OOT () {	0x400000000;}
}
unless(defined(&EV6_ENV_LM78_CPU2_VIO_OOT)) {
    sub EV6_ENV_LM78_CPU2_VIO_OOT () {	0x200000000;}
}
unless(defined(&EV6_ENV_LM78_CPU2_VCORE_OOT)) {
    sub EV6_ENV_LM78_CPU2_VCORE_OOT () {	0x100000000;}
}
unless(defined(&EV6_ENV_LM78_FAN5_FAILURE)) {
    sub EV6_ENV_LM78_FAN5_FAILURE () {	0x800000;}
}
unless(defined(&EV6_ENV_LM78_FAN4_FAILURE)) {
    sub EV6_ENV_LM78_FAN4_FAILURE () {	0x400000;}
}
unless(defined(&EV6_ENV_LM78_ZONE1_OVERTEMP)) {
    sub EV6_ENV_LM78_ZONE1_OVERTEMP () {	0x100000;}
}
unless(defined(&EV6_ENV_LM78_CPU1_VIO_OOT)) {
    sub EV6_ENV_LM78_CPU1_VIO_OOT () {	0x80000;}
}
unless(defined(&EV6_ENV_LM78_CPU1_VCORE_OOT)) {
    sub EV6_ENV_LM78_CPU1_VCORE_OOT () {	0x40000;}
}
unless(defined(&EV6_ENV_LM78_CPU0_VIO_OOT)) {
    sub EV6_ENV_LM78_CPU0_VIO_OOT () {	0x20000;}
}
unless(defined(&EV6_ENV_LM78_CPU0_VCORE_OOT)) {
    sub EV6_ENV_LM78_CPU0_VCORE_OOT () {	0x10000;}
}
unless(defined(&EV6_ENV_LM78_PSU_MINUS12V_OOT)) {
    sub EV6_ENV_LM78_PSU_MINUS12V_OOT () {	0x400;}
}
unless(defined(&EV6_ENV_LM78_CTERM_OOT)) {
    sub EV6_ENV_LM78_CTERM_OOT () {	0x100;}
}
unless(defined(&EV6_ENV_LM78_FAN2_FAILURE)) {
    sub EV6_ENV_LM78_FAN2_FAILURE () {	0x80;}
}
unless(defined(&EV6_ENV_LM78_FAN1_FAILURE)) {
    sub EV6_ENV_LM78_FAN1_FAILURE () {	0x40;}
}
unless(defined(&EV6_ENV_LM78_CPU_OVERTEMP)) {
    sub EV6_ENV_LM78_CPU_OVERTEMP () {	0x20;}
}
unless(defined(&EV6_ENV_LM78_ZONA0_OVERTEMP)) {
    sub EV6_ENV_LM78_ZONA0_OVERTEMP () {	0x10;}
}
unless(defined(&EV6_ENV_LM78_VTERM_OOT)) {
    sub EV6_ENV_LM78_VTERM_OOT () {	0x8;}
}
unless(defined(&EV6_ENV_LM78_PSU_12V_OOT)) {
    sub EV6_ENV_LM78_PSU_12V_OOT () {	0x4;}
}
unless(defined(&EV6_ENV_LM78_PSU_5V_OOT)) {
    sub EV6_ENV_LM78_PSU_5V_OOT () {	0x2;}
}
unless(defined(&EV6_ENV_LM78_PSU_3_3V_OOT)) {
    sub EV6_ENV_LM78_PSU_3_3V_OOT () {	0x1;}
}
unless(defined(&EV6_ENV_DOORS_PCI_CLOSED)) {
    sub EV6_ENV_DOORS_PCI_CLOSED () {	0x80;}
}
unless(defined(&EV6_ENV_DOORS_FAN_CLOSED)) {
    sub EV6_ENV_DOORS_FAN_CLOSED () {	0x40;}
}
unless(defined(&EV6_ENV_DOORS_CPU_CLOSED)) {
    sub EV6_ENV_DOORS_CPU_CLOSED () {	0x20;}
}
unless(defined(&EV6_ENV_DOORS_PCI_OPEN)) {
    sub EV6_ENV_DOORS_PCI_OPEN () {	0x8;}
}
unless(defined(&EV6_ENV_DOORS_FAN_OPEN)) {
    sub EV6_ENV_DOORS_FAN_OPEN () {	0x4;}
}
unless(defined(&EV6_ENV_DOORS_CPU_OPEN)) {
    sub EV6_ENV_DOORS_CPU_OPEN () {	0x2;}
}
unless(defined(&EV6_ENV_STW_ZONE2)) {
    sub EV6_ENV_STW_ZONE2 () {	0x40;}
}
unless(defined(&EV6_ENV_STW_ZONE1)) {
    sub EV6_ENV_STW_ZONE1 () {	0x20;}
}
unless(defined(&EV6_ENV_STW_ZONE0)) {
    sub EV6_ENV_STW_ZONE0 () {	0x10;}
}
unless(defined(&EV6_ENV_STW_CPU3)) {
    sub EV6_ENV_STW_CPU3 () {	0x8;}
}
unless(defined(&EV6_ENV_STW_CPU2)) {
    sub EV6_ENV_STW_CPU2 () {	0x4;}
}
unless(defined(&EV6_ENV_STW_CPU1)) {
    sub EV6_ENV_STW_CPU1 () {	0x2;}
}
unless(defined(&EV6_ENV_STW_CPU0)) {
    sub EV6_ENV_STW_CPU0 () {	0x1;}
}
unless(defined(&EV6_ENV_SFCF_FAN1234_LOW_SPEED)) {
    sub EV6_ENV_SFCF_FAN1234_LOW_SPEED () {	0x800;}
}
unless(defined(&EV6_ENV_SFCF_FAN1234_HIGH_SPEED)) {
    sub EV6_ENV_SFCF_FAN1234_HIGH_SPEED () {	0x400;}
}
unless(defined(&EV6_ENV_SFCF_FAN56_LOW_SPEED)) {
    sub EV6_ENV_SFCF_FAN56_LOW_SPEED () {	0x200;}
}
unless(defined(&EV6_ENV_SFCF_FAN56_HIGH_SPEED)) {
    sub EV6_ENV_SFCF_FAN56_HIGH_SPEED () {	0x100;}
}
unless(defined(&EV6_ENV_SFCF_FAN6_NONRESPONSIVE)) {
    sub EV6_ENV_SFCF_FAN6_NONRESPONSIVE () {	0x20;}
}
unless(defined(&EV6_ENV_SFCF_FAN5_NONRESPONSIVE)) {
    sub EV6_ENV_SFCF_FAN5_NONRESPONSIVE () {	0x10;}
}
unless(defined(&EV6_ENV_SFCF_FAN4_NONRESPONSIVE)) {
    sub EV6_ENV_SFCF_FAN4_NONRESPONSIVE () {	0x8;}
}
unless(defined(&EV6_ENV_SFCF_FAN3_NONRESPONSIVE)) {
    sub EV6_ENV_SFCF_FAN3_NONRESPONSIVE () {	0x4;}
}
unless(defined(&EV6_ENV_SFCF_FAN2_NONRESPONSIVE)) {
    sub EV6_ENV_SFCF_FAN2_NONRESPONSIVE () {	0x2;}
}
unless(defined(&EV6_ENV_SFCF_FAN1_NONRESPONSIVE)) {
    sub EV6_ENV_SFCF_FAN1_NONRESPONSIVE () {	0x1;}
}
1;
