Expand description
CPU register states for context switching.
There are three types of context:
TaskContext
: The context of a task.TrapFrame
: The context of an interrupt or an exception.UspaceContext
: The context for user/kernel mode switching.
Structsยง
- Task
Context - Saved hardware states of a task.
- Trap
Frame - Saved registers when a trap (interrupt or exception) occurs.
- Uspace
Context uspace
- Context to enter user space.