//! The core functionality of a monolithic kernel, including loading user
//! programs and managing processes.
//!
//! Published page tables have no external mutable escape hatch. Callers must
//! use the address-space mutation APIs, which own TLB invalidation and deferred
//! reclaim:
//!
//! ```compile_fail
//! fn bypass_mm_owner(aspace: &mut starry_kernel::mm::AddrSpace) {
//! let _page_table = aspace.page_table_mut();
//! }
//! ```
// The freestanding axtest target includes `root.rs` directly so that module-local
// tests and kernel entry symbols are emitted exactly once. Keep Cargo's implicit
// library dependency empty for that target; linking a second kernel instance
// would duplicate trap handlers, allocators, and runtime state.
include!;