split out ioport related stuffs from vl.c into ioport.c.
[sdk/emulator/qemu.git] / hw / isa.h
1 #ifndef HW_ISA_H
2 #define HW_ISA_H
3 /* ISA bus */
4
5 #include "ioport.h"
6
7 extern target_phys_addr_t isa_mem_base;
8
9 void isa_mmio_init(target_phys_addr_t base, target_phys_addr_t size);
10
11 /* dma.c */
12 int DMA_get_channel_mode (int nchan);
13 int DMA_read_memory (int nchan, void *buf, int pos, int size);
14 int DMA_write_memory (int nchan, void *buf, int pos, int size);
15 void DMA_hold_DREQ (int nchan);
16 void DMA_release_DREQ (int nchan);
17 void DMA_schedule(int nchan);
18 void DMA_init (int high_page_enable);
19 void DMA_register_channel (int nchan,
20                            DMA_transfer_handler transfer_handler,
21                            void *opaque);
22 #endif