From: Maciej W. Rozycki Date: Sat, 20 Dec 2014 23:00:25 +0000 (+0000) Subject: target-mips: Make CP0.Status.CU1 read-only for the 5Kc and 5KEc processors X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=196a7958c65778d05a491309377a65c58f643a1c;p=qemu.git target-mips: Make CP0.Status.CU1 read-only for the 5Kc and 5KEc processors Signed-off-by: Maciej W. Rozycki Signed-off-by: Leon Alrae --- diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c index 1543f6c388..9e8433a919 100644 --- a/target-mips/translate_init.c +++ b/target-mips/translate_init.c @@ -474,7 +474,7 @@ static const mips_def_t mips_defs[] = .CP0_LLAddr_shift = 4, .SYNCI_Step = 32, .CCRes = 2, - .CP0_Status_rw_bitmask = 0x32F8FFFF, + .CP0_Status_rw_bitmask = 0x12F8FFFF, .SEGBITS = 42, .PABITS = 36, .insn_flags = CPU_MIPS64, @@ -575,7 +575,7 @@ static const mips_def_t mips_defs[] = .CP0_LLAddr_shift = 4, .SYNCI_Step = 32, .CCRes = 2, - .CP0_Status_rw_bitmask = 0x32F8FFFF, + .CP0_Status_rw_bitmask = 0x12F8FFFF, .SEGBITS = 42, .PABITS = 36, .insn_flags = CPU_MIPS64R2,