xref: /openbmc/qemu/include/hw/display/vga.h (revision f7160f32)
1 /*
2  * QEMU VGA Emulator.
3  *
4  * Copyright (c) 2003 Fabrice Bellard
5  *
6  * This work is licensed under the terms of the GNU GPL, version 2 or later.
7  * See the COPYING file in the top-level directory.
8  */
9 #ifndef QEMU_HW_DISPLAY_VGA_H
10 #define QEMU_HW_DISPLAY_VGA_H
11 
12 #include "exec/hwaddr.h"
13 
14 enum vga_retrace_method {
15     VGA_RETRACE_DUMB,
16     VGA_RETRACE_PRECISE
17 };
18 
19 extern enum vga_retrace_method vga_retrace_method;
20 
21 int isa_vga_mm_init(hwaddr vram_base,
22                     hwaddr ctrl_base, int it_shift,
23                     MemoryRegion *address_space);
24 
25 #endif
26