]> git.proxmox.com Git - mirror_qemu.git/blame - include/hw/nubus/mac-nubus-bridge.h
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / include / hw / nubus / mac-nubus-bridge.h
CommitLineData
fa2ba3b8
LV
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"
db1015e9 13#include "qom/object.h"
fa2ba3b8
LV
14
15#define TYPE_MAC_NUBUS_BRIDGE "mac-nubus-bridge"
8063396b 16OBJECT_DECLARE_SIMPLE_TYPE(MacNubusState, MAC_NUBUS_BRIDGE)
fa2ba3b8 17
db1015e9 18struct MacNubusState {
fa2ba3b8
LV
19 SysBusDevice sysbus_dev;
20
21 NubusBus *bus;
db1015e9 22};
fa2ba3b8
LV
23
24#endif