mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/openrisc: Implement lwa, swa
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
c56e3b8670
commit
930c3d0074
7 changed files with 81 additions and 8 deletions
|
@ -48,6 +48,7 @@ static void openrisc_cpu_reset(CPUState *s)
|
|||
|
||||
cpu->env.pc = 0x100;
|
||||
cpu->env.sr = SR_FO | SR_SM;
|
||||
cpu->env.lock_addr = -1;
|
||||
s->exception_index = -1;
|
||||
|
||||
cpu->env.upr = UPR_UP | UPR_DMP | UPR_IMP | UPR_PICP | UPR_TTP;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue