Module arch_regs

Module arch_regs 

Source
Expand description

both Context64 and TrapFrame define architecture specific registers and combine into the full execution context of a thread. Context64 includes the callee saved registers plus FP state, and TrapFrame includes caller saved registers.

Structs§

Context64
the Context64 is part of the task struct; it’s saved and restored explicitly on context swap.
TrapFrame
TrapFrame is saved and restored by the interrupt handler assembly code upon interrupt entry and exit.

Functions§

get_sp
get the current stack pointer