From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.120]) by mx.groups.io with SMTP id smtpd.web11.7986.1588256200402966706 for ; Thu, 30 Apr 2020 07:16:41 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FLTGUD3K; spf=pass (domain: redhat.com, ip: 207.211.31.120, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588256199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Uzxx5vrv0ZK4EvySZJildOINhye8CYecXLy/v3ukvD4=; b=FLTGUD3KvN+4lfZci5UQ340SwnyUDiYDzQCN6mOqCO6I8/D7oavy3gXwbWEGCjNSq/OcdK ZDyCQzNK3iNA9VFzOfsluuP0KM8+URSIEW/kJhC2az3QXWWE2sTwHDKZ+H2Ix+auQJNHCd mpcJl6SXPDNkyu/F/gbVy5g69beiCKo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-53-eagb3Z3pNnywamFp9KkVzg-1; Thu, 30 Apr 2020 10:16:36 -0400 X-MC-Unique: eagb3Z3pNnywamFp9KkVzg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 71A8FEC1B4; Thu, 30 Apr 2020 14:16:34 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-115-57.ams2.redhat.com [10.36.115.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5EC321000079; Thu, 30 Apr 2020 14:16:33 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH] OvmfPkg: Add VBE2 mode info structure to LegacyVgaBios.h To: devel@edk2.groups.io, rebecca@bsdio.com Cc: Jordan Justen , Ard Biesheuvel References: <20200430011503.613044-1-rebecca@bsdio.com> From: "Laszlo Ersek" Message-ID: Date: Thu, 30 Apr 2020 16:16:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20200430011503.613044-1-rebecca@bsdio.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 04/30/20 03:15, Rebecca Cran wrote: > 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 > Cc: Jordan Justen > Cc: Laszlo Ersek > Cc: Ard Biesheuvel > --- > .../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 > Merged as commit e54310451f1a, via . Thanks Laszlo