Core kernel mechanisms for reovim.
Linux equivalent: kernel/
This crate provides pure mechanisms without I/O. Drivers and modules implement policies using these primitives.
Usage
All public APIs are accessed via the api::v1 module:
use reovim_kernel::api::v1::*;
// Check API compatibility
check_api_version(Version::new(1, 0, 0))?;
// Use kernel types
let bus = EventBus::new();
pr_info!("kernel initialized");
Subsystems
Internal subsystems (not directly accessible):
sched: Scheduler and runtime (Linux:kernel/sched/)mm: Memory management / buffers (Linux:mm/)ipc: Inter-process communication / events (Linux:ipc/)core: Core primitives (motion, text objects, commands)block: Block operations (undo, transactions)printk: Kernel logging (Linux:kernel/printk/)debug: Tracing and metricspanic: Panic handling and recovery
All subsystem types are re-exported through api::v1.