4 * Copyright (c) 2013-2018 Laurent Vivier <laurent@vivier.eu>
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
11 #include "qemu/osdep.h"
12 #include "hw/sysbus.h"
13 #include "hw/nubus/nubus.h"
15 static void nubus_bridge_class_init(ObjectClass
*klass
, void *data
)
17 DeviceClass
*dc
= DEVICE_CLASS(klass
);
19 dc
->fw_name
= "nubus";
22 static const TypeInfo nubus_bridge_info
= {
23 .name
= TYPE_NUBUS_BRIDGE
,
24 .parent
= TYPE_SYS_BUS_DEVICE
,
25 .instance_size
= sizeof(SysBusDevice
),
26 .class_init
= nubus_bridge_class_init
,
29 static void nubus_register_types(void)
31 type_register_static(&nubus_bridge_info
);
34 type_init(nubus_register_types
)