Refactor project structure

This commit is contained in:
Zhang Junyang
2024-02-27 16:40:16 +08:00
committed by Tate, Hongliang Tian
parent bd878dd1c9
commit e3c227ae06
474 changed files with 77 additions and 77 deletions

16
kernel/src/lib.rs Normal file
View File

@ -0,0 +1,16 @@
// SPDX-License-Identifier: MPL-2.0
#![no_std]
#![no_main]
#![forbid(unsafe_code)]
extern crate aster_frame;
use aster_frame::prelude::*;
#[aster_main]
pub fn main() -> ! {
println!("[kernel] finish init aster_frame");
component::init_all(component::parse_metadata!()).unwrap();
aster_nix::init();
aster_nix::run_first_process();
}