Rename aster_main as ostd::main

This commit is contained in:
Jianfeng Jiang
2024-06-20 06:16:04 +00:00
committed by Tate, Hongliang Tian
parent 59350a8578
commit fe7251c413
20 changed files with 51 additions and 41 deletions

View File

@ -44,12 +44,13 @@ pub mod task;
pub mod trap;
pub mod user;
pub use ostd_macros::main;
#[cfg(feature = "intel_tdx")]
use tdx_guest::init_tdx;
pub use self::{cpu::CpuLocal, error::Error, prelude::Result};
/// Initialize OSTD.
/// Initializes OSTD.
///
/// This function represents the first phase booting up the system. It makes
/// all functionalities of OSTD available after the call.