⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

veridian_kernel/userspace/
mod.rs

1//! User-space support module
2//!
3//! This module provides support for loading and executing user-space programs,
4//! including the init process and other user applications.
5
6#[cfg(feature = "alloc")]
7extern crate alloc;
8
9pub mod embedded;
10pub mod enhanced_loader;
11pub mod loader;
12
13pub use loader::{load_init_process, load_user_program};
14
15/// Initialize user-space support
16pub fn init() {
17    #[allow(unused_imports)]
18    use crate::println;
19    println!("[USERSPACE] Initializing user-space support...");
20
21    // User-space support is ready
22    println!("[USERSPACE] User-space support initialized");
23}