mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcConsoleLib: Add framebuffer base and params logging
This commit is contained in:
parent
0d0279cc7f
commit
69ff426319
@ -59,6 +59,17 @@ OcSetConsoleResolutionForProtocol (
|
||||
(UINT32) GraphicsOutput->Mode->MaxMode
|
||||
));
|
||||
|
||||
DEBUG ((
|
||||
DEBUG_INFO,
|
||||
"OCC: Current FB at 0x%LX (0x%X), format %d, res %ux%u scan %u\n",
|
||||
GraphicsOutput->Mode->FrameBufferBase,
|
||||
(UINT32) GraphicsOutput->Mode->FrameBufferSize,
|
||||
GraphicsOutput->Mode->Info != NULL ? GraphicsOutput->Mode->Info->PixelFormat : -1,
|
||||
GraphicsOutput->Mode->Info != NULL ? GraphicsOutput->Mode->Info->HorizontalResolution : 0,
|
||||
GraphicsOutput->Mode->Info != NULL ? GraphicsOutput->Mode->Info->VerticalResolution : 0,
|
||||
GraphicsOutput->Mode->Info != NULL ? GraphicsOutput->Mode->Info->PixelsPerScanLine : 0
|
||||
));
|
||||
|
||||
//
|
||||
// Find the resolution we need.
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user