Expand description
CPU register states for context switching.
There are two types of context:
TaskContext: The context of a task.TrapFrame: The context of an interrupt or an exception.
Structsยง
- Task
Context - Saved hardware states of a task.
- Trap
Frame - Saved registers when a trap (interrupt or exception) occurs.