require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_AMD64_SYSARCH_H_)) {
    eval 'sub _AMD64_SYSARCH_H_ () {1;}' unless defined(&_AMD64_SYSARCH_H_);
    eval 'sub AMD64_GET_LDT () {0;}' unless defined(&AMD64_GET_LDT);
    eval 'sub AMD64_SET_LDT () {1;}' unless defined(&AMD64_SET_LDT);
    eval 'sub AMD64_IOPL () {2;}' unless defined(&AMD64_IOPL);
    eval 'sub AMD64_GET_IOPERM () {3;}' unless defined(&AMD64_GET_IOPERM);
    eval 'sub AMD64_SET_IOPERM () {4;}' unless defined(&AMD64_SET_IOPERM);
    eval 'sub AMD64_VM86 () {5;}' unless defined(&AMD64_VM86);
    eval 'sub AMD64_PMC_INFO () {8;}' unless defined(&AMD64_PMC_INFO);
    eval 'sub AMD64_PMC_STARTSTOP () {9;}' unless defined(&AMD64_PMC_STARTSTOP);
    eval 'sub AMD64_PMC_READ () {10;}' unless defined(&AMD64_PMC_READ);
    eval 'sub AMD64_GET_MTRR () {11;}' unless defined(&AMD64_GET_MTRR);
    eval 'sub AMD64_SET_MTRR () {12;}' unless defined(&AMD64_SET_MTRR);
    eval 'sub PMC_TYPE_NONE () {0;}' unless defined(&PMC_TYPE_NONE);
    eval 'sub PMC_TYPE_I586 () {1;}' unless defined(&PMC_TYPE_I586);
    eval 'sub PMC_TYPE_I686 () {2;}' unless defined(&PMC_TYPE_I686);
    eval 'sub PMC_INFO_HASTSC () {0x1;}' unless defined(&PMC_INFO_HASTSC);
    eval 'sub PMC_NCOUNTERS () {2;}' unless defined(&PMC_NCOUNTERS);
    eval 'sub PMC_SETUP_KERNEL () {0x1;}' unless defined(&PMC_SETUP_KERNEL);
    eval 'sub PMC_SETUP_USER () {0x2;}' unless defined(&PMC_SETUP_USER);
    eval 'sub PMC_SETUP_EDGE () {0x4;}' unless defined(&PMC_SETUP_EDGE);
    eval 'sub PMC_SETUP_INV () {0x8;}' unless defined(&PMC_SETUP_INV);
    if(defined(&_KERNEL)) {
    } else {
    }
}
1;
