summaryrefslogtreecommitdiffstats
path: root/hw/pl080.c
diff options
context:
space:
mode:
authormalc2011-07-22 22:50:37 +0200
committermalc2011-07-22 22:50:37 +0200
commit670acc9bf21474b2a4456a3cd13323e48e35820d (patch)
tree81a794b007c8b94dacf593ef8e5eaea6e90dcdc0 /hw/pl080.c
parentTCG/PPC: use stack for TCG temps (diff)
parentguest-agent: fix build with OpenBSD (diff)
downloadqemu-670acc9bf21474b2a4456a3cd13323e48e35820d.tar.gz
qemu-670acc9bf21474b2a4456a3cd13323e48e35820d.tar.xz
qemu-670acc9bf21474b2a4456a3cd13323e48e35820d.zip
Merge branch 'master' of git://git.qemu.org/qemu
Diffstat (limited to 'hw/pl080.c')
-rw-r--r--hw/pl080.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/pl080.c b/hw/pl080.c
index 901f04a844..dd8139ba96 100644
--- a/hw/pl080.c
+++ b/hw/pl080.c
@@ -199,10 +199,10 @@ again:
if (size == 0) {
/* Transfer complete. */
if (ch->lli) {
- ch->src = ldl_phys(ch->lli);
- ch->dest = ldl_phys(ch->lli + 4);
- ch->ctrl = ldl_phys(ch->lli + 12);
- ch->lli = ldl_phys(ch->lli + 8);
+ ch->src = ldl_le_phys(ch->lli);
+ ch->dest = ldl_le_phys(ch->lli + 4);
+ ch->ctrl = ldl_le_phys(ch->lli + 12);
+ ch->lli = ldl_le_phys(ch->lli + 8);
} else {
ch->conf &= ~PL080_CCONF_E;
}