4 #include "hw/isa/isa.h"
5 #include "exec/ioport.h"
7 #define TYPE_I8257 "i8257"
9 typedef struct I8257Regs
{
17 IsaDmaTransferHandler transfer_handler
;
21 typedef struct I8257State
{
36 MemoryRegion channel_io
;
40 bool dma_bh_scheduled
;
42 PortioList portio_page
;
43 PortioList portio_pageh
;
46 void i8257_dma_init(ISABus
*bus
, bool high_page_enable
);