4 #include "hw/isa/isa.h"
5 #include "exec/ioport.h"
6 #include "qom/object.h"
8 #define TYPE_I8257 "i8257"
9 typedef struct I8257State I8257State
;
10 DECLARE_INSTANCE_CHECKER(I8257State
, I8257
,
13 typedef struct I8257Regs
{
21 IsaDmaTransferHandler transfer_handler
;
40 MemoryRegion channel_io
;
44 bool dma_bh_scheduled
;
46 PortioList portio_page
;
47 PortioList portio_pageh
;
50 void i8257_dma_init(ISABus
*bus
, bool high_page_enable
);