Use common handle and properly close GOP protocol on failures

This commit is contained in:
2024-03-21 06:59:05 +01:00
parent b6f915c0c5
commit eb75a27ac2
2 changed files with 16 additions and 7 deletions

View File

@@ -287,6 +287,7 @@ typedef struct _XTBL_FRAMEBUFFER_INFORMATION
EFI_PHYSICAL_ADDRESS FrameBufferBase;
ULONG_PTR FrameBufferSize;
UINT DefaultMode;
EFI_HANDLE Handle;
union
{
PEFI_GRAPHICS_OUTPUT_PROTOCOL Gop;