summaryrefslogtreecommitdiff
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
authorGreg Kurz <gkurz@linux.vnet.ibm.com>2016-01-15 16:00:18 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2016-01-30 23:37:37 +1100
commit376dbce0e3abe456fb8c7a3cd40dc369f8b33d30 (patch)
tree4c3e9d9d8771f98dcafc873a45a3133296d7c2bf /target-ppc/cpu.h
parent3a4b791b4c13e02537a5cc572fa3de70bc5f68da (diff)
downloadqemu-376dbce0e3abe456fb8c7a3cd40dc369f8b33d30.tar.gz
target-ppc: rename and export maybe_bswap_register()
This helper will be used to support FP, Altivec and VSX registers when the guest is little-endian. Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index b3b89e6a59..2bc96b4fa7 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -2355,4 +2355,5 @@ int ppc_get_vcpu_dt_id(PowerPCCPU *cpu);
*/
PowerPCCPU *ppc_get_vcpu_by_dt_id(int cpu_dt_id);
+void ppc_maybe_bswap_register(CPUPPCState *env, uint8_t *mem_buf, int len);
#endif /* !defined (__CPU_PPC_H__) */