Enable graphical_debug for aarch64

This doesn't give any issues both for UEFI boot (with framebuffer
present) and U-Boot boot (without framebuffer present).
This commit is contained in:
bjorn3
2024-03-20 19:19:00 +01:00
parent e0855d0cb6
commit ebc4aeac85
+4 -4
View File
@@ -77,8 +77,8 @@ pub unsafe extern "C" fn kstart(args_ptr: *const KernelArgs) -> ! {
);
// Set up graphical debug
//#[cfg(feature = "graphical_debug")]
//graphical_debug::init(env);
#[cfg(feature = "graphical_debug")]
graphical_debug::init(env);
// Initialize logger
crate::log::init_logger(|r| {
@@ -187,8 +187,8 @@ pub unsafe extern "C" fn kstart(args_ptr: *const KernelArgs) -> ! {
device::init_noncore();
// Stop graphical debug
//#[cfg(feature = "graphical_debug")]
//graphical_debug::fini();
#[cfg(feature = "graphical_debug")]
graphical_debug::fini();
BSP_READY.store(true, Ordering::SeqCst);