mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[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";
|
type = L"unknown";
|
||||||
}
|
}
|
||||||
|
|
||||||
printf(L"Found framebuffer: %dx%d type %s @0x%x\r\n",
|
printf(L"Found framebuffer: %dx%d[%d] type %s @0x%x\r\n",
|
||||||
m_fb.horizontal, m_fb.vertical, type, m_fb.phys_addr);
|
m_fb.horizontal, m_fb.vertical, m_fb.scanline, type, m_fb.phys_addr);
|
||||||
} else {
|
} else {
|
||||||
printf(L"No framebuffer found.\r\n");
|
printf(L"No framebuffer found.\r\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user