1 # Kconfig SeaBIOS VGA BIOS configuration
5 prompt "VGA Hardware Type"
11 Do not build a VGA BIOS.
13 config VGA_STANDARD_VGA
15 bool "QEMU/Bochs Original IBM 256K VGA"
16 select VGA_STDVGA_PORTS
18 Build basic VGA BIOS support (pre Super-VGA) for use
23 bool "QEMU/Bochs Cirrus SVGA"
24 select VGA_STDVGA_PORTS
26 Build support for Cirrus VGA emulation found on QEMU
27 and Bochs emulators. This is for emulators; it is not
28 intended for use on real Cirrus hardware.
32 bool "QEMU/Bochs VBE SVGA"
33 select VGA_STDVGA_PORTS
35 Build support for Bochs DISPI interface (a custom VBE
36 protocol) found on QEMU and Bochs emulators.
40 select VGA_STDVGA_PORTS
42 Build support for Geode GX2 vga.
46 select VGA_STDVGA_PORTS
48 Build support for Geode LX vga.
52 bool "coreboot linear framebuffer"
53 select VGA_EMULATE_TEXT
55 Build support for a vgabios wrapper around video
56 devices initialized using coreboot native vga init.
62 prompt "bochs vga variant"
63 default VGA_BOCHS_STDVGA
65 config VGA_BOCHS_STDVGA
66 bool "qemu stdvga / bochs svga"
68 config VGA_BOCHS_VMWARE
69 bool "qemu vmware svga"
74 config VGA_BOCHS_VIRTIO
75 bool "qemu virtio vga"
80 depends on VGA_GEODEGX2 || VGA_GEODELX
82 default VGA_OUTPUT_CRT
89 config VGA_OUTPUT_PANEL
92 Use flat panel for output.
94 config VGA_OUTPUT_CRT_PANEL
95 bool "CRT and Flat Panel"
97 Use CRT and flat panel for output.
104 config VGA_STDVGA_PORTS
106 config VGA_EMULATE_TEXT
109 Support emulating text mode features when only a
110 framebuffer is available.
113 depends on BUILD_VGABIOS
114 bool "Fixup assembler to work with broken emulators"
117 This option will cause the build to attempt to avoid
118 certain x86 machine instructions that are known to confuse
119 some emulators. In particular, it works around
120 deficiencies in the Windows vgabios emulator and the
121 x86emu vgabios emulator (frequently used in Xorg).
123 config VGA_ALLOCATE_EXTRA_STACK
124 depends on BUILD_VGABIOS
125 bool "Allocate an internal stack for 16bit interrupt entry point"
128 Attempt to allocate (via BIOS PMM call) an internal stack
129 for the legacy 16bit 0x10 interrupt entry point. This
130 reduces the amount of space on the caller's stack that
133 config VGA_EXTRA_STACK_SIZE
138 depends on BUILD_VGABIOS
139 bool "Video BIOS Extensions (VBE)"
145 depends on BUILD_VGABIOS && !VGA_COREBOOT
146 bool "PCI ROM Headers"
149 Build PCI ROM headers so the vga rom can be extracted from
152 config OVERRIDE_PCI_ID
154 bool "Override PCI Vendor and Device IDs"
156 Specify specific values for the PCI Vendor and Device IDs.
161 prompt "PCI Vendor ID" if OVERRIDE_PCI_ID
162 default 0x1013 if VGA_CIRRUS
163 default 0x1234 if VGA_BOCHS_STDVGA
164 default 0x15ad if VGA_BOCHS_VMWARE
165 default 0x1b36 if VGA_BOCHS_QXL
166 default 0x1af4 if VGA_BOCHS_VIRTIO
167 default 0x100b if VGA_GEODEGX2
168 default 0x1022 if VGA_GEODELX
171 Vendor ID for the PCI ROM
176 prompt "PCI Vendor ID" if OVERRIDE_PCI_ID
177 default 0x00b8 if VGA_CIRRUS
178 default 0x1111 if VGA_BOCHS_STDVGA
179 default 0x0405 if VGA_BOCHS_VMWARE
180 default 0x0100 if VGA_BOCHS_QXL
181 default 0x1050 if VGA_BOCHS_VIRTIO
182 default 0x0030 if VGA_GEODEGX2
183 default 0x2081 if VGA_GEODELX
186 Device ID for the PCI ROM