mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
vga: move bochs vbe defines to header file
Create a new header file, move the bochs vbe dispi interface defines to it, so they can be used outside vga code. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20180522165058.15404-2-kraxel@redhat.com
This commit is contained in:
parent
a89fe6c329
commit
a3ee49f075
3 changed files with 71 additions and 46 deletions
|
@ -31,19 +31,6 @@
|
|||
#include "qemu/timer.h"
|
||||
#include "hw/loader.h"
|
||||
|
||||
#define PCI_VGA_IOPORT_OFFSET 0x400
|
||||
#define PCI_VGA_IOPORT_SIZE (0x3e0 - 0x3c0)
|
||||
#define PCI_VGA_BOCHS_OFFSET 0x500
|
||||
#define PCI_VGA_BOCHS_SIZE (0x0b * 2)
|
||||
#define PCI_VGA_QEXT_OFFSET 0x600
|
||||
#define PCI_VGA_QEXT_SIZE (2 * 4)
|
||||
#define PCI_VGA_MMIO_SIZE 0x1000
|
||||
|
||||
#define PCI_VGA_QEXT_REG_SIZE (0 * 4)
|
||||
#define PCI_VGA_QEXT_REG_BYTEORDER (1 * 4)
|
||||
#define PCI_VGA_QEXT_LITTLE_ENDIAN 0x1e1e1e1e
|
||||
#define PCI_VGA_QEXT_BIG_ENDIAN 0xbebebebe
|
||||
|
||||
enum vga_pci_flags {
|
||||
PCI_VGA_FLAG_ENABLE_MMIO = 1,
|
||||
PCI_VGA_FLAG_ENABLE_QEXT = 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue