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:
parent
2140ec6bef
commit
582268ec21
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user