1dd70bd0dSJing Liu /* 2dd70bd0dSJing Liu * virtual css bridge definition 3dd70bd0dSJing Liu * 4dd70bd0dSJing Liu * Copyright 2012,2016 IBM Corp. 5dd70bd0dSJing Liu * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com> 6dd70bd0dSJing Liu * Pierre Morel <pmorel@linux.vnet.ibm.com> 7dd70bd0dSJing Liu * 8dd70bd0dSJing Liu * This work is licensed under the terms of the GNU GPL, version 2 or (at 9dd70bd0dSJing Liu * your option) any later version. See the COPYING file in the top-level 10dd70bd0dSJing Liu * directory. 11dd70bd0dSJing Liu */ 12dd70bd0dSJing Liu 13dd70bd0dSJing Liu #ifndef HW_S390X_CSS_BRIDGE_H 14dd70bd0dSJing Liu #define HW_S390X_CSS_BRIDGE_H 15ec150c7eSMarkus Armbruster 16dd70bd0dSJing Liu #include "qom/object.h" 17ec150c7eSMarkus Armbruster #include "hw/sysbus.h" 18dd70bd0dSJing Liu 19dd70bd0dSJing Liu /* virtual css bridge */ 20db1015e9SEduardo Habkost struct VirtualCssBridge { 212a79eb1aSCornelia Huck SysBusDevice sysbus_dev; 22db1015e9SEduardo Habkost }; 232a79eb1aSCornelia Huck 24dd70bd0dSJing Liu #define TYPE_VIRTUAL_CSS_BRIDGE "virtual-css-bridge" 25*8063396bSEduardo Habkost OBJECT_DECLARE_SIMPLE_TYPE(VirtualCssBridge, VIRTUAL_CSS_BRIDGE) 26dd70bd0dSJing Liu 27dd70bd0dSJing Liu /* virtual css bus type */ 28db1015e9SEduardo Habkost struct VirtualCssBus { 29dd70bd0dSJing Liu BusState parent_obj; 30db1015e9SEduardo Habkost }; 31dd70bd0dSJing Liu 32dd70bd0dSJing Liu #define TYPE_VIRTUAL_CSS_BUS "virtual-css-bus" 33*8063396bSEduardo Habkost OBJECT_DECLARE_SIMPLE_TYPE(VirtualCssBus, VIRTUAL_CSS_BUS) 34dd70bd0dSJing Liu VirtualCssBus *virtual_css_bus_init(void); 35dd70bd0dSJing Liu 36dd70bd0dSJing Liu #endif 37