xref: /DragonOS/kernel/src/arch/x86_64/driver/video/mod.rs (revision 338f6903262c5031abad3c8e361813355a27fcdb)
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