xref: /openbmc/qemu/include/hw/display/vga.h (revision 7336c944)
1866e2b37SPhilippe Mathieu-Daudé /*
2866e2b37SPhilippe Mathieu-Daudé  * QEMU VGA Emulator.
3866e2b37SPhilippe Mathieu-Daudé  *
4866e2b37SPhilippe Mathieu-Daudé  * Copyright (c) 2003 Fabrice Bellard
5866e2b37SPhilippe Mathieu-Daudé  *
6866e2b37SPhilippe Mathieu-Daudé  * This work is licensed under the terms of the GNU GPL, version 2 or later.
7866e2b37SPhilippe Mathieu-Daudé  * See the COPYING file in the top-level directory.
8866e2b37SPhilippe Mathieu-Daudé  */
9866e2b37SPhilippe Mathieu-Daudé #ifndef QEMU_HW_DISPLAY_VGA_H
10866e2b37SPhilippe Mathieu-Daudé #define QEMU_HW_DISPLAY_VGA_H
11866e2b37SPhilippe Mathieu-Daudé 
1248ecfbf1SGerd Hoffmann /*
1348ecfbf1SGerd Hoffmann  * modules can reference this symbol to avoid being loaded
1448ecfbf1SGerd Hoffmann  * into system emulators without vga support
1548ecfbf1SGerd Hoffmann  */
1648ecfbf1SGerd Hoffmann extern bool have_vga;
1748ecfbf1SGerd Hoffmann 
18866e2b37SPhilippe Mathieu-Daudé enum vga_retrace_method {
19866e2b37SPhilippe Mathieu-Daudé     VGA_RETRACE_DUMB,
20866e2b37SPhilippe Mathieu-Daudé     VGA_RETRACE_PRECISE
21866e2b37SPhilippe Mathieu-Daudé };
22866e2b37SPhilippe Mathieu-Daudé 
23866e2b37SPhilippe Mathieu-Daudé extern enum vga_retrace_method vga_retrace_method;
24866e2b37SPhilippe Mathieu-Daudé 
25*23f6e3b1SPhilippe Mathieu-Daudé #define TYPE_VGA_MMIO "vga-mmio"
26*23f6e3b1SPhilippe Mathieu-Daudé 
27866e2b37SPhilippe Mathieu-Daudé #endif
28