MAINTAINERS: Make section QOM cover hw/core/*bus.c as well
[qemu/armbru.git] / include / hw / s390x / css-bridge.h
blobf7ed2d9a03e4d6021f29387f2317c6a32faaa7fc
1 /*
2 * virtual css bridge definition
4 * Copyright 2012,2016 IBM Corp.
5 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
6 * Pierre Morel <pmorel@linux.vnet.ibm.com>
8 * This work is licensed under the terms of the GNU GPL, version 2 or (at
9 * your option) any later version. See the COPYING file in the top-level
10 * directory.
13 #ifndef HW_S390X_CSS_BRIDGE_H
14 #define HW_S390X_CSS_BRIDGE_H
16 #include "qom/object.h"
17 #include "hw/sysbus.h"
19 /* virtual css bridge */
20 typedef struct VirtualCssBridge {
21 SysBusDevice sysbus_dev;
22 bool css_dev_path;
23 } VirtualCssBridge;
25 #define TYPE_VIRTUAL_CSS_BRIDGE "virtual-css-bridge"
26 #define VIRTUAL_CSS_BRIDGE(obj) \
27 OBJECT_CHECK(VirtualCssBridge, (obj), TYPE_VIRTUAL_CSS_BRIDGE)
29 /* virtual css bus type */
30 typedef struct VirtualCssBus {
31 BusState parent_obj;
32 } VirtualCssBus;
34 #define TYPE_VIRTUAL_CSS_BUS "virtual-css-bus"
35 #define VIRTUAL_CSS_BUS(obj) \
36 OBJECT_CHECK(VirtualCssBus, (obj), TYPE_VIRTUAL_CSS_BUS)
37 VirtualCssBus *virtual_css_bus_init(void);
39 #endif