mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-01-05 00:00:29 +01:00
Currently the ld/st_asi helper functions make calls to the ld*_phys() and st*_phys() functions for those ASIs which imply direct accesses to physical addresses. These implicitly rely on the unassigned_access hook to cause them to generate an MMU fault if the access fails. Switch to using the address_space_* functions instead, which return a MemTxResult that we can check. This means that when we switch SPARC over to using the do_transaction_failed hook we'll still get the same MMU faults we did before. This commit converts the ASIs which do "MMU passthrough". Backports commit b9f5fdad49c74583dcf9fcba0805b148e3992e13 from qemu |
||
|---|---|---|
| .. | ||
| asi.h | ||
| cc_helper.c | ||
| cpu-param.h | ||
| cpu-qom.h | ||
| cpu.c | ||
| cpu.h | ||
| fop_helper.c | ||
| helper.c | ||
| helper.h | ||
| int32_helper.c | ||
| int64_helper.c | ||
| ldst_helper.c | ||
| Makefile.objs | ||
| mmu_helper.c | ||
| TODO | ||
| translate.c | ||
| unicorn.c | ||
| unicorn.h | ||
| unicorn64.c | ||
| vis_helper.c | ||
| win_helper.c | ||