aboutsummaryrefslogtreecommitdiff
path: root/hw/zaurus.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-09 17:48:30 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-09 17:48:30 +0000
commitf78630ab2f4b15d493fa921bb43ddcec4119f6d3 (patch)
treee2dd73cd5358e918b073b634d4cdc63ac01ee872 /hw/zaurus.c
parent3b760e046b54a362bdcc39c45b339dafb61d82dd (diff)
More phys_ram_base removal.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7055 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/zaurus.c')
-rw-r--r--hw/zaurus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/zaurus.c b/hw/zaurus.c
index 8b16c47a41..482834fb7b 100644
--- a/hw/zaurus.c
+++ b/hw/zaurus.c
@@ -275,8 +275,8 @@ static struct __attribute__ ((__packed__)) sl_param_info {
.phadadj = 0x01,
};
-void sl_bootparam_write(uint32_t ptr)
+void sl_bootparam_write(target_phys_addr_t ptr)
{
- memcpy(phys_ram_base + ptr, &zaurus_bootparam,
- sizeof(struct sl_param_info));
+ cpu_physical_memory_write(ptr, (void *)&zaurus_bootparam,
+ sizeof(struct sl_param_info));
}