mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 18:03:25 +00:00
Refactor boot and add placeholder kcmdline struct
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
eb8eb440b3
commit
69cbfc72f5
@ -25,7 +25,7 @@ use crate::{
|
||||
process::status::ProcessStatus,
|
||||
thread::{kernel_thread::KernelThreadExt, Thread},
|
||||
};
|
||||
use jinux_frame::{arch::boot, exit_qemu};
|
||||
use jinux_frame::{boot, exit_qemu};
|
||||
use process::Process;
|
||||
|
||||
extern crate alloc;
|
||||
@ -51,7 +51,7 @@ pub fn init() {
|
||||
driver::init();
|
||||
net::init();
|
||||
process::fifo_scheduler::init();
|
||||
fs::initramfs::init(boot::get_initramfs()).unwrap();
|
||||
fs::initramfs::init(boot::initramfs()).unwrap();
|
||||
device::init().unwrap();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user