#include <freeldr.h>
#include <debug.h>
#include <pshpack2.h>
#include <poppack.h>
Go to the source code of this file.
◆ PVESA_SVGA_INFO
◆ BiosIsVesaDdcSupported()
Definition at line 242 of file pcvesa.c.
243{
245
246 TRACE(
"BiosIsVesaDdcSupported()\n");
247
253 Int386(0x10, &Regs, &Regs);
254
257
259
260 if (Regs.
w.
ax != 0x004F)
261 {
262 WARN(
"VBE/DDC Installation check function not supported (AL=0x%x) or failed (AH=0x%x)\n",
265 }
266
267 return (Regs.
b.
ah == 0);
268}
int __cdecl Int386(int ivec, REGS *in, REGS *out)
Referenced by DetectDisplayController().
◆ BiosIsVesaSupported()
Definition at line 160 of file pcvesa.c.
161{
164
165
166
167 TRACE(
"BiosIsVesaSupported()\n");
168
170
171
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
199 Int386(0x10, &Regs, &Regs);
200
203
204 if (Regs.
w.
ax != 0x004F)
205 {
206 WARN(
"VBE Get SuperVGA information function not supported (AL=0x%x) or failed (AH=0x%x)\n",
208 return 0x0000;
209 }
210
211 TRACE(
"Supported.\n");
217 TRACE(
"---VBE v2.0 ---\n");
223
228 {
229 ERR(
"Bad signature in VESA information (%c%c%c%c)\n",
234 return 0x0000;
235 }
236
238}
struct VESA_SVGA_INFO * PVESA_SVGA_INFO
USHORT OemSoftwareVersion
ULONG ProductRevisionStringPtr
#define RtlZeroMemory(Destination, Length)
#define BIOSCALLBUFSEGMENT
#define BIOSCALLBUFOFFSET
Referenced by DetectDisplayController().
◆ BiosVesaReadEdid()
Definition at line 272 of file pcvesa.c.
273{
275
276 TRACE(
"BiosVesaReadEdid()\n");
277
279
286 Int386(0x10, &Regs, &Regs);
287
290
291 if (Regs.
w.
ax != 0x004F)
292 {
293 WARN(
"VBE/DDC Read EDID function not supported (AL=0x%x) or failed (AH=0x%x)\n",
296 }
297
298 return (Regs.
b.
ah == 0);
299}
Referenced by DetectDisplayController().
◆ DBG_DEFAULT_CHANNEL()
DBG_DEFAULT_CHANNEL |
( |
HWDETECT |
| ) |
|