mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -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
|
@ -62,6 +62,7 @@ void openrisc_cpu_do_interrupt(CPUState *cs)
|
|||
env->sr &= ~SR_TEE;
|
||||
env->tlb->cpu_openrisc_map_address_data = &cpu_openrisc_get_phys_nommu;
|
||||
env->tlb->cpu_openrisc_map_address_code = &cpu_openrisc_get_phys_nommu;
|
||||
env->lock_addr = -1;
|
||||
|
||||
if (cs->exception_index > 0 && cs->exception_index < EXCP_NR) {
|
||||
env->pc = (cs->exception_index << 8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue