summaryrefslogtreecommitdiffstats
path: root/hw/alpha
diff options
context:
space:
mode:
authorEdgar E. Iglesias2013-11-28 00:11:44 +0100
committerEdgar E. Iglesias2014-02-11 13:57:12 +0100
commitf606604f1c10b60ef294f1b9b229426521a365e3 (patch)
treee73b5c2225aa503dffa2cdee565fedf2deb3c23a /hw/alpha
parentexec: Make lduw_*_phys input an AddressSpace (diff)
downloadqemu-f606604f1c10b60ef294f1b9b229426521a365e3.tar.gz
qemu-f606604f1c10b60ef294f1b9b229426521a365e3.tar.xz
qemu-f606604f1c10b60ef294f1b9b229426521a365e3.zip
exec: Make stq_*_phys input an AddressSpace
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'hw/alpha')
-rw-r--r--hw/alpha/dp264.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c
index 20795ac0fd..1351ba55bd 100644
--- a/hw/alpha/dp264.c
+++ b/hw/alpha/dp264.c
@@ -161,8 +161,9 @@ static void clipper_init(QEMUMachineInitArgs *args)
load_image_targphys(initrd_filename, initrd_base,
ram_size - initrd_base);
- stq_phys(param_offset + 0x100, initrd_base + 0xfffffc0000000000ULL);
- stq_phys(param_offset + 0x108, initrd_size);
+ stq_phys(&address_space_memory,
+ param_offset + 0x100, initrd_base + 0xfffffc0000000000ULL);
+ stq_phys(&address_space_memory, param_offset + 0x108, initrd_size);
}
}
}