diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-26 19:34:03 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-26 19:34:03 +0000 |
commit | 14e51cc7a42870f9e64084ee4f1a579ffea5788b (patch) | |
tree | 7c6509f37e3a5594645784f7ffbaab86118e3c17 /target-mips/cpu.h | |
parent | 85016c983cc25b31b548fd2d146257756b3ac3d9 (diff) |
De-cruft exception definitions, and implement nicer debug output.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3861 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/cpu.h')
-rw-r--r-- | target-mips/cpu.h | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/target-mips/cpu.h b/target-mips/cpu.h index a08a634bcb..2ca2b643b4 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -523,40 +523,37 @@ enum { EXCP_SRESET, EXCP_DSS, EXCP_DINT, + EXCP_DDBL, + EXCP_DDBS, EXCP_NMI, EXCP_MCHECK, - EXCP_EXT_INTERRUPT, + EXCP_EXT_INTERRUPT, /* 8 */ EXCP_DFWATCH, - EXCP_DIB, /* 8 */ + EXCP_DIB, EXCP_IWATCH, EXCP_AdEL, EXCP_AdES, EXCP_TLBF, EXCP_IBE, - EXCP_DBp, + EXCP_DBp, /* 16 */ EXCP_SYSCALL, - EXCP_BREAK, /* 16 */ + EXCP_BREAK, EXCP_CpU, EXCP_RI, EXCP_OVERFLOW, EXCP_TRAP, EXCP_FPE, - EXCP_DDBS, - EXCP_DWATCH, - EXCP_LAE, /* 24 */ - EXCP_SAE, + EXCP_DWATCH, /* 24 */ EXCP_LTLBL, EXCP_TLBL, EXCP_TLBS, EXCP_DBE, - EXCP_DDBL, EXCP_THREAD, - EXCP_MTCP0 = 0x104, /* mtmsr instruction: */ - /* may change privilege level */ - EXCP_BRANCH = 0x108, /* branch instruction */ - EXCP_ERET = 0x10C, /* return from interrupt */ - EXCP_SYSCALL_USER = 0x110, /* System call in user mode only */ - EXCP_FLUSH = 0x109, + EXCP_MDMX, + EXCP_C2E, + EXCP_CACHE, /* 32 */ + + EXCP_LAST = EXCP_CACHE, }; int cpu_mips_exec(CPUMIPSState *s); |