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