mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 18:33:24 +00:00
17 lines
346 B
Rust
17 lines
346 B
Rust
// 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();
|
|
}
|