diff options
Diffstat (limited to 'arch/mips/math-emu/dsemul.h')
-rw-r--r-- | arch/mips/math-emu/dsemul.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/mips/math-emu/dsemul.h b/arch/mips/math-emu/dsemul.h deleted file mode 100644 index 091f0e76730f..000000000000 --- a/arch/mips/math-emu/dsemul.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | extern int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc); | ||
2 | extern int do_dsemulret(struct pt_regs *xcp); | ||
3 | |||
4 | /* Instruction which will always cause an address error */ | ||
5 | #define AdELOAD 0x8c000001 /* lw $0,1($0) */ | ||
6 | /* Instruction which will plainly cause a CP1 exception when FPU is disabled */ | ||
7 | #define CP1UNDEF 0x44400001 /* cfc1 $0,$0 undef */ | ||
8 | |||
9 | /* Instruction inserted following the badinst to further tag the sequence */ | ||
10 | #define BD_COOKIE 0x0000bd36 /* tne $0,$0 with baggage */ | ||
11 | |||
12 | /* Setup which instruction to use for trampoline */ | ||
13 | #ifdef STANDALONE_EMULATOR | ||
14 | #define BADINST CP1UNDEF | ||
15 | #else | ||
16 | #define BADINST AdELOAD | ||
17 | #endif | ||