require '_h2ph_pre.ph';

unless(defined(&_LINUX_KD_H)) {
    eval 'sub _LINUX_KD_H () {1;}' unless defined(&_LINUX_KD_H);
    require 'linux/types.ph';
    eval 'sub GIO_FONT () {0x4b60;}' unless defined(&GIO_FONT);
    eval 'sub PIO_FONT () {0x4b61;}' unless defined(&PIO_FONT);
    eval 'sub GIO_FONTX () {0x4b6b;}' unless defined(&GIO_FONTX);
    eval 'sub PIO_FONTX () {0x4b6c;}' unless defined(&PIO_FONTX);
    eval 'sub PIO_FONTRESET () {0x4b6d;}' unless defined(&PIO_FONTRESET);
    eval 'sub GIO_CMAP () {0x4b70;}' unless defined(&GIO_CMAP);
    eval 'sub PIO_CMAP () {0x4b71;}' unless defined(&PIO_CMAP);
    eval 'sub KIOCSOUND () {0x4b2f;}' unless defined(&KIOCSOUND);
    eval 'sub KDMKTONE () {0x4b30;}' unless defined(&KDMKTONE);
    eval 'sub KDGETLED () {0x4b31;}' unless defined(&KDGETLED);
    eval 'sub KDSETLED () {0x4b32;}' unless defined(&KDSETLED);
    eval 'sub LED_SCR () {0x1;}' unless defined(&LED_SCR);
    eval 'sub LED_CAP () {0x4;}' unless defined(&LED_CAP);
    eval 'sub LED_NUM () {0x2;}' unless defined(&LED_NUM);
    eval 'sub KDGKBTYPE () {0x4b33;}' unless defined(&KDGKBTYPE);
    eval 'sub KB_84 () {0x1;}' unless defined(&KB_84);
    eval 'sub KB_101 () {0x2;}' unless defined(&KB_101);
    eval 'sub KB_OTHER () {0x3;}' unless defined(&KB_OTHER);
    eval 'sub KDADDIO () {0x4b34;}' unless defined(&KDADDIO);
    eval 'sub KDDELIO () {0x4b35;}' unless defined(&KDDELIO);
    eval 'sub KDENABIO () {0x4b36;}' unless defined(&KDENABIO);
    eval 'sub KDDISABIO () {0x4b37;}' unless defined(&KDDISABIO);
    eval 'sub KDSETMODE () {0x4b3a;}' unless defined(&KDSETMODE);
    eval 'sub KD_TEXT () {0x;}' unless defined(&KD_TEXT);
    eval 'sub KD_GRAPHICS () {0x1;}' unless defined(&KD_GRAPHICS);
    eval 'sub KD_TEXT0 () {0x2;}' unless defined(&KD_TEXT0);
    eval 'sub KD_TEXT1 () {0x3;}' unless defined(&KD_TEXT1);
    eval 'sub KDGETMODE () {0x4b3b;}' unless defined(&KDGETMODE);
    eval 'sub KDMAPDISP () {0x4b3c;}' unless defined(&KDMAPDISP);
    eval 'sub KDUNMAPDISP () {0x4b3d;}' unless defined(&KDUNMAPDISP);
    eval 'sub E_TABSZ () {256;}' unless defined(&E_TABSZ);
    eval 'sub GIO_SCRNMAP () {0x4b40;}' unless defined(&GIO_SCRNMAP);
    eval 'sub PIO_SCRNMAP () {0x4b41;}' unless defined(&PIO_SCRNMAP);
    eval 'sub GIO_UNISCRNMAP () {0x4b69;}' unless defined(&GIO_UNISCRNMAP);
    eval 'sub PIO_UNISCRNMAP () {0x4b6a;}' unless defined(&PIO_UNISCRNMAP);
    eval 'sub GIO_UNIMAP () {0x4b66;}' unless defined(&GIO_UNIMAP);
    eval 'sub PIO_UNIMAP () {0x4b67;}' unless defined(&PIO_UNIMAP);
    eval 'sub PIO_UNIMAPCLR () {0x4b68;}' unless defined(&PIO_UNIMAPCLR);
    eval 'sub UNI_DIRECT_BASE () {0xf000;}' unless defined(&UNI_DIRECT_BASE);
    eval 'sub UNI_DIRECT_MASK () {0x1ff;}' unless defined(&UNI_DIRECT_MASK);
    eval 'sub K_RAW () {0x;}' unless defined(&K_RAW);
    eval 'sub K_XLATE () {0x1;}' unless defined(&K_XLATE);
    eval 'sub K_MEDIUMRAW () {0x2;}' unless defined(&K_MEDIUMRAW);
    eval 'sub K_UNICODE () {0x3;}' unless defined(&K_UNICODE);
    eval 'sub KDGKBMODE () {0x4b44;}' unless defined(&KDGKBMODE);
    eval 'sub KDSKBMODE () {0x4b45;}' unless defined(&KDSKBMODE);
    eval 'sub K_METABIT () {0x3;}' unless defined(&K_METABIT);
    eval 'sub K_ESCPREFIX () {0x4;}' unless defined(&K_ESCPREFIX);
    eval 'sub KDGKBMETA () {0x4b62;}' unless defined(&KDGKBMETA);
    eval 'sub KDSKBMETA () {0x4b63;}' unless defined(&KDSKBMETA);
    eval 'sub K_SCROLLLOCK () {0x1;}' unless defined(&K_SCROLLLOCK);
    eval 'sub K_CAPSLOCK () {0x2;}' unless defined(&K_CAPSLOCK);
    eval 'sub K_NUMLOCK () {0x4;}' unless defined(&K_NUMLOCK);
    eval 'sub KDGKBLED () {0x4b64;}' unless defined(&KDGKBLED);
    eval 'sub KDSKBLED () {0x4b65;}' unless defined(&KDSKBLED);
    eval 'sub K_NORMTAB () {0x;}' unless defined(&K_NORMTAB);
    eval 'sub K_SHIFTTAB () {0x1;}' unless defined(&K_SHIFTTAB);
    eval 'sub K_ALTTAB () {0x2;}' unless defined(&K_ALTTAB);
    eval 'sub K_ALTSHIFTTAB () {0x3;}' unless defined(&K_ALTSHIFTTAB);
    eval 'sub KDGKBENT () {0x4b46;}' unless defined(&KDGKBENT);
    eval 'sub KDSKBENT () {0x4b47;}' unless defined(&KDSKBENT);
    eval 'sub KDGKBSENT () {0x4b48;}' unless defined(&KDGKBSENT);
    eval 'sub KDSKBSENT () {0x4b49;}' unless defined(&KDSKBSENT);
    eval 'sub KDGKBDIACR () {0x4b4a;}' unless defined(&KDGKBDIACR);
    eval 'sub KDSKBDIACR () {0x4b4b;}' unless defined(&KDSKBDIACR);
    eval 'sub KDGETKEYCODE () {0x4b4c;}' unless defined(&KDGETKEYCODE);
    eval 'sub KDSETKEYCODE () {0x4b4d;}' unless defined(&KDSETKEYCODE);
    eval 'sub KDSIGACCEPT () {0x4b4e;}' unless defined(&KDSIGACCEPT);
    eval 'sub KDGHWCLK () {0x4b50;}' unless defined(&KDGHWCLK);
    eval 'sub KDSHWCLK () {0x4b51;}' unless defined(&KDSHWCLK);
    eval 'sub KDKBDREP () {0x4b52;}' unless defined(&KDKBDREP);
    eval 'sub KDFONTOP () {0x4b72;}' unless defined(&KDFONTOP);
    eval 'sub KD_FONT_OP_SET () {0;}' unless defined(&KD_FONT_OP_SET);
    eval 'sub KD_FONT_OP_GET () {1;}' unless defined(&KD_FONT_OP_GET);
    eval 'sub KD_FONT_OP_SET_DEFAULT () {2;}' unless defined(&KD_FONT_OP_SET_DEFAULT);
    eval 'sub KD_FONT_OP_COPY () {3;}' unless defined(&KD_FONT_OP_COPY);
    eval 'sub KD_FONT_FLAG_DONT_RECALC () {1;}' unless defined(&KD_FONT_FLAG_DONT_RECALC);
}
1;
