资料介绍
uc_os2 for arm详解C/OS-II for ARM Processors
(Supplement to AN-1014) ARM and Thumb Mode
www.Micrium.com
Legend
A red line shows data being copied.
LOW Memory
CPSR R0 R1 R2 R3 R4 OSTCBStkPtr R0 R1 R2
Task’s OS_TCB
R3 R4 R5 R6
A black line indicates a pointer.
R7 R8 R9
Stack Growth
R5 R6 R7 R8 R9 R10 R11 R12
CPU Registers SVC Mode
Registers in beige are common registers. Registers in blue are mode specific registers.
R10 R11 R12 R13_svc (SP) R14_svc (LR)
HIGH Memory
R14_svc (LR) PC
As a convention, we will show stack growth going from the bottom of the page up to show that items are stacked one on top of the other.
R15 (PC) CPSR SPSR_svc
Task Stack
2005, 2005, Micrim, Micrim, Inc., Inc., All All Rights Rights Reserved Reserved
C/OS-II C/OS-II Port Port for for ARM ARM Processors Processors