diff options
| author | Paolo Bonzini | 2013-07-28 14:35:54 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2013-08-07 19:48:15 +0200 |
| commit | 6fdf98f281f85ae6e2883bed2f691bcfe33b1f9f (patch) | |
| tree | 4e0517bd29501149381e7f48b116864d4d7308ac /scripts/checkpatch.pl | |
| parent | po: Update all *.po files (diff) | |
| download | qemu-6fdf98f281f85ae6e2883bed2f691bcfe33b1f9f.tar.gz qemu-6fdf98f281f85ae6e2883bed2f691bcfe33b1f9f.tar.xz qemu-6fdf98f281f85ae6e2883bed2f691bcfe33b1f9f.zip | |
fw_cfg: the I/O port variant expects little-endian
The I/O port variant of fw_cfg is used by sparc64, which is a big-endian machine.
Firmware swaps bytes before sending them to fw_cfg, so we need to unswap them in
the device.
This is only used on sparc64 and on (little-endian) x86, so it does not affect
any other target. 32-bit Sparc and PPC all use memory-mapped fw_cfg.
Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-id: 1375014954-31916-2-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
