require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_QEMUFWCFGIO_H)) {
    eval 'sub _QEMUFWCFGIO_H () {1;}' unless defined(&_QEMUFWCFGIO_H);
    require 'sys/ioccom.ph';
    eval 'sub FW_CFG_SIGNATURE () {0x;}' unless defined(&FW_CFG_SIGNATURE);
    eval 'sub FW_CFG_ID () {0x1;}' unless defined(&FW_CFG_ID);
    eval 'sub FW_CFG_FILE_DIR () {0x19;}' unless defined(&FW_CFG_FILE_DIR);
    eval 'sub FW_CFG_FILE_FIRST () {0x20;}' unless defined(&FW_CFG_FILE_FIRST);
    eval 'sub FWCFGIO_SET_INDEX () { &_IOW(ord(\'q\'), 0,  &uint16_t);}' unless defined(&FWCFGIO_SET_INDEX);
}
1;
