2017-10-17 18:44:21 +02:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
|
2019-08-12 07:23:46 +02:00
|
|
|
#include "exec/hwaddr.h"
|
2017-10-17 18:44:21 +02:00
|
|
|
|
2021-04-30 13:35:46 +02:00
|
|
|
/*
|
|
|
|
* modules can reference this symbol to avoid being loaded
|
|
|
|
* into system emulators without vga support
|
|
|
|
*/
|
|
|
|
extern bool have_vga;
|
|
|
|
|
2017-10-17 18:44:21 +02:00
|
|
|
enum vga_retrace_method {
|
|
|
|
VGA_RETRACE_DUMB,
|
|
|
|
VGA_RETRACE_PRECISE
|
|
|
|
};
|
|
|
|
|
|
|
|
extern enum vga_retrace_method vga_retrace_method;
|
|
|
|
|
2021-12-06 23:45:25 +01:00
|
|
|
int vga_mmio_init(hwaddr vram_base, hwaddr ctrl_base,
|
|
|
|
int it_shift, MemoryRegion *address_space);
|
2017-10-17 18:44:21 +02:00
|
|
|
|
|
|
|
#endif
|