| * QEMU Motorola 680x0 Macintosh Video Card Emulation |
| * Copyright (c) 2012-2018 Laurent Vivier |
| * some parts from QEMU G364 framebuffer Emulator. |
| * Copyright (c) 2007-2011 Herve Poussineau |
| * This work is licensed under the terms of the GNU GPL, version 2 or later. |
| * See the COPYING file in the top-level directory. |
| typedef struct MacfbState { |
| uint32_t palette_current; |
| uint8_t color_palette[256 * 3]; |
| uint32_t width, height; /* in pixels */ |
| #define TYPE_MACFB "sysbus-macfb" |
| OBJECT_DECLARE_SIMPLE_TYPE(MacfbSysBusState, MACFB) |
| struct MacfbSysBusState { |
| #define TYPE_NUBUS_MACFB "nubus-macfb" |
| OBJECT_DECLARE_TYPE(MacfbNubusState, MacfbNubusDeviceClass, NUBUS_MACFB) |
| struct MacfbNubusDeviceClass { |
| DeviceClass parent_class; |
| DeviceRealize parent_realize; |