/Kernel-v10.6.2/portable/IAR/AtmelSAM7S64/ |
HD | ISR_Support.h | 41 ; Set R0 to point to the task stack pointer. 47 ; Push the return address onto the stack. 53 ; Pop R0 so we can save it onto the system mode stack. 56 ; Push all the system mode registers onto the task stack. 61 ; Push the SPSR onto the task stack. 69 ; Store the new top of stack for the task. 79 ; Set the LR to the task stack. variable 84 ; The critical nesting depth is the first item on the stack. 90 ; Get the SPSR from the stack.
|
/Kernel-v10.6.2/portable/IAR/AtmelSAM9XE/ |
HD | ISR_Support.h | 40 ; Set R0 to point to the task stack pointer. 46 ; Push the return address onto the stack. 52 ; Pop R0 so we can save it onto the system mode stack. 55 ; Push all the system mode registers onto the task stack. 60 ; Push the SPSR onto the task stack. 68 ; Store the new top of stack for the task. 78 ; Set the LR to the task stack. variable 83 ; The critical nesting depth is the first item on the stack. 89 ; Get the SPSR from the stack.
|
/Kernel-v10.6.2/portable/IAR/LPC2000/ |
HD | ISR_Support.h | 41 ; Set R0 to point to the task stack pointer. 47 ; Push the return address onto the stack. 53 ; Pop R0 so we can save it onto the system mode stack. 56 ; Push all the system mode registers onto the task stack. 61 ; Push the SPSR onto the task stack. 69 ; Store the new top of stack for the task. 79 ; Set the LR to the task stack. variable 84 ; The critical nesting depth is the first item on the stack. 90 ; Get the SPSR from the stack.
|
/Kernel-v10.6.2/portable/IAR/STR71x/ |
HD | ISR_Support.h | 41 ; Set R0 to point to the task stack pointer. 47 ; Push the return address onto the stack. 53 ; Pop R0 so we can save it onto the system mode stack. 56 ; Push all the system mode registers onto the task stack. 61 ; Push the SPSR onto the task stack. 69 ; Store the new top of stack for the task. 79 ; Set the LR to the task stack. variable 84 ; The critical nesting depth is the first item on the stack. 90 ; Get the SPSR from the stack.
|
/Kernel-v10.6.2/portable/IAR/STR75x/ |
HD | ISR_Support.h | 41 ; Set R0 to point to the task stack pointer. 47 ; Push the return address onto the stack. 53 ; Pop R0 so we can save it onto the system mode stack. 56 ; Push all the system mode registers onto the task stack. 61 ; Push the SPSR onto the task stack. 69 ; Store the new top of stack for the task. 79 ; Set the LR to the task stack. variable 84 ; The critical nesting depth is the first item on the stack. 90 ; Get the SPSR from the stack.
|
/Kernel-v10.6.2/portable/IAR/STR91x/ |
HD | ISR_Support.h | 41 ; Set R0 to point to the task stack pointer. 47 ; Push the return address onto the stack. 53 ; Pop R0 so we can save it onto the system mode stack. 56 ; Push all the system mode registers onto the task stack. 61 ; Push the SPSR onto the task stack. 69 ; Store the new top of stack for the task. 79 ; Set the LR to the task stack. variable 84 ; The critical nesting depth is the first item on the stack. 90 ; Get the SPSR from the stack.
|
/Kernel-v10.6.2/portable/Softune/MB91460/ |
HD | port.c | 44 ORCCR #0x20 ;Switch to user stack 51 ANDCCR #0xDF ;Switch back to system stack 53 ORCCR #0x20 ;Switch to user stack 54 ST R0,@-R15 ;Store PC to User stack 56 ANDCCR #0xDF ;Switch back to system stack 58 ORCCR #0x20 ;Switch to user stack 59 ST R0,@-R15 ;Store PS to User stack 65 … ANDCCR #0xDF ;Switch back to system stack for the rest of tick ISR 71 ORCCR #0x20 ;Switch to user stack 75 ANDCCR #0xDF ;Switch to system stack [all …]
|
/Kernel-v10.6.2/portable/CCS/ARM_Cortex-R4/ |
HD | portASM.asm | 46 ; Set R0 to point to the task stack pointer. 51 ; Push the return address onto the stack. 57 ; Pop R0 so it can be saved onto the task stack. 60 ; Push all the system mode registers onto the task stack. 64 ; Push the SPSR onto the task stack. 87 ; Store the new top of stack for the task. 104 ; The floating point context flag is the first thing on the stack. 122 ; Get the SPSR from the stack.
|
/Kernel-v10.6.2/portable/RVDS/ARM7_LPC21xx/ |
HD | portmacro.inc | 37 LDR R0, =pxCurrentTCB ; Set the LR to the task stack. The location was... 42 LDMFD LR!, {R1} ; ...the stack. Load it into the ulCriticalNesting var. 45 LDMFD LR!, {R0} ; Get the SPSR from the stack. 66 STMDB SP,{SP}^ ; Set R0 to point to the task stack pointer. 71 STMDB R0!, {LR} ; Push the return address onto the stack. 73 LDMIA SP!, {R0} ; Pop R0 so we can save it onto the system mode stack. 75 STMDB LR,{R0-LR}^ ; Push all the system mode registers onto the task stack. 79 MRS R0, SPSR ; Push the SPSR onto the task stack. 86 LDR R0, =pxCurrentTCB ; Store the new top of stack for the task.
|
/Kernel-v10.6.2/portable/IAR/V850ES/ |
HD | portasm.s85 | 71 ; and the usCriticalNesting Value of the active Task onto the task stack 72 ; saves stack pointer to the TCB 113 …MOVHI hi1(usCriticalNesting),r0,r1 ; save usCriticalNesting value to stack 124 ; Gets stack pointer from the current TCB 126 ; registers of the selected task from the task stack 133 MOV sp,ep ; set stack pointer to element pointer 134 sld.w 0[ep],r1 ; load usCriticalNesting value from stack 214 add -0x0C,sp ; prepare stack to save necessary values 215 st.w lp,8[sp] ; store LP to stack 217 st.w lp,4[sp] ; store EIPC to stack [all …]
|
HD | portasm_Fx3.s85 | 80 ; and the usCriticalNesting Value of the active Task onto the task stack 81 ; saves stack pointer to the TCB 122 …MOVHI hi1(usCriticalNesting),r0,r1 ; save usCriticalNesting value to stack 133 ; Gets stack pointer from the current TCB 135 ; registers of the selected task from the task stack 142 MOV sp,ep ; set stack pointer to element pointer 143 sld.w 0[ep],r1 ; load usCriticalNesting value from stack 223 add -0x0C,sp ; prepare stack to save necessary values 224 st.w lp,8[sp] ; store LP to stack 226 st.w lp,4[sp] ; store EIPC to stack [all …]
|
HD | portasm_Hx2.s85 | 71 ; and the usCriticalNesting Value of the active Task onto the task stack 72 ; saves stack pointer to the TCB 113 …MOVHI hi1(usCriticalNesting),r0,r1 ; save usCriticalNesting value to stack 124 ; Gets stack pointer from the current TCB 126 ; registers of the selected task from the task stack 133 MOV sp,ep ; set stack pointer to element pointer 134 sld.w 0[ep],r1 ; load usCriticalNesting value from stack 214 add -0x0C,sp ; prepare stack to save necessary values 215 st.w lp,8[sp] ; store LP to stack 217 st.w lp,4[sp] ; store EIPC to stack [all …]
|
HD | ISR_Support.h | 40 add -0x0C,sp ; prepare stack to save necessary values 41 st.w lp,8[sp] ; store LP to stack 43 st.w lp,4[sp] ; store EIPC to stack 45 st.w lp,0[sp] ; store EIPSW to stack 84 MOVHI hi1(usCriticalNesting),r0,r1 ; save usCriticalNesting value to stack 99 MOV sp,ep ; set stack pointer to element pointer 100 sld.w 0[ep],r1 ; load usCriticalNesting value from stack 141 ld.w 0[sp],lp ; restore EIPSW from stack 143 ld.w 4[sp],lp ; restore EIPC from stack 145 ld.w 8[sp],lp ; restore LP from stack
|
/Kernel-v10.6.2/portable/WizC/PIC18/ |
HD | portmacro.h | 213 ; Push the relevant SFR's onto the task's stack \ 245 ; Save the pic call/return-stack belonging to the \ 252 ; stack, too. \ 269 ; task is stored on the stack. When \ 279 ; Save the new top of the software stack in the TCB. \ 311 ; task is retrieved from the stack. \ 315 ; Rebuild the pic call/return-stack. The number of \ 316 ; return addresses is the next item on the task stack. \
|
/Kernel-v10.6.2/portable/IAR/AVR32_UC3/ |
HD | exception.s82 | 221 // R8-R12, LR, PC and SR are automatically pushed onto the system stack by the 223 #if 1 // B1832: interrupt stack changed to exception stack if exception is detected. 244 // R8-R12, LR, PC and SR are automatically pushed onto the system stack by the 246 #if 1 // B1832: interrupt stack changed to exception stack if exception is detected. 267 // R8-R12, LR, PC and SR are automatically pushed onto the system stack by the 269 #if 1 // B1832: interrupt stack changed to exception stack if exception is detected. 290 // R8-R12, LR, PC and SR are automatically pushed onto the system stack by the 292 #if 1 // B1832: interrupt stack changed to exception stack if exception is detected.
|
/Kernel-v10.6.2/portable/Tasking/ARM_CM4F/ |
HD | port_asm.asm | 64 ;Save the new top of stack into the first member of the TCB. 76 ;The first item in pxCurrentTCB is the task top of stack. 119 ;Save the new top of stack into the first member of the TCB. 131 ;The first item in pxCurrentTCB is the task top of stack. 177 ;Use the NVIC offset register to locate the stack. 181 ;Set the msp back to the start of the stack.
|
/Kernel-v10.6.2/portable/Renesas/SH2A_FPU/ |
HD | ISR_Support.inc | 44 ; Save the stack pointer in pxTopOfStack. 56 ; Get the address of the task stack from pxCurrentTCB. 59 ; Get the task stack itself into the stack pointer.
|
/Kernel-v10.6.2/portable/IAR/78K0R/ |
HD | ISR_Support.h | 40 ; of the active Task onto the task stack variable 44 PUSH AX ; Save AX Register to stack. 65 ; of the selected task from the task stack variable
|
/Kernel-v10.6.2/portable/IAR/ATMega323/ |
HD | portmacro.s90 | 108 in r0, SPL ; Next store the hardware stack pointer. The IAR... 109 st -y, r0 ; ... compiler uses the hardware stack as a call stack ... 115 st -y, r3 ; stack pointer and will get saved into the TCB. 145 lds r26, pxCurrentTCB ; Finally save the software stack pointer (Y ... 155 lds r27, pxCurrentTCB + 1 ; Restore the software stack pointer from ... 156 ld r28, x+ ; the TCB into the software stack pointer (... 191 ld r0, y+ ; The next thing on the stack is the ... 192 out SPH, r0 ; ... hardware stack pointer.
|
/Kernel-v10.6.2/portable/GCC/NiosII/ |
HD | port_asm.S | 41 addi sp, sp, -116 # Create space on the stack. 77 stw sp, (et) # Store the stack pointer into the top of the TCB 88 ldw sp, (et) # Load the stack pointer with the top value of the TCB 121 addi sp, sp, 116 # Release stack space
|
/Kernel-v10.6.2/portable/IAR/ARM_CA5_No_GIC/ |
HD | portASM.h | 37 ; Save the LR and SPSR onto the system mode stack before switching to 65 ; Save the stack pointer in the TCB 76 ; Set the SP to point to the stack of the task being restored.
|
/Kernel-v10.6.2/portable/IAR/ARM_CA9/ |
HD | portASM.h | 37 ; Save the LR and SPSR onto the system mode stack before switching to 63 ; Save the stack pointer in the TCB 74 ; Set the SP to point to the stack of the task being restored.
|
/Kernel-v10.6.2/portable/IAR/AVR_AVRDx/ |
HD | portmacro.s90 | 106 in r0, SPL ; Next store the hardware stack pointer. The IAR... 107 st -y, r0 ; ... compiler uses the hardware stack as a call stack ... 113 st -y, r3 ; stack pointer and will get saved into the TCB. 144 lds r26, pxCurrentTCB ; Finally save the software stack pointer (Y ... 154 lds r27, pxCurrentTCB + 1 ; Restore the software stack pointer from ... 155 ld r28, x+ ; the TCB into the software stack pointer (... 191 ld r0, y+ ; The next thing on the stack is the ... 192 out SPH, r0 ; ... hardware stack pointer.
|
/Kernel-v10.6.2/portable/IAR/AVR_Mega0/ |
HD | portmacro.s90 | 103 in r0, SPL ; Next store the hardware stack pointer. The IAR... 104 st -y, r0 ; ... compiler uses the hardware stack as a call stack ... 110 st -y, r3 ; stack pointer and will get saved into the TCB. 141 lds r26, pxCurrentTCB ; Finally save the software stack pointer (Y ... 151 lds r27, pxCurrentTCB + 1 ; Restore the software stack pointer from ... 152 ld r28, x+ ; the TCB into the software stack pointer (... 188 ld r0, y+ ; The next thing on the stack is the ... 189 out SPH, r0 ; ... hardware stack pointer.
|
/Kernel-v10.6.2/portable/ThirdParty/XCC/Xtensa/ |
HD | readme_xtensa.txt | 238 Then, you must also make sure to allocate extra space on the stack for 240 space is to be allocated over and above the actual stack space required 245 specifies the amount of extra space to be added on to the stack to allow 247 E.g. if your task requires 2000 bytes of stack space, you must allocate 248 (2000 + XT_STACK_EXTRA_CLIB) bytes for the stack. 302 stack. Each task needs enough space for its own use, its own interrupt 303 stack frame (defined in xtensa_context.h) and space to save coprocessor 304 state, if any. Several factors influence the size of the stack required, 307 stack space. The tool xt-stack-usage is helpful in determining safe stack 310 Some macros are provided in xtensa_config.h to help determine the stack [all …]
|