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