diff options
author | Avi Kivity <avi@redhat.com> | 2010-11-21 18:29:52 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-11-24 17:31:06 +0100 |
commit | 9fbef1ac7cc888f29435e9f636b5dd14cd3260df (patch) | |
tree | d5a3df94b3c658f7f3a371a7b9eefd01f08e604a /hw/ide/internal.h | |
parent | 62155e2b51e3c282ddc30adbb6d7b8d3bb7c386e (diff) | |
download | hqemu-9fbef1ac7cc888f29435e9f636b5dd14cd3260df.zip hqemu-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h index d652e06..85f4a16 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; }; |