diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2013-12-17 15:22:06 +1000 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2014-02-11 22:57:32 +1000 |
commit | 5ce5944dc0ffdc43c11b5cad11e526f699aabe4c (patch) | |
tree | 5969aafd8a4716d4bc43422711c38b8182a13bc5 /hw/sh4/r2d.c | |
parent | 2198a121434b806636318d62c89595c1955e825a (diff) | |
download | qemu-5ce5944dc0ffdc43c11b5cad11e526f699aabe4c.zip qemu-5ce5944dc0ffdc43c11b5cad11e526f699aabe4c.tar.gz qemu-5ce5944dc0ffdc43c11b5cad11e526f699aabe4c.tar.bz2 |
exec: Make stw_*_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/sh4/r2d.c')
-rw-r--r-- | hw/sh4/r2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sh4/r2d.c b/hw/sh4/r2d.c index 76ef869..eaeb7ed 100644 --- a/hw/sh4/r2d.c +++ b/hw/sh4/r2d.c @@ -319,7 +319,7 @@ static void r2d_init(QEMUMachineInitArgs *args) /* initialization which should be done by firmware */ stl_phys(&address_space_memory, SH7750_BCR1, 1<<3); /* cs3 SDRAM */ - stw_phys(SH7750_BCR2, 3<<(3*2)); /* cs3 32bit */ + stw_phys(&address_space_memory, SH7750_BCR2, 3<<(3*2)); /* cs3 32bit */ reset_info->vector = (SDRAM_BASE + LINUX_LOAD_OFFSET) | 0xa0000000; /* Start from P2 area */ } |