Skip to main content

starry_kernel/
lib.rs

1//! The core functionality of a monolithic kernel, including loading user
2//! programs and managing processes.
3
4#![no_std]
5#![feature(likely_unlikely)]
6#![allow(missing_docs)]
7#![allow(clippy::not_unsafe_ptr_arg_deref)]
8
9extern crate alloc;
10extern crate ax_runtime;
11
12#[macro_use]
13extern crate ax_log;
14
15#[macro_use]
16pub mod dyn_debug; // Re-export debug macros for use in other modules. It will override the `debug` macro from `log` crate when `dynamic_debug` feature is enabled.
17
18pub mod entry;
19
20mod config;
21mod file;
22#[cfg(feature = "kcov")]
23mod kcov;
24mod mm;
25mod pseudofs;
26mod stop_machine;
27mod syscall;
28mod task;
29mod time;
30mod trap;