require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_MIPS64_RM7000_H_)) {
    eval 'sub _MIPS64_RM7000_H_ () {1;}' unless defined(&_MIPS64_RM7000_H_);
    eval 'sub PCNT_SRC_CLOCKS () {0x;}' unless defined(&PCNT_SRC_CLOCKS);
    eval 'sub PCNT_SRC_INSTR () {0x1;}' unless defined(&PCNT_SRC_INSTR);
    eval 'sub PCNT_SRC_FPINSTR () {0x2;}' unless defined(&PCNT_SRC_FPINSTR);
    eval 'sub PCNT_SRC_IINSTR () {0x3;}' unless defined(&PCNT_SRC_IINSTR);
    eval 'sub PCNT_SRC_LOAD () {0x4;}' unless defined(&PCNT_SRC_LOAD);
    eval 'sub PCNT_SRC_STORE () {0x5;}' unless defined(&PCNT_SRC_STORE);
    eval 'sub PCNT_SRC_DUAL () {0x6;}' unless defined(&PCNT_SRC_DUAL);
    eval 'sub PCNT_SRC_BRPREF () {0x7;}' unless defined(&PCNT_SRC_BRPREF);
    eval 'sub PCNT_SRC_EXTMISS () {0x8;}' unless defined(&PCNT_SRC_EXTMISS);
    eval 'sub PCNT_SRC_STALL () {0x9;}' unless defined(&PCNT_SRC_STALL);
    eval 'sub PCNT_SRC_SECMISS () {0xa;}' unless defined(&PCNT_SRC_SECMISS);
    eval 'sub PCNT_SRC_INSMISS () {0xb;}' unless defined(&PCNT_SRC_INSMISS);
    eval 'sub PCNT_SRC_DTAMISS () {0xc;}' unless defined(&PCNT_SRC_DTAMISS);
    eval 'sub PCNT_SRC_DTLBMISS () {0xd;}' unless defined(&PCNT_SRC_DTLBMISS);
    eval 'sub PCNT_SRC_ITLBMISS () {0xe;}' unless defined(&PCNT_SRC_ITLBMISS);
    eval 'sub PCNT_SRC_JTLBIMISS () {0xf;}' unless defined(&PCNT_SRC_JTLBIMISS);
    eval 'sub PCNT_SRC_JTLBDMISS () {0x10;}' unless defined(&PCNT_SRC_JTLBDMISS);
    eval 'sub PCNT_SRC_BRTAKEN () {0x11;}' unless defined(&PCNT_SRC_BRTAKEN);
    eval 'sub PCNT_SRC_BRISSUED () {0x12;}' unless defined(&PCNT_SRC_BRISSUED);
    eval 'sub PCNT_SRC_SECWBACK () {0x13;}' unless defined(&PCNT_SRC_SECWBACK);
    eval 'sub PCNT_SRC_PRIWBACK () {0x14;}' unless defined(&PCNT_SRC_PRIWBACK);
    eval 'sub PCNT_SRC_DCSTALL () {0x15;}' unless defined(&PCNT_SRC_DCSTALL);
    eval 'sub PCNT_SRC_MISS () {0x16;}' unless defined(&PCNT_SRC_MISS);
    eval 'sub PCNT_SRC_FPEXC () {0x17;}' unless defined(&PCNT_SRC_FPEXC);
    eval 'sub PCNT_SRC_MULSLIP () {0x18;}' unless defined(&PCNT_SRC_MULSLIP);
    eval 'sub PCNT_SRC_CP0SLIP () {0x19;}' unless defined(&PCNT_SRC_CP0SLIP);
    eval 'sub PCNT_SRC_LDSLIP () {0x1a;}' unless defined(&PCNT_SRC_LDSLIP);
    eval 'sub PCNT_SRC_WBFULL () {0x1b;}' unless defined(&PCNT_SRC_WBFULL);
    eval 'sub PCNT_SRC_CISTALL () {0x1c;}' unless defined(&PCNT_SRC_CISTALL);
    eval 'sub PCNT_SRC_MULSTALL () {0x1d;}' unless defined(&PCNT_SRC_MULSTALL);
    eval 'sub PCNT_SRC_ELDSTALL () {0x1d;}' unless defined(&PCNT_SRC_ELDSTALL);
    eval 'sub PCNT_SRC_MAX () {0x1d;}' unless defined(&PCNT_SRC_MAX);
    eval 'sub PCNT_CE () {0x400;}' unless defined(&PCNT_CE);
    eval 'sub PCNT_UM () {0x200;}' unless defined(&PCNT_UM);
    eval 'sub PCNT_KM () {0x100;}' unless defined(&PCNT_KM);
    eval 'sub PCNT_FNC_SELECT () {0x1;}' unless defined(&PCNT_FNC_SELECT);
    eval 'sub PCNT_FNC_READ () {0x2;}' unless defined(&PCNT_FNC_READ);
    if(defined(&_KERNEL)) {
    }
}
1;
