Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-6.2-20211021' into staging
[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 MAC_NUBUS_FIRST_SLOT 0x9
16 #define MAC_NUBUS_LAST_SLOT 0xe
17 #define MAC_NUBUS_SLOT_NB (MAC_NUBUS_LAST_SLOT - MAC_NUBUS_FIRST_SLOT + 1)
18
19 #define TYPE_MAC_NUBUS_BRIDGE "mac-nubus-bridge"
20 OBJECT_DECLARE_SIMPLE_TYPE(MacNubusBridge, MAC_NUBUS_BRIDGE)
21
22 struct MacNubusBridge {
23 NubusBridge parent_obj;
24
25 MemoryRegion super_slot_alias;
26 MemoryRegion slot_alias;
27 };
28
29 #endif