target/riscv/pmp: Remove outdated comment
[qemu/ar7.git] / hw / nubus / nubus-bridge.c
blobcd8c6a91eb5325934751941b8cbee949ba022ef5
1 /*
2 * QEMU Macintosh Nubus
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.
9 */
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)