mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 06:13:46 +08:00
CRIS: Correct writes to TLB hi.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4807 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d27b2e5044
commit
6913ba5680
@ -121,8 +121,8 @@ void helper_movl_sreg_reg (uint32_t sreg, uint32_t reg)
|
||||
if (sreg == 6) {
|
||||
/* Writes to tlb-hi write to mm_cause as a side
|
||||
effect. */
|
||||
env->sregs[SFR_RW_MM_TLB_HI] = T0;
|
||||
env->sregs[SFR_R_MM_CAUSE] = T0;
|
||||
env->sregs[SFR_RW_MM_TLB_HI] = env->regs[reg];
|
||||
env->sregs[SFR_R_MM_CAUSE] = env->regs[reg];
|
||||
}
|
||||
else if (sreg == 5) {
|
||||
uint32_t set;
|
||||
|
Loading…
Reference in New Issue
Block a user