[][src]Struct kernel::process::cpu::CPU

#[repr(C)]pub struct CPU {
    pub scheduler_context: Context,
    pub process: Option<Box<Process>>,
    pub intr_lock: IntrLock,
}

Holding CPU information

Fields

scheduler_context: Contextprocess: Option<Box<Process>>intr_lock: IntrLock

Implementations

impl CPU[src]

pub const fn zero() -> Self[src]