diff options
author | Paolo Bonzini | 2016-03-15 15:12:16 +0100 |
---|---|---|
committer | Paolo Bonzini | 2016-05-19 13:08:05 +0200 |
commit | b2305601d33b3b7e0a7f830d64cc0b7ee1fd88d2 (patch) | |
tree | 9249f216173e17cd32bcfb18d005d25bc6e5d435 /target-ppc/cpu-qom.h | |
parent | target-mips: make cpu-qom.h not target specific (diff) | |
download | qemu-b2305601d33b3b7e0a7f830d64cc0b7ee1fd88d2.tar.gz qemu-b2305601d33b3b7e0a7f830d64cc0b7ee1fd88d2.tar.xz qemu-b2305601d33b3b7e0a7f830d64cc0b7ee1fd88d2.zip |
target-ppc: do not use target_ulong in cpu-qom.h
Bring the PowerPCCPUClass handle_mmu_fault method type into line with
the one in CPUClass.
Using vaddr also makes the cpu-qom.h file target independent.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-ppc/cpu-qom.h')
-rw-r--r-- | target-ppc/cpu-qom.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target-ppc/cpu-qom.h b/target-ppc/cpu-qom.h index eb822a3c3d..bab501fe02 100644 --- a/target-ppc/cpu-qom.h +++ b/target-ppc/cpu-qom.h @@ -73,8 +73,7 @@ typedef struct PowerPCCPUClass { void (*init_proc)(CPUPPCState *env); int (*check_pow)(CPUPPCState *env); #if defined(CONFIG_SOFTMMU) - int (*handle_mmu_fault)(PowerPCCPU *cpu, target_ulong eaddr, int rwx, - int mmu_idx); + int (*handle_mmu_fault)(PowerPCCPU *cpu, vaddr eaddr, int rwx, int mmu_idx); #endif bool (*interrupts_big_endian)(PowerPCCPU *cpu); } PowerPCCPUClass; |