summaryrefslogtreecommitdiff
path: root/device-hotplug.c
diff options
context:
space:
mode:
authorLeon Alrae <leon.alrae@imgtec.com>2014-07-07 11:24:01 +0100
committerLeon Alrae <leon.alrae@imgtec.com>2014-11-03 11:48:34 +0000
commitaea14095ea91f792ee43ee52fe6032cd8cdd7190 (patch)
treeeb601014844055666fb676f0efe8b689ac2fce64 /device-hotplug.c
parent9456c2fbcd82dd82328ac6e7602a815582b1043e (diff)
downloadqemu-aea14095ea91f792ee43ee52fe6032cd8cdd7190.tar.gz
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 'device-hotplug.c')
0 files changed, 0 insertions, 0 deletions