diff options
author | Hervé Poussineau | 2016-02-03 17:28:58 +0100 |
---|---|---|
committer | John Snow | 2016-02-03 17:28:58 +0100 |
commit | ba0a71022ca704eadcad4bffa92678d7c723729d (patch) | |
tree | 8305424ebf452011eb70c49665124c53a6fcace1 /hw/sparc64/sun4u.c | |
parent | sb16: use IsaDma interface instead of global DMA_* functions (diff) | |
download | qemu-ba0a71022ca704eadcad4bffa92678d7c723729d.tar.gz qemu-ba0a71022ca704eadcad4bffa92678d7c723729d.tar.xz qemu-ba0a71022ca704eadcad4bffa92678d7c723729d.zip |
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 'hw/sparc64/sun4u.c')
-rw-r--r-- | hw/sparc64/sun4u.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c index 371f5bcbf9..add1e752f3 100644 --- a/hw/sparc64/sun4u.c +++ b/hw/sparc64/sun4u.c @@ -99,32 +99,10 @@ typedef struct EbusState { MemoryRegion bar1; } EbusState; -int DMA_get_channel_mode (int nchan) -{ - return 0; -} -int DMA_read_memory (int nchan, void *buf, int pos, int size) -{ - return 0; -} -int DMA_write_memory (int nchan, void *buf, int pos, int size) -{ - return 0; -} -void DMA_hold_DREQ (int nchan) {} -void DMA_release_DREQ (int nchan) {} -void DMA_schedule(void) {} - void DMA_init(ISABus *bus, int high_page_enable) { } -void DMA_register_channel (int nchan, - DMA_transfer_handler transfer_handler, - void *opaque) -{ -} - static void fw_cfg_boot_set(void *opaque, const char *boot_device, Error **errp) { |