summaryrefslogtreecommitdiff
path: root/hw/ide/internal.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2010-11-21 18:29:52 +0200
committerKevin Wolf <kwolf@redhat.com>2010-11-24 17:31:06 +0100
commit9fbef1ac7cc888f29435e9f636b5dd14cd3260df (patch)
treed5a3df94b3c658f7f3a371a7b9eefd01f08e604a /hw/ide/internal.h
parent62155e2b51e3c282ddc30adbb6d7b8d3bb7c386e (diff)
downloadqemu-9fbef1ac7cc888f29435e9f636b5dd14cd3260df.tar.gz
ide: convert bmdma address ioport to ioport_register()
cmd646, via compile tested, pci lightly boot tested. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r--hw/ide/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h
index d652e06c45..85f4a1607b 100644
--- a/hw/ide/internal.h
+++ b/hw/ide/internal.h
@@ -8,6 +8,7 @@
*/
#include <hw/ide.h>
#include "block_int.h"
+#include "iorange.h"
/* debug IDE devices */
//#define DEBUG_IDE
@@ -496,6 +497,7 @@ struct BMDMAState {
QEMUIOVector qiov;
int64_t sector_num;
uint32_t nsector;
+ IORange addr_ioport;
QEMUBH *bh;
};