Expand description
Procedural macros for the component initialization system.
Provides #[init_component] for registering kernel component init functions
and parse_components_toml! for compile-time access to Components.toml.
Macrosยง
- parse_
components_ toml - Emit compile-time dependency metadata parsed from
Components.toml.
Structsยง
- Init
Component ๐Args - Parsed arguments for
#[init_component(stage, priority = N, depends_on = fn_or_list)].
Functionsยง
- parse_
depends_ ๐on - Parse
fn_nameor[fn1, fn2, ...]afterdepends_on =. - parse_
toml_ ๐deps - Minimal parser for the Components.toml format used by Strat9-OS.
Attribute Macrosยง
- init_
component - Register a function as a kernel component initializer.