mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
Compile dma only once
Use a qemu_irq to request CPU exit. 7 compilations less for the full build. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
c86d2c2387
commit
4556bd8b25
19 changed files with 83 additions and 17 deletions
2
hw/isa.h
2
hw/isa.h
|
|
@ -41,7 +41,7 @@ int DMA_write_memory (int nchan, void *buf, int pos, int size);
|
|||
void DMA_hold_DREQ (int nchan);
|
||||
void DMA_release_DREQ (int nchan);
|
||||
void DMA_schedule(int nchan);
|
||||
void DMA_init (int high_page_enable);
|
||||
void DMA_init(int high_page_enable, qemu_irq *cpu_request_exit);
|
||||
void DMA_register_channel (int nchan,
|
||||
DMA_transfer_handler transfer_handler,
|
||||
void *opaque);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue