]> Git Repo - qemu.git/blobdiff - hw/sh4/r2d.c
Switch non-CPU callers from ld/st*_phys to address_space_ld/st*
[qemu.git] / hw / sh4 / r2d.c
index d1d0847ba2b34120869e57e5c073d4a17e6f6013..4221060308d45133c35b2ed65d060b110954bd8f 100644 (file)
@@ -318,8 +318,10 @@ static void r2d_init(MachineState *machine)
         }
 
         /* initialization which should be done by firmware */
-        stl_phys(&address_space_memory, SH7750_BCR1, 1<<3); /* cs3 SDRAM */
-        stw_phys(&address_space_memory, SH7750_BCR2, 3<<(3*2)); /* cs3 32bit */
+        address_space_stl(&address_space_memory, SH7750_BCR1, 1 << 3,
+                          MEMTXATTRS_UNSPECIFIED, NULL); /* cs3 SDRAM */
+        address_space_stw(&address_space_memory, SH7750_BCR2, 3 << (3 * 2),
+                          MEMTXATTRS_UNSPECIFIED, NULL); /* cs3 32bit */
         reset_info->vector = (SDRAM_BASE + LINUX_LOAD_OFFSET) | 0xa0000000; /* Start from P2 area */
     }
 
This page took 0.02295 seconds and 4 git commands to generate.