os/device/console/
frame_console.rs

1// Console -> TextBuffer -> FrameBuffer
2
3/// 初始化控制台设备
4pub fn init() {
5    // if cfg!(feature = "consolegraphic") {
6    //     if let Some(fb) = FRAME_BUFFER.write().take() {
7    //         // TODO: now take FrameBuffer out of global variable, then move into Console
8    //         let console = Console::on_frame_buffer(fb.fb_info.xres, fb.fb_info.yres, fb);
9    //         *CONSOLE.lock() = Some(console);
10    //         pr_info!("console: init end");
11    //     } else {
12    //         pr_warn!("console: init failed");
13    //     }
14    // }
15}