summaryrefslogtreecommitdiff
path: root/hw/sparc64
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 /hw/sparc64
parentf203c16ea28cfbe53f4b5523117539468d29a67a (diff)
downloadqemu-ba0a71022ca704eadcad4bffa92678d7c723729d.tar.gz
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')
-rw-r--r--hw/sparc64/sun4u.c22
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)
{