diff options
Diffstat (limited to 'sim/arm/armemu.c')
-rw-r--r-- | sim/arm/armemu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/arm/armemu.c b/sim/arm/armemu.c index 6b963c7..dcc505f 100644 --- a/sim/arm/armemu.c +++ b/sim/arm/armemu.c @@ -1369,8 +1369,8 @@ ARMul_Emulate26 (register ARMul_State * state) value |= 0xc; write_cp14_reg (10, value); - write_cp15_reg (5, 0, 0, 0x200); /* Set FSR. */ - write_cp15_reg (6, 0, 0, pc); /* Set FAR. */ + write_cp15_reg (state, 5, 0, 0, 0x200); /* Set FSR. */ + write_cp15_reg (state, 6, 0, 0, pc); /* Set FAR. */ } else break; |