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#![feature(c_variadic)]
7#![allow(missing_docs)]
8#![allow(clippy::not_unsafe_ptr_arg_deref)]
9
10extern crate alloc;
11extern crate ax_runtime;
12
13#[macro_use]
14extern crate ax_log;
15
16#[macro_use]
17pub 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.
18
19pub mod entry;
20
21#[cfg(axtest)]
22pub mod axtest_exports;
23
24mod cgroup;
25mod config;
26mod ebpf;
27mod file;
28mod ipc;
29mod kmod;
30pub mod kprobe;
31mod mm;
32mod perf;
33mod pseudofs;
34mod stop_machine;
35mod syscall;
36mod task;
37mod time;
38mod tracepoint;
39mod trap;
40mod uprobe;