From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out01.mta.xmission.com (out01.mta.xmission.com [166.70.13.231]) by mx.groups.io with SMTP id smtpd.web10.2215.1587438605223918871 for ; Mon, 20 Apr 2020 20:10:05 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: bsdio.com, ip: 166.70.13.231, mailfrom: rebecca@bsdio.com) Received: from in02.mta.xmission.com ([166.70.13.52]) by out01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQjIS-0001rG-Im; Mon, 20 Apr 2020 21:10:04 -0600 Received: from mta4.zcs.xmission.com ([166.70.13.68]) by in02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1jQjIR-0008BY-W8; Mon, 20 Apr 2020 21:10:04 -0600 Received: from localhost (localhost [127.0.0.1]) by mta4.zcs.xmission.com (Postfix) with ESMTP id C879F5003F6; Mon, 20 Apr 2020 21:10:03 -0600 (MDT) X-Amavis-Modified: Mail body modified (using disclaimer) - mta4.zcs.xmission.com Received: from mta4.zcs.xmission.com ([127.0.0.1]) by localhost (mta4.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8J-tdXzwoDIv; Mon, 20 Apr 2020 21:10:03 -0600 (MDT) Received: from photon.int.bluestop.org (c-174-52-16-57.hsd1.ut.comcast.net [174.52.16.57]) by mta4.zcs.xmission.com (Postfix) with ESMTPSA id 761DC5002C5; Mon, 20 Apr 2020 21:10:03 -0600 (MDT) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Leif Lindholm , Michael Kinney , Andrew Fish , Peter Grehan , Rebecca Cran Date: Mon, 20 Apr 2020 21:09:52 -0600 Message-Id: <20200421030955.114850-4-rebecca@bsdio.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200421030955.114850-1-rebecca@bsdio.com> References: <20200421030955.114850-1-rebecca@bsdio.com> MIME-Version: 1.0 X-XM-SPF: eid=1jQjIR-0008BY-W8;;;mid=<20200421030955.114850-4-rebecca@bsdio.com>;;;hst=in02.mta.xmission.com;;;ip=166.70.13.68;;;frm=rebecca@bsdio.com;;;spf=pass X-SA-Exim-Connect-IP: 166.70.13.68 X-SA-Exim-Mail-From: rebecca@bsdio.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa06.xmission.com X-Spam-Level: X-Spam-Status: No, score=0.5 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,T_TooManySym_01,XMSubLong autolearn=disabled version=3.4.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * 0.7 XMSubLong Long Subject * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa06 1397; IP=ok Body=1 Fuz1=3] * 0.0 T_TooManySym_01 4+ unique symbols in subject X-Spam-DCC: XMission; sa06 1397; IP=ok Body=1 Fuz1=3 X-Spam-Combo: ;devel@edk2.groups.io X-Spam-Relay-Country: X-Spam-Timing: total 394 ms - load_scoreonly_sql: 0.05 (0.0%), signal_user_changed: 12 (2.9%), b_tie_ro: 10 (2.5%), parse: 1.23 (0.3%), extract_message_metadata: 13 (3.4%), get_uri_detail_list: 1.17 (0.3%), tests_pri_-1000: 15 (3.9%), tests_pri_-950: 1.28 (0.3%), tests_pri_-900: 1.11 (0.3%), tests_pri_-90: 61 (15.5%), check_bayes: 60 (15.1%), b_tokenize: 8 (1.9%), b_tok_get_all: 6 (1.6%), b_comp_prob: 1.89 (0.5%), b_tok_touch_all: 41 (10.4%), b_finish: 0.85 (0.2%), tests_pri_0: 278 (70.4%), check_dkim_signature: 0.65 (0.2%), check_dkim_adsp: 37 (9.4%), poll_dns_idle: 36 (9.1%), tests_pri_10: 1.89 (0.5%), tests_pri_500: 7 (1.8%), rewrite_mail: 0.00 (0.0%) Subject: [PATCH v3 3/6] OvmfPkg: Add VBE2 mode info structure to LegacyVgaBios.h X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Content-Transfer-Encoding: 8bit bhyve uses the older VESA BIOS Extensions 2.0, so add the mode info structure to IndustryStandard/LegacyVgaBios.h Signed-off-by: Rebecca Cran Acked-by: Laszlo Ersek --- .../Include/IndustryStandard/LegacyVgaBios.h | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/OvmfPkg/Include/IndustryStandard/LegacyVgaBios.h b/OvmfPkg/Include/IndustryStandard/LegacyVgaBios.h index 317dac3a56..38360a68b2 100644 --- a/OvmfPkg/Include/IndustryStandard/LegacyVgaBios.h +++ b/OvmfPkg/Include/IndustryStandard/LegacyVgaBios.h @@ -86,6 +86,44 @@ typedef struct { UINT32 MaxPixelClockHz; UINT8 Reserved[190]; } VBE_MODE_INFO; + +typedef struct { + UINT16 ModeAttr; + UINT8 WindowAAttr; + UINT8 WindowBAttr; + UINT16 WindowGranularityKB; + UINT16 WindowSizeKB; + UINT16 WindowAStartSegment; + UINT16 WindowBStartSegment; + UINT32 WindowPositioningAddress; + UINT16 BytesPerScanLine; + + UINT16 Width; + UINT16 Height; + UINT8 CharCellWidth; + UINT8 CharCellHeight; + UINT8 NumPlanes; + UINT8 BitsPerPixel; + UINT8 NumBanks; + UINT8 MemoryModel; + UINT8 BankSizeKB; + UINT8 NumImagePagesLessOne; + UINT8 Vbe3; + + UINT8 RedMaskSize; + UINT8 RedMaskPos; + UINT8 GreenMaskSize; + UINT8 GreenMaskPos; + UINT8 BlueMaskSize; + UINT8 BlueMaskPos; + UINT8 ReservedMaskSize; + UINT8 ReservedMaskPos; + UINT8 DirectColorModeInfo; + + UINT32 LfbAddress; + UINT32 OffScreenAddress; + UINT16 OffScreenSizeKB; +} VBE2_MODE_INFO; #pragma pack () #endif -- 2.20.1