From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smic.int.bsdio.com (smic.int.bsdio.com [65.103.231.193]) by mx.groups.io with SMTP id smtpd.web11.849.1586992432527417346 for ; Wed, 15 Apr 2020 16:13:52 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: smic.int.bsdio.com, ip: 65.103.231.193, mailfrom: bcran@smic.int.bsdio.com) Received: from smic.int.bsdio.com (localhost [127.0.0.1]) by smic.int.bsdio.com (8.15.2/8.15.2) with ESMTPS id 03FNA6lo058433 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 15 Apr 2020 17:10:06 -0600 (MDT) (envelope-from bcran@smic.int.bsdio.com) Received: (from bcran@localhost) by smic.int.bsdio.com (8.15.2/8.15.2/Submit) id 03FNA61C056154; Wed, 15 Apr 2020 17:10:06 -0600 (MDT) (envelope-from bcran) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Rebecca Cran Subject: [PATCH 05/13] OvmfPkg: Add VBE2 mode info structure to LegacyVgaBios.h Date: Wed, 15 Apr 2020 17:09:31 -0600 Message-Id: <46c18f7e321bd66ca4f1eb0c2c8b1e2c0514f951.1586991816.git.rebecca@bsdio.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable bhyve uses the older VESA BIOS Extensions 2.0, so add the mode info structure to IndustryStandard/LegacyVgaBios.h Signed-off-by: Rebecca Cran --- .../Include/IndustryStandard/LegacyVgaBios.h | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/OvmfPkg/Include/IndustryStandard/LegacyVgaBios.h b/OvmfPkg/Inc= lude/IndustryStandard/LegacyVgaBios.h index 317dac3a56..016ff95a5d 100644 --- a/OvmfPkg/Include/IndustryStandard/LegacyVgaBios.h +++ b/OvmfPkg/Include/IndustryStandard/LegacyVgaBios.h @@ -88,4 +88,43 @@ typedef struct { } VBE_MODE_INFO;=0D #pragma pack ()=0D =0D +typedef struct {=0D + UINT16 ModeAttr;=0D + UINT8 WindowAAttr;=0D + UINT8 WindowBAttr;=0D + UINT16 WindowGranularityKB;=0D + UINT16 WindowSizeKB;=0D + UINT16 WindowAStartSegment;=0D + UINT16 WindowBStartSegment;=0D + UINT32 WindowPositioningAddress;=0D + UINT16 BytesPerScanLine;=0D +=0D + UINT16 Width;=0D + UINT16 Height;=0D + UINT8 CharCellWidth;=0D + UINT8 CharCellHeight;=0D + UINT8 NumPlanes;=0D + UINT8 BitsPerPixel;=0D + UINT8 NumBanks;=0D + UINT8 MemoryModel;=0D + UINT8 BankSizeKB;=0D + UINT8 NumImagePagesLessOne;=0D + UINT8 Vbe3;=0D +=0D + UINT8 RedMaskSize;=0D + UINT8 RedMaskPos;=0D + UINT8 GreenMaskSize;=0D + UINT8 GreenMaskPos;=0D + UINT8 BlueMaskSize;=0D + UINT8 BlueMaskPos;=0D + UINT8 ReservedMaskSize;=0D + UINT8 ReservedMaskPos;=0D + UINT8 DirectColorModeInfo;=0D +=0D + UINT32 LfbAddress;=0D + UINT32 OffScreenAddress;=0D + UINT16 OffScreenSizeKB;=0D +} VBE2_MODE_INFO;=0D +#pragma pack ()=0D +=0D #endif=0D --=20 2.26.1