Pass framebuffer pitch information to the kernel

This commit is contained in:
2023-01-18 20:15:41 +01:00
parent 41a0a2b37c
commit 145fc17271
3 changed files with 13 additions and 8 deletions

View File

@@ -70,14 +70,15 @@ typedef struct _XT_FRAMEBUFFER_INFORMATION
PEFI_GRAPHICS_OUTPUT_PROTOCOL GOP;
PEFI_UNIVERSAL_GRAPHICS_ADAPTER_PROTOCOL UGA;
} Adapter;
UINT32 HorizontalResolution;
UINT32 VerticalResolution;
UINT32 BitsPerPixel;
UINT32 BytesPerPixel;
UINT32 PixelsPerScanLine;
UINT HorizontalResolution;
UINT VerticalResolution;
UINT BitsPerPixel;
UINT BytesPerPixel;
UINT PixelsPerScanLine;
UINT Pitch;
EFI_GRAPHICS_PIXEL_FORMAT PixelFormat;
EFI_PHYSICAL_ADDRESS FrameBufferBase;
UINT_PTR FrameBufferSize;
ULONG_PTR FrameBufferSize;
} XT_FRAMEBUFFER_INFORMATION, *PXT_FRAMEBUFFER_INFORMATION;
/* EFI XT PE/COFF Image Protocol */