xref: /DragonOS/kernel/src/arch/x86_64/driver/video/mod.rs (revision f5b2038871d3441e1c7f32439ff422957e7ab828)
1 use system_error::SystemError;
2 
3 use crate::driver::video::fbdev::vesafb::vesafb_early_init;
4 
5 /// 在内存管理初始化之前,初始化视频驱动(架构相关)
6 pub fn arch_video_early_init() -> Result<(), SystemError> {
7     vesafb_early_init()?;
8     return Ok(());
9 }
10