Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 25 of 61) sorted by relevance

123

/Kernel-v10.6.2/portable/IAR/AtmelSAM7S64/
HDISR_Support.h41 ; 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/
HDISR_Support.h40 ; 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/
HDISR_Support.h41 ; 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/
HDISR_Support.h41 ; 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/
HDISR_Support.h41 ; 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/
HDISR_Support.h41 ; 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/
HDport.c44 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/
HDportASM.asm46 ; 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/
HDportmacro.inc37 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/
HDportasm.s8571 ; 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 …]
HDportasm_Fx3.s8580 ; 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 …]
HDportasm_Hx2.s8571 ; 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 …]
HDISR_Support.h40 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/
HDportmacro.h213 ; 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/
HDexception.s82221 // 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/
HDport_asm.asm64 ;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/
HDISR_Support.inc44 ; 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/
HDISR_Support.h40 ; 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/
HDportmacro.s90108 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/
HDport_asm.S41 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/
HDportASM.h37 ; 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/
HDportASM.h37 ; 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/
HDportmacro.s90106 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/
HDportmacro.s90103 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/
HDreadme_xtensa.txt238 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 …]

123