mmu-hash64.c (09a98dd988c715157c0b80af16fa5baa80101eed) mmu-hash64.c (ff5b5d5b6df5655946142820912b28f1a67efc94)
1/*
2 * PowerPC MMU, TLB, SLB and BAT emulation helpers for QEMU.
3 *
4 * Copyright (c) 2003-2007 Jocelyn Mayer
5 * Copyright (c) 2013 David Gibson, IBM Corporation
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public

--- 845 unchanged lines hidden (view full) ---

854 slb->esid = SLB_ESID_V;
855 slb->vsid = vsid;
856 slb->sps = sps;
857 return 0;
858 }
859 }
860
861 error_report("Bad page size encoding in LPCR[VRMASD]; LPCR=0x"
1/*
2 * PowerPC MMU, TLB, SLB and BAT emulation helpers for QEMU.
3 *
4 * Copyright (c) 2003-2007 Jocelyn Mayer
5 * Copyright (c) 2013 David Gibson, IBM Corporation
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public

--- 845 unchanged lines hidden (view full) ---

854 slb->esid = SLB_ESID_V;
855 slb->vsid = vsid;
856 slb->sps = sps;
857 return 0;
858 }
859 }
860
861 error_report("Bad page size encoding in LPCR[VRMASD]; LPCR=0x"
862 TARGET_FMT_lx"\n", lpcr);
862 TARGET_FMT_lx, lpcr);
863
864 return -1;
865}
866
867int ppc_hash64_handle_mmu_fault(PowerPCCPU *cpu, vaddr eaddr,
868 int rwx, int mmu_idx)
869{
870 CPUState *cs = CPU(cpu);

--- 387 unchanged lines hidden ---
863
864 return -1;
865}
866
867int ppc_hash64_handle_mmu_fault(PowerPCCPU *cpu, vaddr eaddr,
868 int rwx, int mmu_idx)
869{
870 CPUState *cs = CPU(cpu);

--- 387 unchanged lines hidden ---