//! moana 内核标准库
#![no_std]
#![allow(unsafe_code)]
#![allow(internal_features)]
#![allow(clippy::cast_possible_truncation)]
#![feature(allow_internal_unstable)]
#![feature(negative_impls)]
#![feature(offset_of_enum)]
#![feature(likely_unlikely)]
#![cfg_attr(
    aarch64_moana,
    feature(stdarch_arm_hints, stdarch_aarch64_prefetch, stdarch_arm_barrier)
)]

extern crate alloc;

#[cfg(not(test))]
mod panic;

pub mod bsp;
pub mod drivers;
pub mod entry;
pub mod irq;
pub mod print;
pub mod processor;
pub mod sched;
pub mod smp;
pub mod space;
pub mod sync;
pub mod syscall;
pub mod time;
pub mod utils;

pub use moa_rt_macros as bsp_data;
