diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-03 23:43:32 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-03 23:43:32 +0000 |
commit | 0fa85d43d47151e71e63754e419340bfcff97e80 (patch) | |
tree | ee797bd86bf4c5e0b6e33b462248da86408ce12c /target-ppc/helper.c | |
parent | b4ff59872759eb491313ae4248732d9a2acc1299 (diff) | |
download | qemu-0fa85d43d47151e71e63754e419340bfcff97e80.zip qemu-0fa85d43d47151e71e63754e419340bfcff97e80.tar.gz qemu-0fa85d43d47151e71e63754e419340bfcff97e80.tar.bz2 |
64 bit target support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1195 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/helper.c')
-rw-r--r-- | target-ppc/helper.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/target-ppc/helper.c b/target-ppc/helper.c index de64672..5d41fcb 100644 --- a/target-ppc/helper.c +++ b/target-ppc/helper.c @@ -29,8 +29,6 @@ /*****************************************************************************/ /* PPC MMU emulation */ -int cpu_ppc_handle_mmu_fault (CPUState *env, uint32_t address, int rw, - int is_user, int is_softmmu); /* Perform BAT hit & translation */ static int get_bat (CPUState *env, uint32_t *real, int *prot, @@ -421,7 +419,7 @@ target_ulong cpu_get_phys_page_debug(CPUState *env, target_ulong addr) NULL, it means that the function was called in C code (i.e. not from generated code or from helper.c) */ /* XXX: fix it to restore all registers */ -void tlb_fill(unsigned long addr, int is_write, int is_user, void *retaddr) +void tlb_fill(target_ulong addr, int is_write, int is_user, void *retaddr) { TranslationBlock *tb; CPUState *saved_env; @@ -782,7 +780,7 @@ void do_interrupt (CPUState *env) /* Store exception cause */ /* Get rS/rD and rA from faulting opcode */ env->spr[DSISR] |= - (ldl_code((void *)(env->nip - 4)) & 0x03FF0000) >> 16; + (ldl_code((env->nip - 4)) & 0x03FF0000) >> 16; /* data location address has been stored * when the fault has been detected */ |