diff options
author | Andreas Färber <afaerber@suse.de> | 2013-09-02 14:14:24 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-13 19:20:48 +0100 |
commit | d0e39c5d70c4e0a9c41ef816a19887fd8f55c665 (patch) | |
tree | 6918611170ed6be0fe5dc916b44fb9fa4d612743 /target-ppc/mmu_helper.c | |
parent | 611d4f996f650294483ff4b01c3140651e2dd29c (diff) | |
download | hqemu-d0e39c5d70c4e0a9c41ef816a19887fd8f55c665.zip hqemu-d0e39c5d70c4e0a9c41ef816a19887fd8f55c665.tar.gz |
target-ppc: Use PowerPCCPU in PowerPCCPUClass::handle_mmu_fault hook
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-ppc/mmu_helper.c')
-rw-r--r-- | target-ppc/mmu_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/mmu_helper.c b/target-ppc/mmu_helper.c index 2a94f3d..c75b4f2 100644 --- a/target-ppc/mmu_helper.c +++ b/target-ppc/mmu_helper.c @@ -2902,7 +2902,7 @@ void tlb_fill(CPUState *cs, target_ulong addr, int is_write, int mmu_idx, int ret; if (pcc->handle_mmu_fault) { - ret = pcc->handle_mmu_fault(env, addr, is_write, mmu_idx); + ret = pcc->handle_mmu_fault(cpu, addr, is_write, mmu_idx); } else { ret = cpu_ppc_handle_mmu_fault(env, addr, is_write, mmu_idx); } |