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