diff options
| author | Greg Kurz <gkurz@linux.vnet.ibm.com> | 2016-01-15 16:00:38 +0100 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2016-01-30 23:37:38 +1100 |
| commit | ea499e71506c91aa259a7fdccf1d6b2022f5b530 (patch) | |
| tree | b5a89a908f90ff3977feb5b093d33b4cf35f010b /scripts/qapi.py | |
| parent | 87601e2d5c22d9c1fef0e09978d377f46336c1db (diff) | |
| download | focaccia-qemu-ea499e71506c91aa259a7fdccf1d6b2022f5b530.tar.gz focaccia-qemu-ea499e71506c91aa259a7fdccf1d6b2022f5b530.zip | |
target-ppc: gdbstub: fix altivec registers for little-endian guests
Altivec registers are 128-bit wide. They are stored in memory as two 64-bit values that must be byteswapped when the guest is little-endian. Let's reuse the ppc_maybe_bswap_register() helper for this. We also need to fix the ordering of the 64-bit elements according to the target endianness, for both system and user mode. Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions