summaryrefslogtreecommitdiff
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
authorGreg Kurz <gkurz@linux.vnet.ibm.com>2014-06-24 19:51:19 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-06-29 19:39:43 +0300
commit7826c2b2a46988c278fbea5e1e376cf783f8bc46 (patch)
treeb8492814a159c0a4cdf30a058e6b0220d7f804b3 /target-ppc/cpu.h
parentd64ccb91adda46197702ec3a8b6d9c85c03b3c80 (diff)
downloadqemu-7826c2b2a46988c278fbea5e1e376cf783f8bc46.tar.gz
target-ppc: enable virtio endian ambivalent support
The device endianness is the cpu endianness at device reset time. Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com> Reviewed-by: Alexander Graf <agraf@suse.de> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 08ae527cb6..b64c65295f 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -29,6 +29,8 @@
#define TARGET_LONG_BITS 64
#define TARGET_PAGE_BITS 12
+#define TARGET_IS_BIENDIAN 1
+
/* Note that the official physical address space bits is 62-M where M
is implementation dependent. I've not looked up M for the set of
cpus we emulate at the system level. */