root / hw / isa.h @ 1ffc346f
History | View | Annotate | Download (899 Bytes)
1 | 87ecb68b | pbrook | /* ISA bus */
|
---|---|---|---|
2 | 87ecb68b | pbrook | |
3 | 87ecb68b | pbrook | extern target_phys_addr_t isa_mem_base;
|
4 | 87ecb68b | pbrook | |
5 | 87ecb68b | pbrook | int register_ioport_read(int start, int length, int size, |
6 | 87ecb68b | pbrook | IOPortReadFunc *func, void *opaque);
|
7 | 87ecb68b | pbrook | int register_ioport_write(int start, int length, int size, |
8 | 87ecb68b | pbrook | IOPortWriteFunc *func, void *opaque);
|
9 | 87ecb68b | pbrook | void isa_unassign_ioport(int start, int length); |
10 | 87ecb68b | pbrook | |
11 | 87ecb68b | pbrook | void isa_mmio_init(target_phys_addr_t base, target_phys_addr_t size);
|
12 | 87ecb68b | pbrook | |
13 | 87ecb68b | pbrook | /* dma.c */
|
14 | 87ecb68b | pbrook | int DMA_get_channel_mode (int nchan); |
15 | 87ecb68b | pbrook | int DMA_read_memory (int nchan, void *buf, int pos, int size); |
16 | 87ecb68b | pbrook | int DMA_write_memory (int nchan, void *buf, int pos, int size); |
17 | 87ecb68b | pbrook | void DMA_hold_DREQ (int nchan); |
18 | 87ecb68b | pbrook | void DMA_release_DREQ (int nchan); |
19 | 87ecb68b | pbrook | void DMA_schedule(int nchan); |
20 | 87ecb68b | pbrook | void DMA_run (void); |
21 | 87ecb68b | pbrook | void DMA_init (int high_page_enable); |
22 | 87ecb68b | pbrook | void DMA_register_channel (int nchan, |
23 | 87ecb68b | pbrook | DMA_transfer_handler transfer_handler, |
24 | 87ecb68b | pbrook | void *opaque); |