require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&CFREG_REV)) {
    sub CFREG_REV () {	0x;}
}
unless(defined(&CR_REV_MASK)) {
    sub CR_REV_MASK () {	0x3;}
}
unless(defined(&CR_REV_SHIFT)) {
    sub CR_REV_SHIFT () {	0;}
}
unless(defined(&CR_PRODUCT_MASK)) {
    sub CR_PRODUCT_MASK () {	0xfc;}
}
unless(defined(&CR_PRODUCT_SHIFT)) {
    sub CR_PRODUCT_SHIFT () {	2;}
}
unless(defined(&PRODUCT_S1D13806)) {
    sub PRODUCT_S1D13806 () {	0x7;}
}
unless(defined(&CFREG_MISC)) {
    sub CFREG_MISC () {	0x1;}
}
unless(defined(&CM_MEMSEL)) {
    sub CM_MEMSEL () {	0x;}
}
unless(defined(&CM_REGSEL)) {
    sub CM_REGSEL () {	0x80;}
}
unless(defined(&CFREG_GPIO_CONF)) {
    sub CFREG_GPIO_CONF () {	0x4;}
}
unless(defined(&CFREG_GPIO_CTRL)) {
    sub CFREG_GPIO_CTRL () {	0x8;}
}
unless(defined(&CFREG_STATUS)) {
    sub CFREG_STATUS () {	0xc;}
}
unless(defined(&CFREG_MEMCLK)) {
    sub CFREG_MEMCLK () {	0x10;}
}
unless(defined(&MEMCLK_DIVIDE)) {
    sub MEMCLK_DIVIDE () {	0x10;}
}
unless(defined(&MEMCLK_SRC_CLKI)) {
    sub MEMCLK_SRC_CLKI () {	0x;}
}
unless(defined(&MEMCLK_SRC_BUSCLK)) {
    sub MEMCLK_SRC_BUSCLK () {	0x1;}
}
unless(defined(&MEMCLK_SRC_CLK3)) {
    sub MEMCLK_SRC_CLK3 () {	0x2;}
}
unless(defined(&CFREG_LCD_PCLK)) {
    sub CFREG_LCD_PCLK () {	0x14;}
}
unless(defined(&LCD_PCLK_SRC_CLKI)) {
    sub LCD_PCLK_SRC_CLKI () {	0x;}
}
unless(defined(&LCD_PCLK_SRC_BUSCLK)) {
    sub LCD_PCLK_SRC_BUSCLK () {	0x1;}
}
unless(defined(&LCD_PCLK_SRC_CLKI2)) {
    sub LCD_PCLK_SRC_CLKI2 () {	0x2;}
}
unless(defined(&LCD_PCLK_SRC_MCLK)) {
    sub LCD_PCLK_SRC_MCLK () {	0x3;}
}
unless(defined(&LCD_PCLK_DIV_1)) {
    sub LCD_PCLK_DIV_1 () {	0x;}
}
unless(defined(&LCD_PCLK_DIV_2)) {
    sub LCD_PCLK_DIV_2 () {	0x10;}
}
unless(defined(&LCD_PCLK_DIV_3)) {
    sub LCD_PCLK_DIV_3 () {	0x20;}
}
unless(defined(&LCD_PCLK_DIV_4)) {
    sub LCD_PCLK_DIV_4 () {	0x30;}
}
unless(defined(&CFREG_CRTTV_PCLK)) {
    sub CFREG_CRTTV_PCLK () {	0x18;}
}
unless(defined(&CRT_PCLK_SRC_CLKI)) {
    sub CRT_PCLK_SRC_CLKI () {	0x;}
}
unless(defined(&CRT_PCLK_SRC_BUSCLK)) {
    sub CRT_PCLK_SRC_BUSCLK () {	0x1;}
}
unless(defined(&CRT_PCLK_SRC_CLKI2)) {
    sub CRT_PCLK_SRC_CLKI2 () {	0x2;}
}
unless(defined(&CRT_PCLK_SRC_MCLK)) {
    sub CRT_PCLK_SRC_MCLK () {	0x3;}
}
unless(defined(&CRT_PCLK_DIV_1)) {
    sub CRT_PCLK_DIV_1 () {	0x;}
}
unless(defined(&CRT_PCLK_DIV_2)) {
    sub CRT_PCLK_DIV_2 () {	0x10;}
}
unless(defined(&CRT_PCLK_DIV_3)) {
    sub CRT_PCLK_DIV_3 () {	0x20;}
}
unless(defined(&CRT_PCLK_DIV_4)) {
    sub CRT_PCLK_DIV_4 () {	0x30;}
}
unless(defined(&CRT_PCLK_DOUBLE)) {
    sub CRT_PCLK_DOUBLE () {	0x80;}
}
unless(defined(&CFREG_MPLUG_CLK)) {
    sub CFREG_MPLUG_CLK () {	0x1c;}
}
unless(defined(&MPLUG_PCLK_SRC_CLKI)) {
    sub MPLUG_PCLK_SRC_CLKI () {	0x;}
}
unless(defined(&MPLUG_PCLK_SRC_BUSCLK)) {
    sub MPLUG_PCLK_SRC_BUSCLK () {	0x1;}
}
unless(defined(&MPLUG_PCLK_SRC_CLKI2)) {
    sub MPLUG_PCLK_SRC_CLKI2 () {	0x2;}
}
unless(defined(&MPLUG_PCLK_SRC_MCLK)) {
    sub MPLUG_PCLK_SRC_MCLK () {	0x3;}
}
unless(defined(&MPLUG_PCLK_DIV_1)) {
    sub MPLUG_PCLK_DIV_1 () {	0x;}
}
unless(defined(&MPLUG_PCLK_DIV_2)) {
    sub MPLUG_PCLK_DIV_2 () {	0x10;}
}
unless(defined(&MPLUG_PCLK_DIV_3)) {
    sub MPLUG_PCLK_DIV_3 () {	0x20;}
}
unless(defined(&MPLUG_PCLK_DIV_4)) {
    sub MPLUG_PCLK_DIV_4 () {	0x30;}
}
unless(defined(&CFREG_WSTATE)) {
    sub CFREG_WSTATE () {	0x1e;}
}
unless(defined(&WSTATE_NONE)) {
    sub WSTATE_NONE () {	0x;}
}
unless(defined(&WSTATE_DUAL_MCLK)) {
    sub WSTATE_DUAL_MCLK () {	0x1;}
}
unless(defined(&WSTATE_MCLK)) {
    sub WSTATE_MCLK () {	0x2;}
}
unless(defined(&CFREG_MEMCNF)) {
    sub CFREG_MEMCNF () {	0x20;}
}
unless(defined(&MEMCNF_SDRAM_INIT)) {
    sub MEMCNF_SDRAM_INIT () {	0x80;}
}
unless(defined(&CFREG_DRAM_RFRSH)) {
    sub CFREG_DRAM_RFRSH () {	0x21;}
}
unless(defined(&DRAM_RFRSH_8MHZ)) {
    sub DRAM_RFRSH_8MHZ () {	0x;}
}
unless(defined(&DRAM_RFRSH_16MHZ)) {
    sub DRAM_RFRSH_16MHZ () {	0x1;}
}
unless(defined(&DRAM_RFRSH_32MHZ)) {
    sub DRAM_RFRSH_32MHZ () {	0x2;}
}
unless(defined(&DRAM_RFRSH_50MHZ)) {
    sub DRAM_RFRSH_50MHZ () {	0x3;}
}
unless(defined(&CFREG_DRAM_TIMING)) {
    sub CFREG_DRAM_TIMING () {	0x2a;}
}
unless(defined(&DRAM_TIMING_33MHZ)) {
    sub DRAM_TIMING_33MHZ () {	0x311;}
}
unless(defined(&DRAM_TIMING_44MHZ)) {
    sub DRAM_TIMING_44MHZ () {	0x200;}
}
unless(defined(&DRAM_TIMING_50MHZ)) {
    sub DRAM_TIMING_50MHZ () {	0x100;}
}
unless(defined(&CFREG_PANEL)) {
    sub CFREG_PANEL () {	0x30;}
}
unless(defined(&PANEL_PASSIVE)) {
    sub PANEL_PASSIVE () {	0x;}
}
unless(defined(&PANEL_TFT)) {
    sub PANEL_TFT () {	0x1;}
}
unless(defined(&PANEL_SINGLE)) {
    sub PANEL_SINGLE () {	0x;}
}
unless(defined(&PANEL_DUAL)) {
    sub PANEL_DUAL () {	0x2;}
}
unless(defined(&PANEL_MONO)) {
    sub PANEL_MONO () {	0x;}
}
unless(defined(&PANEL_COLOR)) {
    sub PANEL_COLOR () {	0x4;}
}
unless(defined(&PANEL_FORMAT_1X)) {
    sub PANEL_FORMAT_1X () {	0x;}
}
unless(defined(&PANEL_FORMAT_2X)) {
    sub PANEL_FORMAT_2X () {	0x8;}
}
unless(defined(&PANEL_WIDTH_4_9)) {
    sub PANEL_WIDTH_4_9 () {	0x;}
}
unless(defined(&PANEL_WIDTH_8_12)) {
    sub PANEL_WIDTH_8_12 () {	0x10;}
}
unless(defined(&PANEL_WIDTH_16_18)) {
    sub PANEL_WIDTH_16_18 () {	0x20;}
}
unless(defined(&CFREG_MODRATE)) {
    sub CFREG_MODRATE () {	0x31;}
}
unless(defined(&CFREG_LCD_HWIDTH)) {
    sub CFREG_LCD_HWIDTH () {	0x32;}
}
unless(defined(&CFREG_LCD_HNDISP)) {
    sub CFREG_LCD_HNDISP () {	0x34;}
}
unless(defined(&CFREG_TFT_FPLINE_START)) {
    sub CFREG_TFT_FPLINE_START () {	0x35;}
}
unless(defined(&CFREG_TFT_FPLINE_WIDTH)) {
    sub CFREG_TFT_FPLINE_WIDTH () {	0x36;}
}
unless(defined(&TFT_FPLINE_POL_TFT_LOW)) {
    sub TFT_FPLINE_POL_TFT_LOW () {	0x;}
}
unless(defined(&TFT_FPLINE_POL_TFT_HIGH)) {
    sub TFT_FPLINE_POL_TFT_HIGH () {	0x80;}
}
unless(defined(&TFT_FPLINE_POL_PASSIVE_LOW)) {
    sub TFT_FPLINE_POL_PASSIVE_LOW () {	0x80;}
}
unless(defined(&TFT_FPLINE_POL_PASSIVE_HIGH)) {
    sub TFT_FPLINE_POL_PASSIVE_HIGH () {	0x;}
}
unless(defined(&CFREG_LCD_VHEIGHT)) {
    sub CFREG_LCD_VHEIGHT () {	0x38;}
}
unless(defined(&CFREG_LCD_VNDISP)) {
    sub CFREG_LCD_VNDISP () {	0x3a;}
}
unless(defined(&LCD_VNDISP_STATUS)) {
    sub LCD_VNDISP_STATUS () {	0x80;}
}
unless(defined(&CFREG_TFT_FPFRAME_START)) {
    sub CFREG_TFT_FPFRAME_START () {	0x3b;}
}
unless(defined(&CFREG_TFT_FPFRAME_WIDTH)) {
    sub CFREG_TFT_FPFRAME_WIDTH () {	0x3c;}
}
unless(defined(&TFT_FPFRAME_POL_TFT_LOW)) {
    sub TFT_FPFRAME_POL_TFT_LOW () {	0x;}
}
unless(defined(&TFT_FPFRAME_POL_TFT_HIGH)) {
    sub TFT_FPFRAME_POL_TFT_HIGH () {	0x80;}
}
unless(defined(&TFT_FPFRAME_POL_PASSIVE_LOW)) {
    sub TFT_FPFRAME_POL_PASSIVE_LOW () {	0x80;}
}
unless(defined(&TFT_FPFRAME_POL_PASSIVE_HIGH)) {
    sub TFT_FPFRAME_POL_PASSIVE_HIGH () {	0x;}
}
unless(defined(&CFREG_LCD_LINECNT)) {
    sub CFREG_LCD_LINECNT () {	0x3e;}
}
unless(defined(&CFREG_LCD_MODE)) {
    sub CFREG_LCD_MODE () {	0x40;}
}
unless(defined(&LCD_MODE_4BPP)) {
    sub LCD_MODE_4BPP () {	0x2;}
}
unless(defined(&LCD_MODE_8BPP)) {
    sub LCD_MODE_8BPP () {	0x3;}
}
unless(defined(&LCD_MODE_15BPP)) {
    sub LCD_MODE_15BPP () {	0x4;}
}
unless(defined(&LCD_MODE_16BPP)) {
    sub LCD_MODE_16BPP () {	0x5;}
}
unless(defined(&LCD_MODE_SWIVEL_BIT1)) {
    sub LCD_MODE_SWIVEL_BIT1 () {	0x10;}
}
unless(defined(&LCD_MODE_BLANK)) {
    sub LCD_MODE_BLANK () {	0x80;}
}
unless(defined(&CFREG_LCD_MISC)) {
    sub CFREG_LCD_MISC () {	0x41;}
}
unless(defined(&LCD_MISC_DUAL_PANEL_BUFFER_DISABLE)) {
    sub LCD_MISC_DUAL_PANEL_BUFFER_DISABLE () {	0x1;}
}
unless(defined(&LCD_MISC_DITHERING_DISABLE)) {
    sub LCD_MISC_DITHERING_DISABLE () {	0x2;}
}
unless(defined(&CFREG_LCD_START_LOW)) {
    sub CFREG_LCD_START_LOW () {	0x42;}
}
unless(defined(&CFREG_LCD_START_HIGH)) {
    sub CFREG_LCD_START_HIGH () {	0x44;}
}
unless(defined(&CFREG_LCD_MEMORY)) {
    sub CFREG_LCD_MEMORY () {	0x46;}
}
unless(defined(&CFREG_LCD_PANNING)) {
    sub CFREG_LCD_PANNING () {	0x48;}
}
unless(defined(&PIXEL_PANNING_MASK_4BPP)) {
    sub PIXEL_PANNING_MASK_4BPP () {	0x3;}
}
unless(defined(&PIXEL_PANNING_MASK_8BPP)) {
    sub PIXEL_PANNING_MASK_8BPP () {	0x1;}
}
unless(defined(&PIXEL_PANNING_MASK_15BPP)) {
    sub PIXEL_PANNING_MASK_15BPP () {	0x;}
}
unless(defined(&PIXEL_PANNING_MASK_16BPP)) {
    sub PIXEL_PANNING_MASK_16BPP () {	0x;}
}
unless(defined(&CFREG_LCD_FIFO_THRESHOLD_HIGH)) {
    sub CFREG_LCD_FIFO_THRESHOLD_HIGH () {	0x4a;}
}
unless(defined(&CFREG_LCD_FIFO_THRESHOLD_LOW)) {
    sub CFREG_LCD_FIFO_THRESHOLD_LOW () {	0x4b;}
}
unless(defined(&CFREG_CRT_HWIDTH)) {
    sub CFREG_CRT_HWIDTH () {	0x50;}
}
unless(defined(&CFREG_CRT_HNDISP)) {
    sub CFREG_CRT_HNDISP () {	0x52;}
}
unless(defined(&CFREG_CRT_HSTART)) {
    sub CFREG_CRT_HSTART () {	0x53;}
}
unless(defined(&CFREG_CRT_HPULSE)) {
    sub CFREG_CRT_HPULSE () {	0x54;}
}
unless(defined(&HRTC_POLARITY)) {
    sub HRTC_POLARITY () {	0x80;}
}
unless(defined(&CFREG_CRT_VHEIGHT)) {
    sub CFREG_CRT_VHEIGHT () {	0x56;}
}
unless(defined(&CFREG_CRT_VNDISP)) {
    sub CFREG_CRT_VNDISP () {	0x58;}
}
unless(defined(&CRT_VNDISP_STATUS)) {
    sub CRT_VNDISP_STATUS () {	0x80;}
}
unless(defined(&CFREG_CRT_VSTART)) {
    sub CFREG_CRT_VSTART () {	0x59;}
}
unless(defined(&CFREG_CRT_VPULSE)) {
    sub CFREG_CRT_VPULSE () {	0x5a;}
}
unless(defined(&CFREG_TV_CONTROL)) {
    sub CFREG_TV_CONTROL () {	0x5b;}
}
unless(defined(&TV_NTSC_OUTPUT)) {
    sub TV_NTSC_OUTPUT () {	0x;}
}
unless(defined(&TV_PAL_OUTPUT)) {
    sub TV_PAL_OUTPUT () {	0x1;}
}
unless(defined(&TV_COMPOSITE_OUTPUT)) {
    sub TV_COMPOSITE_OUTPUT () {	0x;}
}
unless(defined(&TV_SVIDEO_OUTPUT)) {
    sub TV_SVIDEO_OUTPUT () {	0x2;}
}
unless(defined(&TV_DAC_OUTPUT_HIGH)) {
    sub TV_DAC_OUTPUT_HIGH () {	0x;}
}
unless(defined(&TV_DAC_OUTPUT_LOW)) {
    sub TV_DAC_OUTPUT_LOW () {	0x8;}
}
unless(defined(&TV_LUMINANCE_FILTER)) {
    sub TV_LUMINANCE_FILTER () {	0x10;}
}
unless(defined(&TV_CHROMINANCE_FILTER)) {
    sub TV_CHROMINANCE_FILTER () {	0x20;}
}
unless(defined(&CFREG_CRT_LINECNT)) {
    sub CFREG_CRT_LINECNT () {	0x5e;}
}
unless(defined(&CFREG_CRT_MODE)) {
    sub CFREG_CRT_MODE () {	0x60;}
}
unless(defined(&CRT_MODE_4BPP)) {
    sub CRT_MODE_4BPP () {	0x2;}
}
unless(defined(&CRT_MODE_8BPP)) {
    sub CRT_MODE_8BPP () {	0x3;}
}
unless(defined(&CRT_MODE_15BPP)) {
    sub CRT_MODE_15BPP () {	0x4;}
}
unless(defined(&CRT_MODE_16BPP)) {
    sub CRT_MODE_16BPP () {	0x5;}
}
unless(defined(&CRT_MODE_BLANK)) {
    sub CRT_MODE_BLANK () {	0x80;}
}
unless(defined(&CFREG_CRT_START_LOW)) {
    sub CFREG_CRT_START_LOW () {	0x62;}
}
unless(defined(&CFREG_CRT_START_HIGH)) {
    sub CFREG_CRT_START_HIGH () {	0x64;}
}
unless(defined(&CFREG_CRT_MEMORY)) {
    sub CFREG_CRT_MEMORY () {	0x66;}
}
unless(defined(&CFREG_CRT_PANNING)) {
    sub CFREG_CRT_PANNING () {	0x68;}
}
unless(defined(&CFREG_CRT_FIFO_THRESHOLD_HIGH)) {
    sub CFREG_CRT_FIFO_THRESHOLD_HIGH () {	0x6a;}
}
unless(defined(&CFREG_CRT_FIFO_THRESHOLD_LOW)) {
    sub CFREG_CRT_FIFO_THRESHOLD_LOW () {	0x6b;}
}
unless(defined(&CFREG_LCD_CURSOR_CONTROL)) {
    sub CFREG_LCD_CURSOR_CONTROL () {	0x70;}
}
unless(defined(&CURSOR_INACTIVE)) {
    sub CURSOR_INACTIVE () {	0x;}
}
unless(defined(&CURSOR_CURSOR)) {
    sub CURSOR_CURSOR () {	0x1;}
}
unless(defined(&CURSOR_INK)) {
    sub CURSOR_INK () {	0x2;}
}
unless(defined(&CFREG_LCD_CURSOR_ADDRESS)) {
    sub CFREG_LCD_CURSOR_ADDRESS () {	0x71;}
}
unless(defined(&CFREG_LCD_CURSOR_X)) {
    sub CFREG_LCD_CURSOR_X () {	0x72;}
}
unless(defined(&LCD_CURSOR_X_SIGN)) {
    sub LCD_CURSOR_X_SIGN () {	0x8000;}
}
unless(defined(&CFREG_LCD_CURSOR_Y)) {
    sub CFREG_LCD_CURSOR_Y () {	0x74;}
}
unless(defined(&LCD_CURSOR_Y_SIGN)) {
    sub LCD_CURSOR_Y_SIGN () {	0x8000;}
}
unless(defined(&CFREG_LCD_CURSOR_B0)) {
    sub CFREG_LCD_CURSOR_B0 () {	0x76;}
}
unless(defined(&CFREG_LCD_CURSOR_G0)) {
    sub CFREG_LCD_CURSOR_G0 () {	0x77;}
}
unless(defined(&CFREG_LCD_CURSOR_R0)) {
    sub CFREG_LCD_CURSOR_R0 () {	0x78;}
}
unless(defined(&CFREG_LCD_CURSOR_B1)) {
    sub CFREG_LCD_CURSOR_B1 () {	0x7a;}
}
unless(defined(&CFREG_LCD_CURSOR_G1)) {
    sub CFREG_LCD_CURSOR_G1 () {	0x7b;}
}
unless(defined(&CFREG_LCD_CURSOR_R1)) {
    sub CFREG_LCD_CURSOR_R1 () {	0x7c;}
}
unless(defined(&CFREG_LCD_CURSOR_FIFO)) {
    sub CFREG_LCD_CURSOR_FIFO () {	0x7e;}
}
unless(defined(&CFREG_CRT_CURSOR_CONTROL)) {
    sub CFREG_CRT_CURSOR_CONTROL () {	0x80;}
}
unless(defined(&CFREG_CRT_CURSOR_ADDRESS)) {
    sub CFREG_CRT_CURSOR_ADDRESS () {	0x81;}
}
unless(defined(&CFREG_CRT_CURSOR_X)) {
    sub CFREG_CRT_CURSOR_X () {	0x82;}
}
unless(defined(&CRT_CURSOR_X_SIGN)) {
    sub CRT_CURSOR_X_SIGN () {	0x8000;}
}
unless(defined(&CFREG_CRT_CURSOR_Y)) {
    sub CFREG_CRT_CURSOR_Y () {	0x84;}
}
unless(defined(&CRT_CURSOR_Y_SIGN)) {
    sub CRT_CURSOR_Y_SIGN () {	0x8000;}
}
unless(defined(&CFREG_CRT_CURSOR_B0)) {
    sub CFREG_CRT_CURSOR_B0 () {	0x86;}
}
unless(defined(&CFREG_CRT_CURSOR_G0)) {
    sub CFREG_CRT_CURSOR_G0 () {	0x87;}
}
unless(defined(&CFREG_CRT_CURSOR_R0)) {
    sub CFREG_CRT_CURSOR_R0 () {	0x88;}
}
unless(defined(&CFREG_CRT_CURSOR_B1)) {
    sub CFREG_CRT_CURSOR_B1 () {	0x8a;}
}
unless(defined(&CFREG_CRT_CURSOR_G1)) {
    sub CFREG_CRT_CURSOR_G1 () {	0x8b;}
}
unless(defined(&CFREG_CRT_CURSOR_R1)) {
    sub CFREG_CRT_CURSOR_R1 () {	0x8c;}
}
unless(defined(&CFREG_CRT_CURSOR_FIFO)) {
    sub CFREG_CRT_CURSOR_FIFO () {	0x8e;}
}
unless(defined(&CFREG_BITBLT_CONTROL)) {
    sub CFREG_BITBLT_CONTROL () {	0x100;}
}
unless(defined(&BITBLT_SRC_LINEAR)) {
    sub BITBLT_SRC_LINEAR () {	0x1;}
}
unless(defined(&BITBLT_DST_LINEAR)) {
    sub BITBLT_DST_LINEAR () {	0x2;}
}
unless(defined(&BITBLT_FIFO_FULL)) {
    sub BITBLT_FIFO_FULL () {	0x10;}
}
unless(defined(&BITBLT_FIFO_HALF_FULL)) {
    sub BITBLT_FIFO_HALF_FULL () {	0x20;}
}
unless(defined(&BITBLT_FIFO_NOT_EMPTY)) {
    sub BITBLT_FIFO_NOT_EMPTY () {	0x40;}
}
unless(defined(&BITBLT_ACTIVE)) {
    sub BITBLT_ACTIVE () {	0x80;}
}
unless(defined(&BITBLT_COLOR_8)) {
    sub BITBLT_COLOR_8 () {	0x;}
}
unless(defined(&BITBLT_COLOR_16)) {
    sub BITBLT_COLOR_16 () {	0x100;}
}
unless(defined(&CFREG_BITBLT_ROP)) {
    sub CFREG_BITBLT_ROP () {	0x102;}
}
unless(defined(&CFREG_COLOR_EXPANSION)) {
    sub CFREG_COLOR_EXPANSION () {	0x102;}
}
unless(defined(&ROP_ZERO)) {
    sub ROP_ZERO () {	0x;}
}
unless(defined(&ROP_DST)) {
    sub ROP_DST () {	0xa;}
}
unless(defined(&ROP_SRC)) {
    sub ROP_SRC () {	0xc;}
}
unless(defined(&ROP_ONES)) {
    sub ROP_ONES () {	0xf;}
}
unless(defined(&CFREG_BITBLT_OPERATION)) {
    sub CFREG_BITBLT_OPERATION () {	0x103;}
}
unless(defined(&OP_WRITE_ROP)) {
    sub OP_WRITE_ROP () {	0x;}
}
unless(defined(&OP_READ)) {
    sub OP_READ () {	0x1;}
}
unless(defined(&OP_MOVE_POSITIVE_ROP)) {
    sub OP_MOVE_POSITIVE_ROP () {	0x2;}
}
unless(defined(&OP_MOVE_NEGATIVE_ROP)) {
    sub OP_MOVE_NEGATIVE_ROP () {	0x3;}
}
unless(defined(&OP_TRANSPARENT_WRITE)) {
    sub OP_TRANSPARENT_WRITE () {	0x4;}
}
unless(defined(&OP_TRANSPARENT_MOVE_POSITIVE)) {
    sub OP_TRANSPARENT_MOVE_POSITIVE () {	0x5;}
}
unless(defined(&OP_PATTERN_FILL_ROP)) {
    sub OP_PATTERN_FILL_ROP () {	0x6;}
}
unless(defined(&OP_PATTERN_FILL_TRANSPARENCY)) {
    sub OP_PATTERN_FILL_TRANSPARENCY () {	0x7;}
}
unless(defined(&OP_COLOR_EXPANSION)) {
    sub OP_COLOR_EXPANSION () {	0x8;}
}
unless(defined(&OP_COLOR_EXPANSION_TRANSPARENCY)) {
    sub OP_COLOR_EXPANSION_TRANSPARENCY () {	0x9;}
}
unless(defined(&OP_MOVE_COLOR_EXPANSION)) {
    sub OP_MOVE_COLOR_EXPANSION () {	0xa;}
}
unless(defined(&OP_MOVE_COLOR_EXPANSION_TRANSPARENCY)) {
    sub OP_MOVE_COLOR_EXPANSION_TRANSPARENCY () {	0xb;}
}
unless(defined(&OP_SOLID_FILL)) {
    sub OP_SOLID_FILL () {	0xc;}
}
unless(defined(&CFREG_BITBLT_SRC_LOW)) {
    sub CFREG_BITBLT_SRC_LOW () {	0x104;}
}
unless(defined(&CFREG_BITBLT_SRC_HIGH)) {
    sub CFREG_BITBLT_SRC_HIGH () {	0x106;}
}
unless(defined(&CFREG_BITBLT_DST_LOW)) {
    sub CFREG_BITBLT_DST_LOW () {	0x108;}
}
unless(defined(&CFREG_BITBLT_DST_HIGH)) {
    sub CFREG_BITBLT_DST_HIGH () {	0x10a;}
}
unless(defined(&CFREG_BITBLT_OFFSET)) {
    sub CFREG_BITBLT_OFFSET () {	0x10c;}
}
unless(defined(&CFREG_BITBLT_WIDTH)) {
    sub CFREG_BITBLT_WIDTH () {	0x110;}
}
unless(defined(&CFREG_BITBLT_HEIGHT)) {
    sub CFREG_BITBLT_HEIGHT () {	0x112;}
}
unless(defined(&CFREG_BITBLT_BG)) {
    sub CFREG_BITBLT_BG () {	0x114;}
}
unless(defined(&CFREG_BITBLT_FG)) {
    sub CFREG_BITBLT_FG () {	0x118;}
}
unless(defined(&CFREG_LUT_MODE)) {
    sub CFREG_LUT_MODE () {	0x1e0;}
}
unless(defined(&LUT_BOTH)) {
    sub LUT_BOTH () {	0x;}
}
unless(defined(&LUT_LCD)) {
    sub LUT_LCD () {	0x1;}
}
unless(defined(&LUT_CRT)) {
    sub LUT_CRT () {	0x2;}
}
unless(defined(&CFREG_LUT_ADDRESS)) {
    sub CFREG_LUT_ADDRESS () {	0x1e2;}
}
unless(defined(&CFREG_LUT_DATA)) {
    sub CFREG_LUT_DATA () {	0x1e4;}
}
unless(defined(&CFREG_POWER_CONF)) {
    sub CFREG_POWER_CONF () {	0x1f0;}
}
unless(defined(&POWERSAVE_ENABLE)) {
    sub POWERSAVE_ENABLE () {	0x1;}
}
unless(defined(&POWERSAVE_MBO)) {
    sub POWERSAVE_MBO () {	0x10;}
}
unless(defined(&CFREG_POWER_STATUS)) {
    sub CFREG_POWER_STATUS () {	0x1f1;}
}
unless(defined(&POWERSAVE_STATUS)) {
    sub POWERSAVE_STATUS () {	0x1;}
}
unless(defined(&LCD_POWERSAVE_STATUS)) {
    sub LCD_POWERSAVE_STATUS () {	0x2;}
}
unless(defined(&CFREG_WATCHDOG)) {
    sub CFREG_WATCHDOG () {	0x1f4;}
}
unless(defined(&CFREG_MODE)) {
    sub CFREG_MODE () {	0x1fc;}
}
unless(defined(&MODE_NO_DISPLAY)) {
    sub MODE_NO_DISPLAY () {	0x;}
}
unless(defined(&MODE_LCD)) {
    sub MODE_LCD () {	0x1;}
}
unless(defined(&MODE_CRT)) {
    sub MODE_CRT () {	0x2;}
}
unless(defined(&MODE_TV_NO_FLICKER)) {
    sub MODE_TV_NO_FLICKER () {	0x4;}
}
unless(defined(&MODE_TV_FLICKER)) {
    sub MODE_TV_FLICKER () {	0x6;}
}
unless(defined(&LCD_MODE_SWIVEL_BIT_0)) {
    sub LCD_MODE_SWIVEL_BIT_0 () {	0x40;}
}
unless(defined(&CFREG_BITBLT_DATA)) {
    sub CFREG_BITBLT_DATA () {	0x400;}
}
if(defined(&_KERNEL)) {
    eval 'sub CFXGA_MEM_RANGE () {0x800;}' unless defined(&CFXGA_MEM_RANGE);
}
1;
