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 <[email protected]> > Acked-by: Laszlo Ersek <[email protected]> > Cc: Jordan Justen <[email protected]> > Cc: Laszlo Ersek <[email protected]> > Cc: Ard Biesheuvel <[email protected]> > --- > .../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 <https://github.com/tianocore/edk2/pull/571>. Thanks Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#58443): https://edk2.groups.io/g/devel/message/58443 Mute This Topic: https://groups.io/mt/73367107/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
