mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 16:33:24 +00:00
Pass kernel command line option to logger
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
edc1412cc8
commit
cf56bce57c
@ -59,7 +59,6 @@ pub use self::{cpu::cpu_local::CpuLocal, error::Error, prelude::Result};
|
||||
/// boot stage only global variables.
|
||||
pub fn init() {
|
||||
arch::before_all_init();
|
||||
logger::init();
|
||||
|
||||
#[cfg(feature = "intel_tdx")]
|
||||
let td_info = init_tdx().unwrap();
|
||||
@ -73,6 +72,7 @@ pub fn init() {
|
||||
mm::heap_allocator::init();
|
||||
|
||||
boot::init();
|
||||
logger::init();
|
||||
|
||||
mm::page::allocator::init();
|
||||
mm::kspace::init_boot_page_table();
|
||||
|
Reference in New Issue
Block a user