5 #include "hw/isa/isa.h"
6 #include "exec/ioport.h"
8 #define TYPE_I8257 "i8257"
10 typedef struct I8257Regs
{
18 IsaDmaTransferHandler transfer_handler
;
22 typedef struct I8257State
{
37 MemoryRegion channel_io
;
41 bool dma_bh_scheduled
;
43 PortioList portio_page
;
44 PortioList portio_pageh
;
47 void i8257_dma_init(ISABus
*bus
, bool high_page_enable
);