qemu-cr16/target-ppc
David Gibson a7a00a729a target-ppc: Split out SREGS get/put functions
Currently the getting and setting of Power MMU registers (sregs) take up
large inline chunks of the kvm_arch_get_registers() and
kvm_arch_put_registers() functions.  Especially since there are two
variants (for Book-E and Book-S CPUs), only one of which will be used in
practice, this is pretty hard to read.

This patch splits these out into helper functions for clarity.  No
functional change is expected.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
2016-03-16 09:55:05 +11:00
..
arch_dump.c
cpu-models.c target-ppc: Add PVR for POWER8NVL processor 2016-03-16 09:55:05 +11:00
cpu-models.h target-ppc: Add PVR for POWER8NVL processor 2016-03-16 09:55:05 +11:00
cpu-qom.h
cpu.h ppc: Add a few more P8 PMU SPRs 2016-03-16 09:55:05 +11:00
dfp_helper.c
excp_helper.c
fpu_helper.c
gdbstub.c
helper.h
helper_regs.h
int_helper.c
kvm-stub.c
kvm.c target-ppc: Split out SREGS get/put functions 2016-03-16 09:55:05 +11:00
kvm_ppc.h hw/ppc/spapr: Implement the h_page_init hypercall 2016-02-25 13:58:44 +11:00
machine.c
Makefile.objs
mem_helper.c
mfrom_table.c
mfrom_table_gen.c
misc_helper.c
mmu-hash32.c log: do not unnecessarily include qom/cpu.h 2016-02-03 09:19:10 +00:00
mmu-hash32.h
mmu-hash64.c log: do not unnecessarily include qom/cpu.h 2016-02-03 09:19:10 +00:00
mmu-hash64.h target-ppc: Remove hack for ppc_hash64_load_hpte*() with HV KVM 2016-02-17 09:59:30 +11:00
mmu_helper.c log: do not unnecessarily include qom/cpu.h 2016-02-03 09:19:10 +00:00
monitor.c
STATUS
timebase_helper.c
translate.c tcg: Add type for vCPU pointers 2016-03-01 13:27:09 +00:00
translate_init.c target-ppc: Add PVR for POWER8NVL processor 2016-03-16 09:55:05 +11:00
user_only_helper.c