diff options
author | Maciej W. Rozycki <macro@codesourcery.com> | 2014-12-20 23:00:25 +0000 |
---|---|---|
committer | Leon Alrae <leon.alrae@imgtec.com> | 2015-02-13 14:09:28 +0000 |
commit | 196a7958c65778d05a491309377a65c58f643a1c (patch) | |
tree | 769360f034aedcbc253f1a2f1b84dd4714d99306 /target-mips | |
parent | b19c1c08de4365df90207862f4f9f7c1cd512bd9 (diff) | |
download | qemu-196a7958c65778d05a491309377a65c58f643a1c.zip qemu-196a7958c65778d05a491309377a65c58f643a1c.tar.gz qemu-196a7958c65778d05a491309377a65c58f643a1c.tar.bz2 |
target-mips: Make CP0.Status.CU1 read-only for the 5Kc and 5KEc processors
Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/translate_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c index 1543f6c..9e8433a 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, |