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