2 Type definitions related to the VBE (VESA BIOS Extension, Int10h AH=4Fh)
3 services GET INFORMATION (AL=00h) and GET MODE INFORMATION (AL=01h).
5 For reference, see Ralf Brown's Interrupt List:
6 <http://www.cs.cmu.edu/~ralf/files.html>
7 <http://www.ctyme.com/rbrown.htm>
9 Copyright (C) 2014, Red Hat, Inc.
11 SPDX-License-Identifier: BSD-2-Clause-Patent
14 #ifndef __LEGACY_VGA_BIOS_H__
15 #define __LEGACY_VGA_BIOS_H__
23 UINT32 OemNameAddress
;
25 UINT32 ModeListAddress
;
27 UINT16 OemSoftwareVersion
;
28 UINT32 VendorNameAddress
;
29 UINT32 ProductNameAddress
;
30 UINT32 ProductRevAddress
;
35 UINT8 Buffer
[256 - sizeof (VBE_INFO_BASE
)];
42 UINT16 WindowGranularityKB
;
44 UINT16 WindowAStartSegment
;
45 UINT16 WindowBStartSegment
;
46 UINT32 WindowPositioningAddress
;
47 UINT16 BytesPerScanLine
;
58 UINT8 NumImagePagesLessOne
;
67 UINT8 ReservedMaskSize
;
68 UINT8 ReservedMaskPos
;
69 UINT8 DirectColorModeInfo
;
72 UINT32 OffScreenAddress
;
73 UINT16 OffScreenSizeKB
;
75 UINT16 BytesPerScanLineLinear
;
76 UINT8 NumImagesLessOneBanked
;
77 UINT8 NumImagesLessOneLinear
;
78 UINT8 RedMaskSizeLinear
;
79 UINT8 RedMaskPosLinear
;
80 UINT8 GreenMaskSizeLinear
;
81 UINT8 GreenMaskPosLinear
;
82 UINT8 BlueMaskSizeLinear
;
83 UINT8 BlueMaskPosLinear
;
84 UINT8 ReservedMaskSizeLinear
;
85 UINT8 ReservedMaskPosLinear
;
86 UINT32 MaxPixelClockHz
;
94 UINT16 WindowGranularityKB
;
96 UINT16 WindowAStartSegment
;
97 UINT16 WindowBStartSegment
;
98 UINT32 WindowPositioningAddress
;
99 UINT16 BytesPerScanLine
;
104 UINT8 CharCellHeight
;
110 UINT8 NumImagePagesLessOne
;
119 UINT8 ReservedMaskSize
;
120 UINT8 ReservedMaskPos
;
121 UINT8 DirectColorModeInfo
;
124 UINT32 OffScreenAddress
;
125 UINT16 OffScreenSizeKB
;