aboutsummaryrefslogtreecommitdiff
path: root/softmmu_template.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2016-03-09 11:58:33 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2016-03-16 09:55:05 +1100
commita7a00a729a98e41501904dd26e8535571b3e9579 (patch)
tree10d1bcbb70b5b32fc7e38519e5ce0af44c6d210d /softmmu_template.h
parent788d2599def0e26d92802593b07ec76e8701ccce (diff)
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>
Diffstat (limited to 'softmmu_template.h')
0 files changed, 0 insertions, 0 deletions