mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/display/vga: extract public API from i386/pc to "hw/display/vga.h"
and remove the old i386/pc dependency. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
e07b15891e
commit
866e2b3727
8 changed files with 31 additions and 17 deletions
25
include/hw/display/vga.h
Normal file
25
include/hw/display/vga.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* QEMU VGA Emulator.
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
||||
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
#ifndef QEMU_HW_DISPLAY_VGA_H
|
||||
#define QEMU_HW_DISPLAY_VGA_H
|
||||
|
||||
#include "exec/memory.h"
|
||||
|
||||
enum vga_retrace_method {
|
||||
VGA_RETRACE_DUMB,
|
||||
VGA_RETRACE_PRECISE
|
||||
};
|
||||
|
||||
extern enum vga_retrace_method vga_retrace_method;
|
||||
|
||||
int isa_vga_mm_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