2
0

vga.h 566 B

123456789101112131415161718192021222324252627
  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. * modules can reference this symbol to avoid being loaded
  13. * into system emulators without vga support
  14. */
  15. extern bool have_vga;
  16. enum vga_retrace_method {
  17. VGA_RETRACE_DUMB,
  18. VGA_RETRACE_PRECISE
  19. };
  20. extern enum vga_retrace_method vga_retrace_method;
  21. #define TYPE_VGA_MMIO "vga-mmio"
  22. #endif