@@ -25,31 +25,31 @@ DBG_DEFAULT_CHANNEL(HWDETECT);
2525#include <pshpack2.h>
2626typedef struct
2727{
28- UCHAR Signature [4 ]; // (ret) signature ("VESA")
28+ UCHAR Signature [4 ]; // (ret) signature ("VESA")
2929 // (call) VESA 2.0 request signature ("VBE2"), required to receive
3030 // version 2.0 info
31- USHORT VesaVersion ; // VESA version number (one-digit minor version -- 0102h = v1.2)
32- ULONG OemNamePtr ; // pointer to OEM name
31+ USHORT VesaVersion ; // VESA version number (one-digit minor version -- 0102h = v1.2)
32+ ULONG OemNamePtr ; // Pointer to OEM name
3333 // "761295520" for ATI
34- ULONG Capabilities ; // capabilities flags (see #00078)
35- ULONG SupportedModeListPtr ; // pointer to list of supported VESA and OEM video modes
34+ ULONG Capabilities ; // Capabilities flags (see #00078)
35+ ULONG SupportedModeListPtr ; // Pointer to list of supported VESA and OEM video modes
3636 // (list of words terminated with FFFFh)
37- USHORT TotalVideoMemory ; // total amount of video memory in 64K blocks
37+ USHORT TotalVideoMemory ; // Total amount of video memory in 64K blocks
3838
3939 // ---VBE v1.x ---
40- //UCHAR Reserved[236];
40+ //UCHAR Reserved[236];
4141
4242 // ---VBE v2.0 ---
43- USHORT OemSoftwareVersion ; // OEM software version (BCD, high byte = major, low byte = minor)
44- ULONG VendorNamePtr ; // pointer to vendor name
45- ULONG ProductNamePtr ; // pointer to product name
46- ULONG ProductRevisionStringPtr ; // pointer to product revision string
47- USHORT VBE_AF_Version ; // (if capabilities bit 3 set) VBE/AF version (BCD)
43+ USHORT OemSoftwareVersion ; // OEM software version (BCD, high byte = major, low byte = minor)
44+ ULONG VendorNamePtr ; // Pointer to vendor name
45+ ULONG ProductNamePtr ; // Pointer to product name
46+ ULONG ProductRevisionStringPtr ; // Pointer to product revision string
47+ USHORT VBE_AF_Version ; // (if capabilities bit 3 set) VBE/AF version (BCD)
4848 // 0100h for v1.0P
49- ULONG AcceleratedModeListPtr ; // (if capabilities bit 3 set) pointer to list of supported
50- // accelerated video modes (list of words terminated with FFFFh)
51- UCHAR Reserved [216 ]; // reserved for VBE implementation
52- UCHAR ScratchPad [256 ]; // OEM scratchpad (for OEM strings, etc.)
49+ ULONG AcceleratedModeListPtr ; // (if capabilities bit 3 set) pointer to list of supported
50+ // Accelerated video modes (list of words terminated with FFFFh)
51+ UCHAR Reserved [216 ]; // Reserved for VBE implementation
52+ UCHAR ScratchPad [256 ]; // OEM scratchpad (for OEM strings, etc.)
5353} VESA_SVGA_INFO , * PVESA_SVGA_INFO ;
5454#include <poppack.h>
5555
@@ -88,7 +88,7 @@ typedef struct
8888#if 0
8989static VOID BiosSetVideoFont8x16 (VOID )
9090{
91- REGS Regs ;
91+ REGS Regs ;
9292
9393 // Int 10h AX=1114h
9494 // VIDEO - TEXT-MODE CHARGEN - LOAD ROM 8x16 CHARACTER SET (VGA)
@@ -108,7 +108,7 @@ static VOID VideoSetTextCursorPosition(ULONG X, ULONG Y)
108108
109109static ULONG VideoGetTextCursorPositionX (VOID )
110110{
111- REGS Regs ;
111+ REGS Regs ;
112112
113113 // Int 10h AH=03h
114114 // VIDEO - GET CURSOR POSITION AND SIZE
@@ -133,7 +133,7 @@ static ULONG VideoGetTextCursorPositionX(VOID)
133133
134134static ULONG VideoGetTextCursorPositionY (VOID )
135135{
136- REGS Regs ;
136+ REGS Regs ;
137137
138138 // Int 10h AH=03h
139139 // VIDEO - GET CURSOR POSITION AND SIZE
@@ -159,10 +159,10 @@ static ULONG VideoGetTextCursorPositionY(VOID)
159159
160160USHORT BiosIsVesaSupported (VOID )
161161{
162- REGS Regs ;
163- PVESA_SVGA_INFO SvgaInfo = (PVESA_SVGA_INFO )BIOSCALLBUFFER ;
164- //USHORT* VideoModes;
165- //USHORT Index;
162+ REGS Regs ;
163+ PVESA_SVGA_INFO SvgaInfo = (PVESA_SVGA_INFO )BIOSCALLBUFFER ;
164+ //USHORT* VideoModes;
165+ //USHORT Index;
166166
167167 TRACE ("BiosIsVesaSupported()\n" );
168168
@@ -237,7 +237,6 @@ USHORT BiosIsVesaSupported(VOID)
237237 return SvgaInfo -> VesaVersion ;
238238}
239239
240-
241240BOOLEAN
242241BiosIsVesaDdcSupported (VOID )
243242{
@@ -267,7 +266,6 @@ BiosIsVesaDdcSupported(VOID)
267266 return (Regs .b .ah == 0 );
268267}
269268
270-
271269BOOLEAN
272270BiosVesaReadEdid (VOID )
273271{
0 commit comments