diff options
author | Benjamin Herrenschmidt | 2019-01-28 10:46:12 +0100 |
---|---|---|
committer | David Gibson | 2019-02-17 11:54:02 +0100 |
commit | 4c668f4a3d684ec133a52d936314379f6edd672e (patch) | |
tree | 84bf2187ecb528a4d5a7f102ad001fe263c42615 /target/ppc/mmu_helper.c | |
parent | mac_newworld: change default NIC to sungem for mac99 machine (diff) | |
download | qemu-4c668f4a3d684ec133a52d936314379f6edd672e.tar.gz qemu-4c668f4a3d684ec133a52d936314379f6edd672e.tar.xz qemu-4c668f4a3d684ec133a52d936314379f6edd672e.zip |
target/ppc: Remove some #if 0'ed code
Some debug stuff we don't need to keep there
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190128094625.4428-7-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/mmu_helper.c')
-rw-r--r-- | target/ppc/mmu_helper.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/target/ppc/mmu_helper.c b/target/ppc/mmu_helper.c index cefed34da4..bcf19da61d 100644 --- a/target/ppc/mmu_helper.c +++ b/target/ppc/mmu_helper.c @@ -1415,10 +1415,6 @@ static int get_physical_address_wtlb( bool real_mode = (access_type == ACCESS_CODE && msr_ir == 0) || (access_type != ACCESS_CODE && msr_dr == 0); -#if 0 - qemu_log("%s\n", __func__); -#endif - switch (env->mmu_model) { case POWERPC_MMU_SOFT_6xx: case POWERPC_MMU_SOFT_74xx: @@ -1468,10 +1464,6 @@ static int get_physical_address_wtlb( cpu_abort(CPU(cpu), "Unknown or invalid MMU model\n"); return -1; } -#if 0 - qemu_log("%s address " TARGET_FMT_lx " => %d " TARGET_FMT_plx "\n", - __func__, eaddr, ret, ctx->raddr); -#endif return ret; } @@ -1805,10 +1797,6 @@ static int cpu_ppc_handle_mmu_fault(CPUPPCState *env, target_ulong address, break; } } -#if 0 - printf("%s: set exception to %d %02x\n", __func__, - cs->exception, env->error_code); -#endif ret = 1; } |