target/mips: Add CP0 BadInstrX register

Add CP0 BadInstrX register. This register will be used in nanoMIPS.

Backports commit 25beba9bf76a677747b779e997c6540677a38311 from qemu
This commit is contained in:
Stefan Markovic 2018-08-17 14:21:53 -04:00 committed by Lioncash
parent d70a2c1df1
commit 4b6a9ce61b
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -324,6 +324,7 @@ struct CPUMIPSState {
target_ulong CP0_BadVAddr;
uint32_t CP0_BadInstr;
uint32_t CP0_BadInstrP;
uint32_t CP0_BadInstrX;
int32_t CP0_Count;
target_ulong CP0_EntryHi;
#define CP0EnHi_EHINV 10