Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / seabios / vgasrc / Kconfig
1 # Kconfig SeaBIOS VGA BIOS configuration
2
3 menu "VGA ROM"
4     choice
5         prompt "VGA Hardware Type"
6         default NO_VGABIOS
7
8         config NO_VGABIOS
9             bool "None"
10             help
11                 Do not build a VGA BIOS.
12
13         config VGA_STANDARD_VGA
14             depends on QEMU
15             bool "QEMU/Bochs Original IBM 256K VGA"
16             select VGA_STDVGA_PORTS
17             help
18                 Build basic VGA BIOS support (pre Super-VGA) for use
19                 on emulators.
20
21         config VGA_CIRRUS
22             depends on QEMU
23             bool "QEMU/Bochs Cirrus SVGA"
24             select VGA_STDVGA_PORTS
25             help
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.
29
30         config VGA_BOCHS
31             depends on QEMU
32             bool "QEMU/Bochs VBE SVGA"
33             select VGA_STDVGA_PORTS
34             help
35                 Build support for Bochs DISPI interface (a custom VBE
36                 protocol) found on QEMU and Bochs emulators.
37
38         config VGA_GEODEGX2
39             bool "GeodeGX2"
40             select VGA_STDVGA_PORTS
41             help
42                 Build support for Geode GX2 vga.
43
44         config VGA_GEODELX
45             bool "GeodeLX"
46             select VGA_STDVGA_PORTS
47             help
48                 Build support for Geode LX vga.
49
50         config VGA_COREBOOT
51             depends on COREBOOT
52             bool "coreboot linear framebuffer"
53             select VGA_EMULATE_TEXT
54             help
55                 Build support for a vgabios wrapper around video
56                 devices initialized using coreboot native vga init.
57
58     endchoice
59
60     choice
61         depends on VGA_GEODEGX2 || VGA_GEODELX
62         prompt "Output Mode"
63         default VGA_OUTPUT_CRT
64
65         config VGA_OUTPUT_CRT
66             bool "CRT"
67             help
68                 Use CRT for output.
69
70         config VGA_OUTPUT_PANEL
71             bool "Flat Panel"
72             help
73                 Use flat panel for output.
74
75         config VGA_OUTPUT_CRT_PANEL
76             bool "CRT and Flat Panel"
77             help
78                 Use CRT and flat panel for output.
79     endchoice
80
81     config BUILD_VGABIOS
82         bool
83         default !NO_VGABIOS
84
85     config VGA_STDVGA_PORTS
86         bool
87     config VGA_EMULATE_TEXT
88         bool
89         help
90             Support emulating text mode features when only a
91             framebuffer is available.
92
93     config VGA_FIXUP_ASM
94         depends on BUILD_VGABIOS
95         bool "Fixup assembler to work with broken emulators"
96         default y
97         help
98             This option will cause the build to attempt to avoid
99             certain x86 machine instructions that are known to confuse
100             some emulators.  In particular, it works around
101             deficiencies in the Windows vgabios emulator and the
102             x86emu vgabios emulator (frequently used in Xorg).
103
104     config VGA_ALLOCATE_EXTRA_STACK
105         depends on BUILD_VGABIOS
106         bool "Allocate an internal stack for 16bit interrupt entry point"
107         default y
108         help
109             Attempt to allocate (via BIOS PMM call) an internal stack
110             for the legacy 16bit 0x10 interrupt entry point.  This
111             reduces the amount of space on the caller's stack that
112             SeaVGABIOS uses.
113
114     config VGA_EXTRA_STACK_SIZE
115         int
116         default 512
117
118     config VGA_VBE
119         depends on BUILD_VGABIOS
120         bool "Video BIOS Extensions (VBE)"
121         default y
122         help
123             Support VBE.
124
125     config VGA_PCI
126         depends on BUILD_VGABIOS && !VGA_COREBOOT
127         bool "PCI ROM Headers"
128         default y
129         help
130             Build PCI ROM headers so the vga rom can be extracted from
131             a PCI device.
132
133     config OVERRIDE_PCI_ID
134         depends on VGA_PCI
135         bool "Override PCI Vendor and Device IDs"
136         help
137             Specify specific values for the PCI Vendor and Device IDs.
138
139     config VGA_VID
140         depends on VGA_PCI
141         hex
142         prompt "PCI Vendor ID" if OVERRIDE_PCI_ID
143         default 0x1013 if VGA_CIRRUS
144         default 0x1234 if VGA_BOCHS
145         default 0x100b if VGA_GEODEGX2
146         default 0x1022 if VGA_GEODELX
147         default 0x0000
148         help
149             Vendor ID for the PCI ROM
150
151     config VGA_DID
152         depends on VGA_PCI
153         hex
154         prompt "PCI Vendor ID" if OVERRIDE_PCI_ID
155         default 0x00b8 if VGA_CIRRUS
156         default 0x1111 if VGA_BOCHS
157         default 0x0030 if VGA_GEODEGX2
158         default 0x2081 if VGA_GEODELX
159         default 0x0000
160         help
161             Device ID for the PCI ROM
162 endmenu