Nut/OS  5.0.5
API Reference

ARM7TDMI GCC context switch frame layout. More...

Collaboration diagram for SWITCHFRAME:
[legend]

Data Fields

uint32_t csf_cpsr
uint32_t csf_r4
uint32_t csf_r5
uint32_t csf_r6
uint32_t csf_r7
uint32_t csf_r8
uint32_t csf_r9
uint32_t csf_r10
uint32_t csf_r11
uint32_t csf_lr
uint8_t csf_r29
uint8_t csf_r28
uint8_t csf_r17
uint8_t csf_r16
uint8_t csf_r15
uint8_t csf_r14
uint8_t csf_r13
uint8_t csf_r12
uint8_t csf_r11
uint8_t csf_r10
uint8_t csf_r9
uint8_t csf_r8
uint8_t csf_r7
uint8_t csf_r6
uint8_t csf_r5
uint8_t csf_r4
uint8_t csf_r3
uint8_t csf_r2
uint8_t csf_pchi
uint8_t csf_pclo
uint8_t csf_r23
uint8_t csf_r22
uint8_t csf_r21
uint8_t csf_r20
uint32_t csf_r3
uint32_t csf_r2
uint32_t csf_r1
uint32_t csf_r0

Detailed Description

ARM7TDMI GCC context switch frame layout.

AVR32 GCC context switch frame layout.

ICC AVR context switch frame layout.

AVR GCC context switch frame layout.

This is the layout of the stack after a thread's context has been switched-out. The stack pointer is stored in the thread info and points to this structure.

This is the layout of the stack after a thread's context has been switched-out.


Field Documentation


The documentation for this struct was generated from the following files: