Skip to main content

Module context

Module context 

Source
Expand description

CPU register states for context switching.

There are two types of context:

Structsยง

TaskContext
Saved hardware states of a task.
TrapFrame
Saved registers when a trap (interrupt or exception) occurs.