summaryrefslogtreecommitdiff
path: root/hw/ide.h
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/ide.h
parente977aa37043e842e5b398014833e8a78975a8a36 (diff)
downloadqemu-9d7f1b9aa5392a761ee8b84560a7ec0bb61b7ab4.tar.gz
ide/mmio: convert to memory API
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/ide.h')
-rw-r--r--hw/ide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ide.h b/hw/ide.h
index 9059aae289..f9f6bd8254 100644
--- a/hw/ide.h
+++ b/hw/ide.h
@@ -3,6 +3,7 @@
#include "isa.h"
#include "pci.h"
+#include "memory.h"
#define MAX_IDE_DEVS 2
@@ -24,6 +25,7 @@ MemoryRegion *pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
/* ide-mmio.c */
void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2,
+ MemoryRegion *address_space,
qemu_irq irq, int shift,
DriveInfo *hd0, DriveInfo *hd1);