1#ifndef HW_ISA_H
2#define HW_ISA_H
3
4/* ISA bus */
5
6#include "ioport.h"
7#include "qdev.h"
8
9extern target_phys_addr_t isa_mem_base;
10
11void isa_mmio_init(target_phys_addr_t base, target_phys_addr_t size);
12
13/* dma.c */
14int DMA_get_channel_mode (int nchan);
15int DMA_read_memory (int nchan, void *buf, int pos, int size);
16int DMA_write_memory (int nchan, void *buf, int pos, int size);
17void DMA_hold_DREQ (int nchan);
18void DMA_release_DREQ (int nchan);
19void DMA_schedule(int nchan);
20void DMA_init (int high_page_enable);
21void DMA_register_channel (int nchan,
22                           DMA_transfer_handler transfer_handler,
23                           void *opaque);
24#endif
25