require '_h2ph_pre.ph';

unless(defined(&_SYS_DEBUGREG_H)) {
    eval 'sub _SYS_DEBUGREG_H () {1;}' unless defined(&_SYS_DEBUGREG_H);
    eval 'sub DR_FIRSTADDR () {0;}' unless defined(&DR_FIRSTADDR);
    eval 'sub DR_LASTADDR () {3;}' unless defined(&DR_LASTADDR);
    eval 'sub DR_STATUS () {6;}' unless defined(&DR_STATUS);
    eval 'sub DR_CONTROL () {7;}' unless defined(&DR_CONTROL);
    eval 'sub DR_TRAP0 () {(0x1);}' unless defined(&DR_TRAP0);
    eval 'sub DR_TRAP1 () {(0x2);}' unless defined(&DR_TRAP1);
    eval 'sub DR_TRAP2 () {(0x4);}' unless defined(&DR_TRAP2);
    eval 'sub DR_TRAP3 () {(0x8);}' unless defined(&DR_TRAP3);
    eval 'sub DR_STEP () {(0x4000);}' unless defined(&DR_STEP);
    eval 'sub DR_SWITCH () {(0x8000);}' unless defined(&DR_SWITCH);
    eval 'sub DR_CONTROL_SHIFT () {16;}' unless defined(&DR_CONTROL_SHIFT);
    eval 'sub DR_CONTROL_SIZE () {4;}' unless defined(&DR_CONTROL_SIZE);
    eval 'sub DR_RW_EXECUTE () {(0x);}' unless defined(&DR_RW_EXECUTE);
    eval 'sub DR_RW_WRITE () {(0x1);}' unless defined(&DR_RW_WRITE);
    eval 'sub DR_RW_READ () {(0x3);}' unless defined(&DR_RW_READ);
    eval 'sub DR_LEN_1 () {(0x);}' unless defined(&DR_LEN_1);
    eval 'sub DR_LEN_2 () {(0x4);}' unless defined(&DR_LEN_2);
    eval 'sub DR_LEN_4 () {(0xc);}' unless defined(&DR_LEN_4);
    eval 'sub DR_LOCAL_ENABLE_SHIFT () {0;}' unless defined(&DR_LOCAL_ENABLE_SHIFT);
    eval 'sub DR_GLOBAL_ENABLE_SHIFT () {1;}' unless defined(&DR_GLOBAL_ENABLE_SHIFT);
    eval 'sub DR_ENABLE_SIZE () {2;}' unless defined(&DR_ENABLE_SIZE);
    eval 'sub DR_LOCAL_ENABLE_MASK () {(0x55);}' unless defined(&DR_LOCAL_ENABLE_MASK);
    eval 'sub DR_GLOBAL_ENABLE_MASK () {(0xaa);}' unless defined(&DR_GLOBAL_ENABLE_MASK);
    eval 'sub DR_CONTROL_RESERVED () {(0xfc00);}' unless defined(&DR_CONTROL_RESERVED);
    eval 'sub DR_LOCAL_SLOWDOWN () {(0x100);}' unless defined(&DR_LOCAL_SLOWDOWN);
    eval 'sub DR_GLOBAL_SLOWDOWN () {(0x200);}' unless defined(&DR_GLOBAL_SLOWDOWN);
}
1;
