Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / hw / misc / iosb.h
blob377f8ca7e2fa3f960880ad9f651048b3848e9309
1 /*
2 * QEMU IOSB emulation
4 * Copyright (c) 2019 Laurent Vivier
5 * Copyright (c) 2022 Mark Cave-Ayland
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #ifndef HW_MEM_IOSB_H
11 #define HW_MEM_IOSB_H
13 #define IOSB_REGS 7
15 struct IOSBState {
16 SysBusDevice parent_obj;
18 MemoryRegion mem_regs;
19 uint32_t regs[IOSB_REGS];
22 #define TYPE_IOSB "IOSB"
23 OBJECT_DECLARE_SIMPLE_TYPE(IOSBState, IOSB);
25 #endif