polyhal/components/kcontext/
mod.rs

1//! Kernel Context module.
2//!
3//!
4
5super::define_arch_mods!();
6
7/// Kernel Context Arg Type.
8///
9/// Using this by Index and IndexMut trait bound on KContext.
10#[derive(Debug)]
11pub enum KContextArgs {
12    /// Kernel Stack Pointer
13    KSP,
14    /// Kernel Thread Pointer
15    KTP,
16    /// Kernel Program Counter
17    KPC,
18}