diff options
Diffstat (limited to 'include/hw/display/vga.h')
-rw-r--r-- | include/hw/display/vga.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/hw/display/vga.h b/include/hw/display/vga.h new file mode 100644 index 000000000..5f7825e0e --- /dev/null +++ b/include/hw/display/vga.h @@ -0,0 +1,31 @@ +/* + * 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/hwaddr.h" + +/* + * modules can reference this symbol to avoid being loaded + * into system emulators without vga support + */ +extern bool have_vga; + +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 |