diff options
| author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-12-06 23:45:27 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-01-13 10:58:54 +0100 |
| commit | 23f6e3b11be74abae77584a069ec710d719ac5a1 (patch) | |
| tree | 97027c7906cada56253b899dc0ab47de15d827e8 /include/hw/display | |
| parent | 6bd06f773163459706017d5fead84ae899e4ac16 (diff) | |
| download | focaccia-qemu-23f6e3b11be74abae77584a069ec710d719ac5a1.tar.gz focaccia-qemu-23f6e3b11be74abae77584a069ec710d719ac5a1.zip | |
hw/display/vga-mmio: QOM'ify vga_mmio_init() as TYPE_VGA_MMIO
Introduce TYPE_VGA_MMIO, a sysbus device. While there is no change in the vga_mmio_init() interface, this is a migration compatibility break of the MIPS Acer Pica 61 Jazz machine (pica61). Suggested-by: Thomas Huth <thuth@redhat.com> Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20211206224528.563588-4-f4bug@amsat.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/hw/display')
| -rw-r--r-- | include/hw/display/vga.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/display/vga.h b/include/hw/display/vga.h index c16a5c26da..98b2e560f9 100644 --- a/include/hw/display/vga.h +++ b/include/hw/display/vga.h @@ -24,6 +24,8 @@ enum vga_retrace_method { extern enum vga_retrace_method vga_retrace_method; +#define TYPE_VGA_MMIO "vga-mmio" + int vga_mmio_init(hwaddr vram_base, hwaddr ctrl_base, int it_shift, MemoryRegion *address_space); |