Add Ext2 fs and basic bio layer

This commit is contained in:
LI Qing
2023-09-18 11:47:17 +08:00
committed by Tate, Hongliang Tian
parent 1616f2d32c
commit 9473889c6b
51 changed files with 5346 additions and 427 deletions

View File

@ -19,6 +19,8 @@
#![feature(register_tool)]
#![feature(trait_upcasting)]
#![feature(format_args_nl)]
#![feature(int_roundings)]
#![feature(step_trait)]
#![register_tool(component_access_control)]
use crate::{
@ -73,6 +75,7 @@ fn init_thread() {
current_thread!().tid()
);
net::lazy_init();
fs::lazy_init();
// driver::pci::virtio::block::block_device_test();
let thread = Thread::spawn_kernel_thread(ThreadOptions::new(|| {
println!("[kernel] Hello world from kernel!");