Expand description
Stable kernel API.
Linux equivalent: include/linux/
This module defines the stable interface that drivers and modules depend on.
All public APIs are accessed exclusively via the v1 module.
§Module Structure
v1: Stable API v1 - the primary public interfaceunstable: Experimental APIs (feature-gated)internal: Internal kernel APIs (doc hidden)
§Usage
ⓘ
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");Re-exports§
pub use v1::*;
Modules§
- v1
- Stable API v1.