mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
hw/mips/jazz: Inline vga_mmio_init() and remove it
vga_mmio_init() is used only one time and not very helpful, inline and remove it. 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-5-f4bug@amsat.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
23f6e3b11b
commit
7336c94434
3 changed files with 8 additions and 25 deletions
|
@ -9,8 +9,6 @@
|
|||
#ifndef QEMU_HW_DISPLAY_VGA_H
|
||||
#define QEMU_HW_DISPLAY_VGA_H
|
||||
|
||||
#include "exec/hwaddr.h"
|
||||
|
||||
/*
|
||||
* modules can reference this symbol to avoid being loaded
|
||||
* into system emulators without vga support
|
||||
|
@ -26,7 +24,4 @@ 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);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue