xref: /openbmc/qemu/include/hw/fsi/opb.h (revision a7d1ed48)
1 /*
2  * SPDX-License-Identifier: GPL-2.0-or-later
3  * Copyright (C) 2023 IBM Corp.
4  *
5  * IBM On-Chip Peripheral Bus
6  */
7 #ifndef FSI_OPB_H
8 #define FSI_OPB_H
9 
10 #include "exec/memory.h"
11 #include "hw/fsi/fsi-master.h"
12 
13 #define TYPE_OP_BUS "opb"
14 OBJECT_DECLARE_SIMPLE_TYPE(OPBus, OP_BUS)
15 
16 typedef struct OPBus {
17         /*< private >*/
18         BusState bus;
19 
20         /*< public >*/
21         MemoryRegion mr;
22         AddressSpace as;
23 } OPBus;
24 
25 #endif /* FSI_OPB_H */
26