require '_h2ph_pre.ph';

no warnings 'redefine';

if(0) {
}
unless(defined(&sci_data)) {
    sub sci_data () {	 &sci_r0;}
}
unless(defined(&sci_odata)) {
    sub sci_odata () {	 &sci_r0;}
}
unless(defined(&sci_icmd)) {
    sub sci_icmd () {	 &sci_r1;}
}
unless(defined(&sci_mode)) {
    sub sci_mode () {	 &sci_r2;}
}
unless(defined(&sci_tcmd)) {
    sub sci_tcmd () {	 &sci_r3;}
}
unless(defined(&sci_bus_csr)) {
    sub sci_bus_csr () {	 &sci_r4;}
}
unless(defined(&sci_sel_enb)) {
    sub sci_sel_enb () {	 &sci_r4;}
}
unless(defined(&sci_csr)) {
    sub sci_csr () {	 &sci_r5;}
}
unless(defined(&sci_dma_send)) {
    sub sci_dma_send () {	 &sci_r5;}
}
unless(defined(&sci_idata)) {
    sub sci_idata () {	 &sci_r6;}
}
unless(defined(&sci_trecv)) {
    sub sci_trecv () {	 &sci_r6;}
}
unless(defined(&sci_iack)) {
    sub sci_iack () {	 &sci_r7;}
}
unless(defined(&sci_irecv)) {
    sub sci_irecv () {	 &sci_r7;}
}
unless(defined(&SCI_ICMD_DATA)) {
    sub SCI_ICMD_DATA () {	0x1;}
}
unless(defined(&SCI_ICMD_ATN)) {
    sub SCI_ICMD_ATN () {	0x2;}
}
unless(defined(&SCI_ICMD_SEL)) {
    sub SCI_ICMD_SEL () {	0x4;}
}
unless(defined(&SCI_ICMD_BSY)) {
    sub SCI_ICMD_BSY () {	0x8;}
}
unless(defined(&SCI_ICMD_ACK)) {
    sub SCI_ICMD_ACK () {	0x10;}
}
unless(defined(&SCI_ICMD_LST)) {
    sub SCI_ICMD_LST () {	0x20;}
}
unless(defined(&SCI_ICMD_DIFF)) {
    sub SCI_ICMD_DIFF () {	 &SCI_ICMD_LST;}
}
unless(defined(&SCI_ICMD_AIP)) {
    sub SCI_ICMD_AIP () {	0x40;}
}
unless(defined(&SCI_ICMD_TEST)) {
    sub SCI_ICMD_TEST () {	 &SCI_ICMD_AIP;}
}
unless(defined(&SCI_ICMD_RST)) {
    sub SCI_ICMD_RST () {	0x80;}
}
unless(defined(&SCI_ICMD_RMASK)) {
    sub SCI_ICMD_RMASK () {	0x1f;}
}
unless(defined(&SCI_MODE_ARB)) {
    sub SCI_MODE_ARB () {	0x1;}
}
unless(defined(&SCI_MODE_DMA)) {
    sub SCI_MODE_DMA () {	0x2;}
}
unless(defined(&SCI_MODE_MONBSY)) {
    sub SCI_MODE_MONBSY () {	0x4;}
}
unless(defined(&SCI_MODE_DMA_IE)) {
    sub SCI_MODE_DMA_IE () {	0x8;}
}
unless(defined(&SCI_MODE_PERR_IE)) {
    sub SCI_MODE_PERR_IE () {	0x10;}
}
unless(defined(&SCI_MODE_PAR_CHK)) {
    sub SCI_MODE_PAR_CHK () {	0x20;}
}
unless(defined(&SCI_MODE_TARGET)) {
    sub SCI_MODE_TARGET () {	0x40;}
}
unless(defined(&SCI_MODE_BLOCKDMA)) {
    sub SCI_MODE_BLOCKDMA () {	0x80;}
}
unless(defined(&SCI_TCMD_IO)) {
    sub SCI_TCMD_IO () {	0x1;}
}
unless(defined(&SCI_TCMD_CD)) {
    sub SCI_TCMD_CD () {	0x2;}
}
unless(defined(&SCI_TCMD_MSG)) {
    sub SCI_TCMD_MSG () {	0x4;}
}
unless(defined(&SCI_TCMD_PHASE_MASK)) {
    sub SCI_TCMD_PHASE_MASK () {	0x7;}
}
unless(defined(&SCI_TCMD_REQ)) {
    sub SCI_TCMD_REQ () {	0x8;}
}
unless(defined(&SCI_TCMD_LAST_SENT)) {
    sub SCI_TCMD_LAST_SENT () {	0x80;}
}
unless(defined(&SCI_TCMD_PHASE)) {
    sub SCI_TCMD_PHASE {
	my($x) = @_;
	eval q((($x) & 0x7));
    }
}
unless(defined(&SCI_BUS_DBP)) {
    sub SCI_BUS_DBP () {	0x1;}
}
unless(defined(&SCI_BUS_SEL)) {
    sub SCI_BUS_SEL () {	0x2;}
}
unless(defined(&SCI_BUS_IO)) {
    sub SCI_BUS_IO () {	0x4;}
}
unless(defined(&SCI_BUS_CD)) {
    sub SCI_BUS_CD () {	0x8;}
}
unless(defined(&SCI_BUS_MSG)) {
    sub SCI_BUS_MSG () {	0x10;}
}
unless(defined(&SCI_BUS_REQ)) {
    sub SCI_BUS_REQ () {	0x20;}
}
unless(defined(&SCI_BUS_BSY)) {
    sub SCI_BUS_BSY () {	0x40;}
}
unless(defined(&SCI_BUS_RST)) {
    sub SCI_BUS_RST () {	0x80;}
}
unless(defined(&SCI_BUS_PHASE)) {
    sub SCI_BUS_PHASE {
	my($x) = @_;
	eval q(((($x) >> 2) & 7));
    }
}
unless(defined(&SCI_CSR_ACK)) {
    sub SCI_CSR_ACK () {	0x1;}
}
unless(defined(&SCI_CSR_ATN)) {
    sub SCI_CSR_ATN () {	0x2;}
}
unless(defined(&SCI_CSR_DISC)) {
    sub SCI_CSR_DISC () {	0x4;}
}
unless(defined(&SCI_CSR_PHASE_MATCH)) {
    sub SCI_CSR_PHASE_MATCH () {	0x8;}
}
unless(defined(&SCI_CSR_INT)) {
    sub SCI_CSR_INT () {	0x10;}
}
unless(defined(&SCI_CSR_PERR)) {
    sub SCI_CSR_PERR () {	0x20;}
}
unless(defined(&SCI_CSR_DREQ)) {
    sub SCI_CSR_DREQ () {	0x40;}
}
unless(defined(&SCI_CSR_DONE)) {
    sub SCI_CSR_DONE () {	0x80;}
}
1;
