qemu/target/ppc
David Gibson 2b10808539 Add host_memory_backend_pagesize() helper
There are a couple places (one generic, one target specific) where we need
to get the host page size associated with a particular memory backend.  I
have some upcoming code which will add another place which wants this.  So,
for convenience, add a helper function to calculate this.

host_memory_backend_pagesize() returns the host pagesize for a given
HostMemoryBackend object.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
2018-04-27 18:05:22 +10:00
..
translate target/ppc: convert to DisasContextBase 2018-02-16 12:14:39 +11:00
arch_dump.c
compat.c
cpu-models.c
cpu-models.h
cpu-qom.h
cpu.c
cpu.h cpu: get rid of unused cpu_init() defines 2018-03-19 14:10:36 -03:00
dfp_helper.c
excp_helper.c
fpu_helper.c target/*/cpu.h: remove softfloat.h 2018-02-21 10:20:24 +00:00
gdbstub.c ppc: Fix size of ppc64 xer register 2018-04-27 18:05:22 +10:00
helper_regs.h
helper.h
int_helper.c target/*/cpu.h: remove softfloat.h 2018-02-21 10:20:24 +00:00
internal.h
kvm_ppc.h spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device 2018-02-06 11:08:24 -07:00
kvm-stub.c openpic: move KVM-specific declarations into separate openpic_kvm.h file 2018-03-06 13:16:29 +11:00
kvm.c Add host_memory_backend_pagesize() helper 2018-04-27 18:05:22 +10:00
machine.c target/ppc: Fix backwards migration of msr_mask 2018-04-10 10:05:38 +10:00
Makefile.objs
mem_helper.c
mfrom_table_gen.c
mfrom_table.c
misc_helper.c
mmu_helper.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
mmu-book3s-v3.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
mmu-book3s-v3.h
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
mmu-hash64.h
mmu-radix64.c Include qapi/error.h exactly where needed 2018-02-09 13:50:17 +01:00
mmu-radix64.h
monitor.c
timebase_helper.c
trace-events
translate_init.c PowerPC: Add TS bits into msr_mask 2018-03-06 13:16:29 +11:00
translate.c target/ppc: Fix reserved bit mask of dstst instruction 2018-04-27 18:05:22 +10:00
user_only_helper.c