2015-11-06 12:32:40 +01:00
|
|
|
/*
|
|
|
|
* virtual css bridge definition
|
|
|
|
*
|
|
|
|
* Copyright 2012,2016 IBM Corp.
|
|
|
|
* Author(s): Cornelia Huck <cornelia.huck@de.ibm.com>
|
|
|
|
* Pierre Morel <pmorel@linux.vnet.ibm.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or (at
|
|
|
|
* your option) any later version. See the COPYING file in the top-level
|
|
|
|
* directory.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef HW_S390X_CSS_BRIDGE_H
|
|
|
|
#define HW_S390X_CSS_BRIDGE_H
|
2019-08-12 07:23:31 +02:00
|
|
|
|
2015-11-06 12:32:40 +01:00
|
|
|
#include "qom/object.h"
|
2019-08-12 07:23:31 +02:00
|
|
|
#include "hw/sysbus.h"
|
2015-11-06 12:32:40 +01:00
|
|
|
|
|
|
|
/* virtual css bridge */
|
2020-09-03 22:43:22 +02:00
|
|
|
struct VirtualCssBridge {
|
2016-07-11 12:55:44 +02:00
|
|
|
SysBusDevice sysbus_dev;
|
|
|
|
bool css_dev_path;
|
2020-09-03 22:43:22 +02:00
|
|
|
};
|
2016-07-11 12:55:44 +02:00
|
|
|
|
2015-11-06 12:32:40 +01:00
|
|
|
#define TYPE_VIRTUAL_CSS_BRIDGE "virtual-css-bridge"
|
2020-09-16 20:25:19 +02:00
|
|
|
OBJECT_DECLARE_SIMPLE_TYPE(VirtualCssBridge, VIRTUAL_CSS_BRIDGE)
|
2015-11-06 12:32:40 +01:00
|
|
|
|
|
|
|
/* virtual css bus type */
|
2020-09-03 22:43:22 +02:00
|
|
|
struct VirtualCssBus {
|
2015-11-06 12:32:40 +01:00
|
|
|
BusState parent_obj;
|
2020-09-03 22:43:22 +02:00
|
|
|
};
|
2015-11-06 12:32:40 +01:00
|
|
|
|
|
|
|
#define TYPE_VIRTUAL_CSS_BUS "virtual-css-bus"
|
2020-09-16 20:25:19 +02:00
|
|
|
OBJECT_DECLARE_SIMPLE_TYPE(VirtualCssBus, VIRTUAL_CSS_BUS)
|
2015-11-06 12:32:40 +01:00
|
|
|
VirtualCssBus *virtual_css_bus_init(void);
|
|
|
|
|
|
|
|
#endif
|