diff options
author | Leon Alrae <leon.alrae@imgtec.com> | 2014-07-07 11:24:01 +0100 |
---|---|---|
committer | Leon Alrae <leon.alrae@imgtec.com> | 2014-11-03 11:48:34 +0000 |
commit | aea14095ea91f792ee43ee52fe6032cd8cdd7190 (patch) | |
tree | eb601014844055666fb676f0efe8b689ac2fce64 /disas/arm.c | |
parent | 9456c2fbcd82dd82328ac6e7602a815582b1043e (diff) |
target-mips: add BadInstr and BadInstrP support
BadInstr Register (CP0 Register 8, Select 1)
The BadInstr register is a read-only register that capture the most recent
instruction which caused an exception.
BadInstrP Register (CP0 Register 8, Select 2)
The BadInstrP register contains the prior branch instruction, when the
faulting instruction is in a branch delay slot.
Using error_code to indicate whether AdEL or TLBL was triggered during
instruction fetch, in this case BadInstr is not updated as valid instruction
word is not available.
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Yongbok Kim <yongbok.kim@imgtec.com>
Diffstat (limited to 'disas/arm.c')
0 files changed, 0 insertions, 0 deletions