1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 16:16:16 +04:00

Enable framebuffer support for thinpad

Signed-off-by: Harry Chen <i@harrychen.xyz>
This commit is contained in:
Harry Chen 2019-04-30 13:31:14 +08:00
parent 2140ec6bef
commit 582268ec21

View File

@ -23,6 +23,10 @@ pub fn init_serial_early() {
pub fn init_driver() {
// TODO: add possibly more drivers
// timer::init();
fb::init();
if let Some(fb) = fb::FRAME_BUFFER.lock().as_mut() {
fb.clear();
}
}
pub fn probe_fb_info(width: u32, height: u32, depth: u32) -> FramebufferResult {