]> git.ipfire.org Git - thirdparty/qemu.git/blob - include/hw/nubus/mac-nubus-bridge.h
6856d7e0954bd03f221d9c7382ea780a95178949
[thirdparty/qemu.git] / include / hw / nubus / mac-nubus-bridge.h
1 /*
2 * Copyright (c) 2013-2018 Laurent Vivier <laurent@vivier.eu>
3 *
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
6 *
7 */
8
9 #ifndef HW_NUBUS_MAC_H
10 #define HW_NUBUS_MAC_H
11
12 #include "hw/nubus/nubus.h"
13 #include "qom/object.h"
14
15 #define TYPE_MAC_NUBUS_BRIDGE "mac-nubus-bridge"
16 typedef struct MacNubusState MacNubusState;
17 DECLARE_INSTANCE_CHECKER(MacNubusState, MAC_NUBUS_BRIDGE,
18 TYPE_MAC_NUBUS_BRIDGE)
19
20 struct MacNubusState {
21 SysBusDevice sysbus_dev;
22
23 NubusBus *bus;
24 };
25
26 #endif