TCG: add logical operations found on alpha and powerpc processors
[qemu/qemu-JZ.git] / hw / isa.h
blob222e4f347b88f2356309c71d2788fe8e48248197
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_run (void);
23 void DMA_init (int high_page_enable);
24 void DMA_register_channel (int nchan,
25 DMA_transfer_handler transfer_handler,
26 void *opaque);
27 #endif