xref: /openbmc/qemu/include/hw/misc/iosb.h (revision bf616ce4)
1 /*
2  * QEMU IOSB emulation
3  *
4  * Copyright (c) 2019 Laurent Vivier
5  * Copyright (c) 2022 Mark Cave-Ayland
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
10 #ifndef HW_MEM_IOSB_H
11 #define HW_MEM_IOSB_H
12 
13 #define IOSB_REGS 7
14 
15 struct IOSBState {
16     SysBusDevice parent_obj;
17 
18     MemoryRegion mem_regs;
19     uint32_t regs[IOSB_REGS];
20 };
21 
22 #define TYPE_IOSB "IOSB"
23 OBJECT_DECLARE_SIMPLE_TYPE(IOSBState, IOSB);
24 
25 #endif
26