Go to the source code of this file.
Functions | |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ equ equ equ equ | ENTRY (OS_CPU_A) OS_ENTER_CRITICAL |
Variables | |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ | USERMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ | FIQMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ | IRQMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ | SVCMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ | ABORTMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ | UNDEFMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ equ | SYSTEMMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ equ equ | MODEMASK |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ equ equ equ | NOINT |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ equ equ equ equ | NOFIQ |
mrs | r0 |
mrs cpsr orr msr | cpsr_cxsf |
mrs cpsr orr msr r0 ldmfd | sp |
strb | r1 |
LR | |
PC | OSCtxSw |
str | OSTCBCur |
str strb ldr str | L_TaskSwitchOn |
PC | OSIntCtxSw |
lr keep irq mode lr in r0 msr | cpsr_c |
last byte for task stack backup ldr str update stack pointer to os_tcb ldr strb ldr str | L_IntSwitchOn |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ equ equ equ equ ENTRY | ( | OS_CPU_A | ) |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ ABORTMODE |
msr cpsr_cxsf |
Definition at line 41 of file os_cpu_a.S.
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ FIQMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ IRQMODE |
last byte for task stack backup ldr str update stack pointer to os_tcb ldr strb ldr str L_IntSwitchOn |
Definition at line 120 of file os_cpu_a.S.
str strb ldr str L_TaskSwitchOn |
Definition at line 81 of file os_cpu_a.S.
Definition at line 57 of file os_cpu_a.S.
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ equ equ MODEMASK |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ equ equ equ equ NOFIQ |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ equ equ equ NOINT |
PC OSCtxSw |
Definition at line 57 of file os_cpu_a.S.
PC OSIntCtxSw |
Definition at line 81 of file os_cpu_a.S.
str OSTCBCur |
Initial value:
Definition at line 73 of file os_cpu_a.S.
last byte for task stack backup ldr str update stack pointer to os_tcb ldr strb ldr r0 |
Definition at line 41 of file os_cpu_a.S.
last byte for task stack backup ldr str update stack pointer to os_tcb ldr strb ldr str r1 |
Definition at line 54 of file os_cpu_a.S.
Definition at line 41 of file os_cpu_a.S.
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ SVCMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ equ SYSTEMMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ equ equ equ equ equ UNDEFMODE |
OSTCBCur current task control block pointer OSTCBHighRdy next task control block pointer OSPrioCur current task id OSPrioHighRdy next task id OSIntNesting nested interrupt counter OSRunning operation system running flag globl OSStartHighRdy Os starts to run highest priority task globl OSCtxSw Os task level context switch globl OSIntCtxSw Os interrupt level context switch globl OS_ENTER_CRITICAL Enter os critical section globl OS_EXIT_CRITICAL Exit os critical section equ USERMODE |