root / hw / isa.h @ 0c3271c5
History | View | Annotate | Download (647 Bytes)
1 | 79383c9c | blueswir1 | #ifndef HW_ISA_H
|
---|---|---|---|
2 | 79383c9c | blueswir1 | #define HW_ISA_H
|
3 | 87ecb68b | pbrook | /* ISA bus */
|
4 | 87ecb68b | pbrook | |
5 | 32993977 | Isaku Yamahata | #include "ioport.h" |
6 | 87ecb68b | pbrook | |
7 | 32993977 | Isaku Yamahata | extern target_phys_addr_t isa_mem_base;
|
8 | 87ecb68b | pbrook | |
9 | 87ecb68b | pbrook | void isa_mmio_init(target_phys_addr_t base, target_phys_addr_t size);
|
10 | 87ecb68b | pbrook | |
11 | 87ecb68b | pbrook | /* dma.c */
|
12 | 87ecb68b | pbrook | int DMA_get_channel_mode (int nchan); |
13 | 87ecb68b | pbrook | int DMA_read_memory (int nchan, void *buf, int pos, int size); |
14 | 87ecb68b | pbrook | int DMA_write_memory (int nchan, void *buf, int pos, int size); |
15 | 87ecb68b | pbrook | void DMA_hold_DREQ (int nchan); |
16 | 87ecb68b | pbrook | void DMA_release_DREQ (int nchan); |
17 | 87ecb68b | pbrook | void DMA_schedule(int nchan); |
18 | 87ecb68b | pbrook | void DMA_init (int high_page_enable); |
19 | 87ecb68b | pbrook | void DMA_register_channel (int nchan, |
20 | 87ecb68b | pbrook | DMA_transfer_handler transfer_handler, |
21 | 87ecb68b | pbrook | void *opaque);
|
22 | 79383c9c | blueswir1 | #endif |