diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2016-02-03 11:28:55 -0500 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2016-02-03 11:28:55 -0500 |
commit | 57146941924a4189b14cbc1c87478b2ffef31943 (patch) | |
tree | 24f08fc2c3b5b3a9a45caa4214c8984c6c9266ca /include/hw/isa | |
parent | 449ae7eca922c7bb65730cab60f6c8a23cc47cef (diff) | |
download | qemu-57146941924a4189b14cbc1c87478b2ffef31943.zip qemu-57146941924a4189b14cbc1c87478b2ffef31943.tar.gz qemu-57146941924a4189b14cbc1c87478b2ffef31943.tar.bz2 |
i8257: pass ISA bus to DMA_init() function
i8257 DMA controller exists on one ISA bus, so let's specify it at initialization.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Message-id: 1453843944-26833-3-git-send-email-hpoussin@reactos.org
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/hw/isa')
-rw-r--r-- | include/hw/isa/isa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/isa/isa.h b/include/hw/isa/isa.h index de3cd3d..4af8730 100644 --- a/include/hw/isa/isa.h +++ b/include/hw/isa/isa.h @@ -113,7 +113,7 @@ int DMA_write_memory (int nchan, void *buf, int pos, int size); void DMA_hold_DREQ (int nchan); void DMA_release_DREQ (int nchan); void DMA_schedule(void); -void DMA_init(int high_page_enable); +void DMA_init(ISABus *bus, int high_page_enable); void DMA_register_channel (int nchan, DMA_transfer_handler transfer_handler, void *opaque); |