aboutsummaryrefslogtreecommitdiff
path: root/include/hw/char/parallel-isa.h
blob: 3b783bd08d590d8b836e3e56227176186c31aa5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * QEMU ISA Parallel PORT emulation
 *
 * Copyright (c) 2003-2005 Fabrice Bellard
 * Copyright (c) 2007 Marko Kohtala
 *
 * SPDX-License-Identifier: MIT
 */

#ifndef HW_PARALLEL_ISA_H
#define HW_PARALLEL_ISA_H

#include "parallel.h"

#include "exec/ioport.h"
#include "hw/isa/isa.h"
#include "qom/object.h"

#define TYPE_ISA_PARALLEL "isa-parallel"
OBJECT_DECLARE_SIMPLE_TYPE(ISAParallelState, ISA_PARALLEL)

struct ISAParallelState {
    ISADevice parent_obj;

    uint32_t index;
    uint32_t iobase;
    uint32_t isairq;
    ParallelState state;
    PortioList portio_list;
};

#endif /* HW_PARALLEL_ISA_H */