require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_TC_SFBREG_H_)) {
    eval 'sub _DEV_TC_SFBREG_H_ () {1;}' unless defined(&_DEV_TC_SFBREG_H_);
    eval 'sub SFB_SIZE () {0x1000000;}' unless defined(&SFB_SIZE);
    eval 'sub SFB_ASIC_OFFSET () {0x100000;}' unless defined(&SFB_ASIC_OFFSET);
    eval 'sub SFB_ASIC_SIZE () {0x20000;}' unless defined(&SFB_ASIC_SIZE);
    eval 'sub SFB_RAMDAC_OFFSET () {0x1c0000;}' unless defined(&SFB_RAMDAC_OFFSET);
    eval 'sub SFB_RAMDAC_SIZE () {0x40000;}' unless defined(&SFB_RAMDAC_SIZE);
    eval 'sub SFB_FB_OFFSET () {0x200000;}' unless defined(&SFB_FB_OFFSET);
    eval 'sub SFB_FB_SIZE () {0x200000;}' unless defined(&SFB_FB_SIZE);
    eval 'sub SFB_OSBM_OFFSET () {0x600000;}' unless defined(&SFB_OSBM_OFFSET);
    eval 'sub SFB_OSBM_SIZE () {0x200000;}' unless defined(&SFB_OSBM_SIZE);
    eval 'sub SFB_ASIC_COPYBUF_0 () {0x;}' unless defined(&SFB_ASIC_COPYBUF_0);
    eval 'sub SFB_ASIC_COPYBUF_1 () {0x4;}' unless defined(&SFB_ASIC_COPYBUF_1);
    eval 'sub SFB_ASIC_COPYBUF_2 () {0x8;}' unless defined(&SFB_ASIC_COPYBUF_2);
    eval 'sub SFB_ASIC_COPYBUF_3 () {0xc;}' unless defined(&SFB_ASIC_COPYBUF_3);
    eval 'sub SFB_ASIC_COPYBUF_4 () {0x10;}' unless defined(&SFB_ASIC_COPYBUF_4);
    eval 'sub SFB_ASIC_COPYBUF_5 () {0x14;}' unless defined(&SFB_ASIC_COPYBUF_5);
    eval 'sub SFB_ASIC_COPYBUF_6 () {0x18;}' unless defined(&SFB_ASIC_COPYBUF_6);
    eval 'sub SFB_ASIC_COPYBUF_7 () {0x1c;}' unless defined(&SFB_ASIC_COPYBUF_7);
    eval 'sub SFB_ASIC_FG () {0x20;}' unless defined(&SFB_ASIC_FG);
    eval 'sub SFB_ASIC_BG () {0x24;}' unless defined(&SFB_ASIC_BG);
    eval 'sub SFB_ASIC_PLANEMASK () {0x28;}' unless defined(&SFB_ASIC_PLANEMASK);
    eval 'sub SFB_ASIC_PIXELMASK () {0x2c;}' unless defined(&SFB_ASIC_PIXELMASK);
    eval 'sub SFB_ASIC_MODE () {0x30;}' unless defined(&SFB_ASIC_MODE);
    eval 'sub SFB_ASIC_ROP () {0x34;}' unless defined(&SFB_ASIC_ROP);
    eval 'sub SFB_ASIC_PIXELSHIFT () {0x38;}' unless defined(&SFB_ASIC_PIXELSHIFT);
    eval 'sub SFB_ASIC_ADDRESS () {0x3c;}' unless defined(&SFB_ASIC_ADDRESS);
    eval 'sub SFB_ASIC_BRES1 () {0x40;}' unless defined(&SFB_ASIC_BRES1);
    eval 'sub SFB_ASIC_BRES2 () {0x44;}' unless defined(&SFB_ASIC_BRES2);
    eval 'sub SFB_ASIC_BRES3 () {0x48;}' unless defined(&SFB_ASIC_BRES3);
    eval 'sub SFB_ASIC_BCONT () {0x4c;}' unless defined(&SFB_ASIC_BCONT);
    eval 'sub SFB_ASIC_DEEP () {0x50;}' unless defined(&SFB_ASIC_DEEP);
    eval 'sub SFB_ASIC_START () {0x54;}' unless defined(&SFB_ASIC_START);
    eval 'sub SFB_ASIC_CLEAR_INTR () {0x58;}' unless defined(&SFB_ASIC_CLEAR_INTR);
    eval 'sub SFB_ASIC_VIDEO_REFRESH () {0x60;}' unless defined(&SFB_ASIC_VIDEO_REFRESH);
    eval 'sub SFB_ASIC_VIDEO_HSETUP () {0x64;}' unless defined(&SFB_ASIC_VIDEO_HSETUP);
    eval 'sub SFB_ASIC_VIDEO_VSETUP () {0x68;}' unless defined(&SFB_ASIC_VIDEO_VSETUP);
    eval 'sub SFB_ASIC_VIDEO_BASE () {0x6c;}' unless defined(&SFB_ASIC_VIDEO_BASE);
    eval 'sub SFB_ASIC_VIDEO_VALID () {0x70;}' unless defined(&SFB_ASIC_VIDEO_VALID);
    eval 'sub SFB_ASIC_ENABLE_INTR () {0x74;}' unless defined(&SFB_ASIC_ENABLE_INTR);
    eval 'sub SFB_ASIC_TCCLK () {0x78;}' unless defined(&SFB_ASIC_TCCLK);
    eval 'sub SFB_ASIC_VIDCLK () {0x7c;}' unless defined(&SFB_ASIC_VIDCLK);
    eval 'sub SFB_REG_GCBR0 () {0x;}' unless defined(&SFB_REG_GCBR0);
    eval 'sub SFB_REG_GCBR1 () {0x1;}' unless defined(&SFB_REG_GCBR1);
    eval 'sub SFB_REG_GCBR2 () {0x2;}' unless defined(&SFB_REG_GCBR2);
    eval 'sub SFB_REG_GCBR3 () {0x3;}' unless defined(&SFB_REG_GCBR3);
    eval 'sub SFB_REG_GCBR4 () {0x4;}' unless defined(&SFB_REG_GCBR4);
    eval 'sub SFB_REG_GCBR5 () {0x5;}' unless defined(&SFB_REG_GCBR5);
    eval 'sub SFB_REG_GCBR6 () {0x6;}' unless defined(&SFB_REG_GCBR6);
    eval 'sub SFB_REG_GCBR7 () {0x7;}' unless defined(&SFB_REG_GCBR7);
    eval 'sub SFB_REG_GFGR () {0x8;}' unless defined(&SFB_REG_GFGR);
    eval 'sub SFB_REG_GBGR () {0x9;}' unless defined(&SFB_REG_GBGR);
    eval 'sub SFB_REG_GPMR () {0xa;}' unless defined(&SFB_REG_GPMR);
    eval 'sub SFB_REG_GPXR_S () {0xb;}' unless defined(&SFB_REG_GPXR_S);
    eval 'sub SFB_REG_GMOR () {0xc;}' unless defined(&SFB_REG_GMOR);
    eval 'sub SFB_REG_GOPR () {0xd;}' unless defined(&SFB_REG_GOPR);
    eval 'sub SFB_REG_GPSR () {0xe;}' unless defined(&SFB_REG_GPSR);
    eval 'sub SFB_REG_GADR () {0xf;}' unless defined(&SFB_REG_GADR);
    eval 'sub SFB_REG_GB1R () {0x10;}' unless defined(&SFB_REG_GB1R);
    eval 'sub SFB_REG_GB2R () {0x11;}' unless defined(&SFB_REG_GB2R);
    eval 'sub SFB_REG_GB3R () {0x12;}' unless defined(&SFB_REG_GB3R);
    eval 'sub SFB_REG_GCTR () {0x13;}' unless defined(&SFB_REG_GCTR);
    eval 'sub SFB_REG_GDER () {0x14;}' unless defined(&SFB_REG_GDER);
    eval 'sub SFB_REG_GREV () {0x15;}' unless defined(&SFB_REG_GREV);
    eval 'sub SFB_REG_CINT () {0x16;}' unless defined(&SFB_REG_CINT);
    eval 'sub SFB_REG_VRFR () {0x18;}' unless defined(&SFB_REG_VRFR);
    eval 'sub SFB_REG_VHCR () {0x19;}' unless defined(&SFB_REG_VHCR);
    eval 'sub SFB_REG_VVCR () {0x1a;}' unless defined(&SFB_REG_VVCR);
    eval 'sub SFB_REG_VVBR () {0x1b;}' unless defined(&SFB_REG_VVBR);
    eval 'sub SFB_REG_VVVR () {0x1c;}' unless defined(&SFB_REG_VVVR);
    eval 'sub SFB_REG_SISR () {0x1d;}' unless defined(&SFB_REG_SISR);
    eval 'sub SFB_REG_TCCLK () {0x1e;}' unless defined(&SFB_REG_TCCLK);
    eval 'sub SFB_REG_VIDCLK () {0x1f;}' unless defined(&SFB_REG_VIDCLK);
}
1;
