aboutsummaryrefslogtreecommitdiff
path: root/hw/r2d.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-11-09 16:10:07 +0200
committerAvi Kivity <avi@redhat.com>2011-11-24 18:31:59 +0200
commit9d7f1b9aa5392a761ee8b84560a7ec0bb61b7ab4 (patch)
tree3a42a37cbb27e4d2c03d0980e2896be10a9989b4 /hw/r2d.c
parente977aa37043e842e5b398014833e8a78975a8a36 (diff)
downloadqemu-9d7f1b9aa5392a761ee8b84560a7ec0bb61b7ab4.zip
qemu-9d7f1b9aa5392a761ee8b84560a7ec0bb61b7ab4.tar.gz
qemu-9d7f1b9aa5392a761ee8b84560a7ec0bb61b7ab4.tar.bz2
ide/mmio: convert to memory API
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/r2d.c')
-rw-r--r--hw/r2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/r2d.c b/hw/r2d.c
index b65fd42..a9aefa2 100644
--- a/hw/r2d.c
+++ b/hw/r2d.c
@@ -260,7 +260,7 @@ static void r2d_init(ram_addr_t ram_size,
/* onboard CF (True IDE mode, Master only). */
dinfo = drive_get(IF_IDE, 0, 0);
- mmio_ide_init(0x14001000, 0x1400080c, irq[CF_IDE], 1,
+ mmio_ide_init(0x14001000, 0x1400080c, address_space_mem, irq[CF_IDE], 1,
dinfo, NULL);
/* onboard flash memory */