mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
modules: add have_vga
Introduce a symbol which can be used to prevent display modules which need vga support being loaded into system emulators with CONFIG_VGA=n. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20210430113547.1816178-1-kraxel@redhat.com Message-Id: <20210430113547.1816178-16-kraxel@redhat.com>
This commit is contained in:
parent
17cdac0b51
commit
48ecfbf12c
2 changed files with 8 additions and 0 deletions
|
@ -11,6 +11,12 @@
|
|||
|
||||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue