xref: /openbmc/qemu/include/hw/display/vga.h (revision 7336c944)
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 /*
13  * modules can reference this symbol to avoid being loaded
14  * into system emulators without vga support
15  */
16 extern bool have_vga;
17 
18 enum vga_retrace_method {
19     VGA_RETRACE_DUMB,
20     VGA_RETRACE_PRECISE
21 };
22 
23 extern enum vga_retrace_method vga_retrace_method;
24 
25 #define TYPE_VGA_MMIO "vga-mmio"
26 
27 #endif
28