mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 12:07:31 +00:00 
			
		
		
		
	 7336c94434
			
		
	
	
		7336c94434
		
	
	
	
	
		
			
			vga_mmio_init() is used only one time and not very helpful, inline and remove it. Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20211206224528.563588-5-f4bug@amsat.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
		
			
				
	
	
		
			28 lines
		
	
	
		
			566 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			566 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * 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
 | |
| 
 | |
| /*
 | |
|  * 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;
 | |
| 
 | |
| #define TYPE_VGA_MMIO "vga-mmio"
 | |
| 
 | |
| #endif
 |