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