#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 241 of file pcvesa.c.
242{
244
245 TRACE(
"BiosIsVesaDdcSupported()\n");
246
252 Int386(0x10, &Regs, &Regs);
253
256
258
259 if (Regs.
w.
ax != 0x004F)
260 {
261 WARN(
"VBE/DDC Installation check function not supported (AL=0x%x) or failed (AH=0x%x)\n",
264 }
265
266 return (Regs.
b.
ah == 0);
267}
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 270 of file pcvesa.c.
271{
273
274 TRACE(
"BiosVesaReadEdid()\n");
275
277
284 Int386(0x10, &Regs, &Regs);
285
288
289 if (Regs.
w.
ax != 0x004F)
290 {
291 WARN(
"VBE/DDC Read EDID function not supported (AL=0x%x) or failed (AH=0x%x)\n",
294 }
295
296 return (Regs.
b.
ah == 0);
297}
Referenced by DetectDisplayController().
◆ DBG_DEFAULT_CHANNEL()
| DBG_DEFAULT_CHANNEL |
( |
HWDETECT |
| ) |
|