提交 69ff4263 编写于 作者: V vit9696

OcConsoleLib: Add framebuffer base and params logging

上级 0d0279cc
......@@ -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.
//
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册