Fix 32-bit overflow in parallels image support
[qemu-kvm/fedora.git] / hw / isa.h
blobf126eccb1448b6d7aa8cda45c62c75376c6b4918
1 #ifndef HW_ISA_H
2 #define HW_ISA_H
3 /* ISA bus */
5 #include "ioport.h"
7 extern target_phys_addr_t isa_mem_base;
9 void isa_mmio_init(target_phys_addr_t base, target_phys_addr_t size);
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