aboutsummaryrefslogtreecommitdiff
path: root/disas/arm.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-11-16 13:17:02 +0100
committerMichael S. Tsirkin <mst@redhat.com>2017-11-16 18:36:54 +0200
commit3831c07b89ab1f7aa1427bc56e9cdf70f5367933 (patch)
tree8c3b2b8a0956bf8d8d1f4fa17fc469183eac6202 /disas/arm.c
parentf865da7c369fa00b2ccaf6bce158ad2701b2a27c (diff)
tests/bios-tables-test: Fix endianess problems when passing data to iasl
The bios-tables-test was writing out files that we pass to iasl in with the wrong endianness in the header when running on a big endian host. So instead of storing mixed endian information in our structures, let's keep everything in little endian and byte-swap it only when we need a value in the code. Reported-by: Daniel P. Berrange <berrange@redhat.com> Buglink: https://bugs.launchpad.net/qemu/+bug/1724570 Suggested-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Tested-by: "Daniel P. Berrange" <berrange@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'disas/arm.c')
0 files changed, 0 insertions, 0 deletions