xref: /openbmc/qemu/include/hw/char/parallel-isa.h (revision c85cad81)
1 /*
2  * QEMU ISA Parallel PORT emulation
3  *
4  * Copyright (c) 2003-2005 Fabrice Bellard
5  * Copyright (c) 2007 Marko Kohtala
6  *
7  * SPDX-License-Identifier: MIT
8  */
9 
10 #ifndef HW_PARALLEL_ISA_H
11 #define HW_PARALLEL_ISA_H
12 
13 #include "parallel.h"
14 
15 #include "hw/isa/isa.h"
16 #include "qom/object.h"
17 
18 #define TYPE_ISA_PARALLEL "isa-parallel"
19 OBJECT_DECLARE_SIMPLE_TYPE(ISAParallelState, ISA_PARALLEL)
20 
21 struct ISAParallelState {
22     ISADevice parent_obj;
23 
24     uint32_t index;
25     uint32_t iobase;
26     uint32_t isairq;
27     ParallelState state;
28 };
29 
30 #endif /* HW_PARALLEL_ISA_H */
31