[boot] Add scanline size to fb boot message
Scanline size can differ from horizontal resolution in some framebuffers. This isn't currently handled, but at least log it so it's visible if this lack of handling is a potential error.
This commit is contained in:
@@ -70,8 +70,8 @@ console::console(uefi::boot_services *bs, uefi::protos::simple_text_output *out)
|
||||
type = L"unknown";
|
||||
}
|
||||
|
||||
printf(L"Found framebuffer: %dx%d type %s @0x%x\r\n",
|
||||
m_fb.horizontal, m_fb.vertical, type, m_fb.phys_addr);
|
||||
printf(L"Found framebuffer: %dx%d[%d] type %s @0x%x\r\n",
|
||||
m_fb.horizontal, m_fb.vertical, m_fb.scanline, type, m_fb.phys_addr);
|
||||
} else {
|
||||
printf(L"No framebuffer found.\r\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user