Expand description
Architecture-specific code for Scarlet kernel
This module contains architecture-specific implementations and definitions for the Scarlet kernel. Each architecture has its own set of files that implement the necessary functionality.
Re-exports§
pub use user_context::init_from_fdt as init_user_context_from_fdt;pub use user_context::user_fpu_enabled;pub use user_context::user_vector_enabled;pub use riscv64::context::KernelContext;pub use riscv64::fpu;pub use riscv64::*;
Modules§
- riscv64
- user_
context - Runtime gating for user-mode FPU / Vector context handling.
Structs§
- User
Entry Options - Options applied right before returning to user mode.
Enums§
- User
Return IrqPolicy - Policy for whether user-mode should run with IRQs enabled immediately after
returning from the kernel (e.g.
sret/eret).
Functions§
- configure_
user_ entry - Configure architecture-specific state for the upcoming return to user mode.