]>
Commit | Line | Data |
---|---|---|
dd70bd0d JL |
1 | /* |
2 | * virtual css bridge definition | |
3 | * | |
4 | * Copyright 2012,2016 IBM Corp. | |
5 | * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com> | |
6 | * Pierre Morel <pmorel@linux.vnet.ibm.com> | |
7 | * | |
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. | |
11 | */ | |
12 | ||
13 | #ifndef HW_S390X_CSS_BRIDGE_H | |
14 | #define HW_S390X_CSS_BRIDGE_H | |
ec150c7e | 15 | |
dd70bd0d | 16 | #include "qom/object.h" |
ec150c7e | 17 | #include "hw/sysbus.h" |
dd70bd0d JL |
18 | |
19 | /* virtual css bridge */ | |
db1015e9 | 20 | struct VirtualCssBridge { |
2a79eb1a CH |
21 | SysBusDevice sysbus_dev; |
22 | bool css_dev_path; | |
db1015e9 | 23 | }; |
2a79eb1a | 24 | |
dd70bd0d | 25 | #define TYPE_VIRTUAL_CSS_BRIDGE "virtual-css-bridge" |
8063396b | 26 | OBJECT_DECLARE_SIMPLE_TYPE(VirtualCssBridge, VIRTUAL_CSS_BRIDGE) |
dd70bd0d JL |
27 | |
28 | /* virtual css bus type */ | |
db1015e9 | 29 | struct VirtualCssBus { |
dd70bd0d | 30 | BusState parent_obj; |
db1015e9 | 31 | }; |
dd70bd0d JL |
32 | |
33 | #define TYPE_VIRTUAL_CSS_BUS "virtual-css-bus" | |
8063396b | 34 | OBJECT_DECLARE_SIMPLE_TYPE(VirtualCssBus, VIRTUAL_CSS_BUS) |
dd70bd0d JL |
35 | VirtualCssBus *virtual_css_bus_init(void); |
36 | ||
37 | #endif |