⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module context

Module context 

Source
Expand description

Architecture-independent context management interface

This module defines the common interface for thread context management that must be implemented for each architecture.

Traits§

ThreadContext
Thread context trait

Functions§

init_fpu
Initialize FPU/SIMD for the current CPU
restore_fpu_state
Restore FPU/SIMD state
save_fpu_state
Save FPU/SIMD state
switch_context
Perform a context switch between two threads

Type Aliases§

ArchThreadContext
Architecture-specific thread context type alias