ChibiOS/RT
2.5.1

Detailed Description

System saved context.

This structure represents the inner stack frame during a context switching.

This structure represents the inner stack frame during a context switching..

Note:
The structure requires one dummy field at its start because the stack is handled as preincremented/postdecremented.

This structure represents the inner stack frame during a context switching.

Note:
The field _next is not part of the context, it represents the offset of the structure relative to the stack pointer.

This structure represents the inner stack frame during a context switching.

Note:
R2 and R13 are not saved because those are assumed to be immutable during the system life cycle.
LR is stored in the caller contex so it is not present in this structure.

Definition at line 123 of file kernel/templates/chcore.h.

#include <chcore.h>