diff options
author | Richard Henderson <rth@twiddle.net> | 2015-02-18 22:19:18 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-02-14 08:14:59 +1100 |
commit | 930c3d0074ad0a5e26560f2133f82d803369bec3 (patch) | |
tree | 63e542ad7464a4994d4717bdbf7d501cf685a871 /target/openrisc/interrupt_helper.c | |
parent | c56e3b86701501364a4756201b6a9db9454463ab (diff) |
target/openrisc: Implement lwa, swa
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/openrisc/interrupt_helper.c')
-rw-r--r-- | target/openrisc/interrupt_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/openrisc/interrupt_helper.c b/target/openrisc/interrupt_helper.c index 0ed5146e8d..a6d4df3ce2 100644 --- a/target/openrisc/interrupt_helper.c +++ b/target/openrisc/interrupt_helper.c @@ -34,6 +34,7 @@ void HELPER(rfe)(CPUOpenRISCState *env) cpu->env.pc = cpu->env.epcr; cpu->env.npc = cpu->env.epcr; cpu->env.sr = cpu->env.esr; + cpu->env.lock_addr = -1; #ifndef CONFIG_USER_ONLY if (cpu->env.sr & SR_DME) { |