mirror of
https://github.com/qemu/qemu.git
synced 2025-07-30 16:37:00 +00:00

Generated using: $ ./scripts/codeconverter/converter.py -i \ --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]') Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Message-Id: <20200831210740.126168-12-ehabkost@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Message-Id: <20200831210740.126168-13-ehabkost@redhat.com> Message-Id: <20200831210740.126168-14-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
/*
|
|
* 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
|
|
|
|
#include "qom/object.h"
|
|
#include "hw/sysbus.h"
|
|
|
|
/* virtual css bridge */
|
|
struct VirtualCssBridge {
|
|
SysBusDevice sysbus_dev;
|
|
bool css_dev_path;
|
|
};
|
|
typedef struct VirtualCssBridge VirtualCssBridge;
|
|
|
|
#define TYPE_VIRTUAL_CSS_BRIDGE "virtual-css-bridge"
|
|
DECLARE_INSTANCE_CHECKER(VirtualCssBridge, VIRTUAL_CSS_BRIDGE,
|
|
TYPE_VIRTUAL_CSS_BRIDGE)
|
|
|
|
/* virtual css bus type */
|
|
struct VirtualCssBus {
|
|
BusState parent_obj;
|
|
};
|
|
typedef struct VirtualCssBus VirtualCssBus;
|
|
|
|
#define TYPE_VIRTUAL_CSS_BUS "virtual-css-bus"
|
|
DECLARE_INSTANCE_CHECKER(VirtualCssBus, VIRTUAL_CSS_BUS,
|
|
TYPE_VIRTUAL_CSS_BUS)
|
|
VirtualCssBus *virtual_css_bus_init(void);
|
|
|
|
#endif
|