Index: qemu/hw/dma.c =================================================================== --- qemu.orig/hw/dma.c 2007-08-22 19:44:23.000000000 +0000 +++ qemu/hw/dma.c 2007-08-22 19:51:31.000000000 +0000 @@ -434,20 +434,6 @@ dma_read_memory(r, buf, 0, len); } -int DMA_read_memory (int nchan, void *buf, int pos, int len) -{ - struct dma_regs *r = &dma_controllers[nchan > 3].regs[nchan & 3]; - - return dma_read_memory(r, buf, pos, len); -} - -int DMA_write_memory (int nchan, void *buf, int pos, int len) -{ - struct dma_regs *r = &dma_controllers[nchan > 3].regs[nchan & 3]; - - return dma_write_memory(r, buf, pos, len); -} - /* request the emulator to transfer a new DMA memory block ASAP */ void DMA_schedule(int nchan) { Index: qemu/vl.h =================================================================== --- qemu.orig/vl.h 2007-08-22 19:47:59.000000000 +0000 +++ qemu/vl.h 2007-08-22 19:51:31.000000000 +0000 @@ -1059,8 +1059,6 @@ /* dma.c */ typedef int (*DMA_transfer_handler) (void *opaque, int nchan, int pos, int size); 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(int nchan);