1 #ifndef HW_ISA_H 2 #define HW_ISA_H 3 4 /* ISA bus */ 5 6 #include "exec/hwaddr.h" 7 #include "exec/ioport.h" 8 #include "hw/qdev.h" 9 10 extern hwaddr isa_mem_base; 11 12 void isa_mmio_init(hwaddr base, hwaddr size); 13 14 /* dma.c */ 15 int DMA_get_channel_mode (int nchan); 16 int DMA_read_memory (int nchan, void *buf, int pos, int size); 17 int DMA_write_memory (int nchan, void *buf, int pos, int size); 18 void DMA_hold_DREQ (int nchan); 19 void DMA_release_DREQ (int nchan); 20 void DMA_schedule(int nchan); 21 void DMA_init (int high_page_enable); 22 void DMA_register_channel (int nchan, 23 DMA_transfer_handler transfer_handler, 24 void *opaque); 25 #endif 26