aboutsummaryrefslogtreecommitdiff
path: root/include/hw/isa
diff options
context:
space:
mode:
authorHervé Poussineau <hpoussin@reactos.org>2016-02-03 11:28:58 -0500
committerJohn Snow <jsnow@redhat.com>2016-02-03 11:28:58 -0500
commitba0a71022ca704eadcad4bffa92678d7c723729d (patch)
tree8305424ebf452011eb70c49665124c53a6fcace1 /include/hw/isa
parentf203c16ea28cfbe53f4b5523117539468d29a67a (diff)
dma: remove now useless DMA_* functions
Keep only DMA_init function as a wrapper around DMA controllers creation. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Message-id: 1453843944-26833-20-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.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/hw/isa/isa.h b/include/hw/isa/isa.h
index 8de439c597..0bbe21cd48 100644
--- a/include/hw/isa/isa.h
+++ b/include/hw/isa/isa.h
@@ -144,15 +144,6 @@ static inline ISABus *isa_bus_from_device(ISADevice *d)
return ISA_BUS(qdev_get_parent_bus(DEVICE(d)));
}
-/* dma.c */
-int DMA_get_channel_mode (int nchan);
-int DMA_read_memory (int nchan, void *buf, int pos, int size);
-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);
+/* i8257.c */
void DMA_init(ISABus *bus, int high_page_enable);
-void DMA_register_channel (int nchan,
- DMA_transfer_handler transfer_handler,
- void *opaque);
#endif