Module context

Source
Expand description

CPU execution context control.

Re-exports§

pub use crate::arch::trap::GeneralRegs as RawGeneralRegs;
pub use crate::arch::trap::TrapFrame;
pub use crate::arch::trap::UserContext as RawUserContext;

Modules§

cpuid
Support for the CPUID instructions.

Structs§

CpuExceptionInfo
CPU exception information.
FpuState
The FPU state of user task.
PageFaultErrorCode
Page Fault error code. Following the Intel Architectures Software Developer’s Manual Volume 3
UserContext
Cpu context, including both general-purpose registers and FPU state.

Enums§

CpuException
CPU exception.
CpuExceptionType
As Osdev Wiki defines(https://wiki.osdev.org/Exceptions): CPU exceptions are classified as: