aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/iosb.h
blob: 377f8ca7e2fa3f960880ad9f651048b3848e9309 (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
/*
 * QEMU IOSB emulation
 *
 * Copyright (c) 2019 Laurent Vivier
 * Copyright (c) 2022 Mark Cave-Ayland
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef HW_MEM_IOSB_H
#define HW_MEM_IOSB_H

#define IOSB_REGS 7

struct IOSBState {
    SysBusDevice parent_obj;

    MemoryRegion mem_regs;
    uint32_t regs[IOSB_REGS];
};

#define TYPE_IOSB "IOSB"
OBJECT_DECLARE_SIMPLE_TYPE(IOSBState, IOSB);

#endif