Revision b14ef7c9 target-microblaze/op_helper.c
b/target-microblaze/op_helper.c | ||
---|---|---|
488 | 488 |
mmu_write(env, rn, v); |
489 | 489 |
} |
490 | 490 |
|
491 |
void do_unassigned_access(target_phys_addr_t addr, int is_write, int is_exec,
|
|
492 |
int is_asi, int size) |
|
491 |
void cpu_unassigned_access(CPUState *env1, target_phys_addr_t addr,
|
|
492 |
int is_write, int is_exec, int is_asi, int size)
|
|
493 | 493 |
{ |
494 | 494 |
CPUState *saved_env; |
495 | 495 |
|
496 |
if (!cpu_single_env) { |
|
497 |
/* XXX: ??? */ |
|
498 |
return; |
|
499 |
} |
|
500 |
|
|
501 |
/* XXX: hack to restore env in all cases, even if not called from |
|
502 |
generated code */ |
|
503 | 496 |
saved_env = env; |
504 |
env = cpu_single_env; |
|
497 |
env = env1; |
|
498 |
|
|
505 | 499 |
qemu_log_mask(CPU_LOG_INT, "Unassigned " TARGET_FMT_plx " wr=%d exe=%d\n", |
506 | 500 |
addr, is_write, is_exec); |
507 | 501 |
if (!(env->sregs[SR_MSR] & MSR_EE)) { |
Also available in: Unified diff