Expand description
Subsystem identity for loadable domain types.
Each domain type (POSIX, VMM, mainframe, etc.) is identified by a
SubsystemId — a deterministic FNV-1a hash of the subsystem name.
The kernel has no compile-time knowledge of subsystem types. New
subsystems can be added without modifying the kernel.
§Example
use ukernel_sys::SubsystemId;
const POSIX: SubsystemId = SubsystemId::from_name(b"posix");
const VMM: SubsystemId = SubsystemId::from_name(b"vmm");
// Deterministic — same name always produces the same ID
assert_eq!(POSIX, SubsystemId::from_name(b"posix"));
assert_ne!(POSIX, VMM);Structs§
- Subsystem
Id - Subsystem identifier derived from name via FNV-1a hash.