[S3C] Make s3c aware of 2440s
[qemu/mini2440.git] / hw / isa.h
bloba8c1a56a4536ef06693f10f6d88dd4bf89ce0657
1 #ifndef HW_ISA_H
2 #define HW_ISA_H
3 /* ISA bus */
5 extern target_phys_addr_t isa_mem_base;
7 int register_ioport_read(int start, int length, int size,
8 IOPortReadFunc *func, void *opaque);
9 int register_ioport_write(int start, int length, int size,
10 IOPortWriteFunc *func, void *opaque);
11 void isa_unassign_ioport(int start, int length);
13 void isa_mmio_init(target_phys_addr_t base, target_phys_addr_t size);
15 /* dma.c */
16 int DMA_get_channel_mode (int nchan);
17 int DMA_read_memory (int nchan, void *buf, int pos, int size);
18 int DMA_write_memory (int nchan, void *buf, int pos, int size);
19 void DMA_hold_DREQ (int nchan);
20 void DMA_release_DREQ (int nchan);
21 void DMA_schedule(int nchan);
22 void DMA_init (int high_page_enable);
23 void DMA_register_channel (int nchan,
24 DMA_transfer_handler transfer_handler,
25 void *opaque);
26 #endif