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