Lines Matching refs:pxTopOfStack

109 StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, StackType_t *pxEndOfStack, TaskFunct…  in pxPortInitialiseStack()  argument
111 StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParam… in pxPortInitialiseStack()
123 *pxTopOfStack = ( StackType_t ) 0x00000000; in pxPortInitialiseStack()
124 pxTopOfStack--; in pxPortInitialiseStack()
125 *pxTopOfStack = ( StackType_t ) 0x00000000; in pxPortInitialiseStack()
126 pxTopOfStack--; in pxPortInitialiseStack()
127 *pxTopOfStack = ( StackType_t ) 0x00000000; in pxPortInitialiseStack()
128 pxTopOfStack--; in pxPortInitialiseStack()
132 *pxTopOfStack = (StackType_t) (pxTopOfStack + 3); in pxPortInitialiseStack()
133 pxTopOfStack--; in pxPortInitialiseStack()
134 *pxTopOfStack = (StackType_t) pxEndOfStack; in pxPortInitialiseStack()
135 pxTopOfStack--; in pxPortInitialiseStack()
140 *pxTopOfStack = portINITIAL_FSR; in pxPortInitialiseStack()
141 pxTopOfStack--; in pxPortInitialiseStack()
147 *pxTopOfStack = mfmsr() & ~portMSR_IE; in pxPortInitialiseStack()
152 *pxTopOfStack |= portMSR_EE; in pxPortInitialiseStack()
156 pxTopOfStack--; in pxPortInitialiseStack()
160 *pxTopOfStack = ( StackType_t ) 0x00; in pxPortInitialiseStack()
166 pxTopOfStack--; in pxPortInitialiseStack()
167 *pxTopOfStack = ( StackType_t ) ulR2; /* R2 - read only small data area. */ in pxPortInitialiseStack()
168 pxTopOfStack--; in pxPortInitialiseStack()
169 *pxTopOfStack = ( StackType_t ) 0x03; /* R3 - return values and temporaries. */ in pxPortInitialiseStack()
170 pxTopOfStack--; in pxPortInitialiseStack()
171 *pxTopOfStack = ( StackType_t ) 0x04; /* R4 - return values and temporaries. */ in pxPortInitialiseStack()
172 pxTopOfStack--; in pxPortInitialiseStack()
173 *pxTopOfStack = ( StackType_t ) pvParameters;/* R5 contains the function call parameters. */ in pxPortInitialiseStack()
176 pxTopOfStack--; in pxPortInitialiseStack()
177 *pxTopOfStack = ( StackType_t ) 0x06; /* R6 - other parameters and temporaries. */ in pxPortInitialiseStack()
178 pxTopOfStack--; in pxPortInitialiseStack()
179 *pxTopOfStack = ( StackType_t ) 0x07; /* R7 - other parameters and temporaries. */ in pxPortInitialiseStack()
180 pxTopOfStack--; in pxPortInitialiseStack()
181 *pxTopOfStack = ( StackType_t ) NULL; /* R8 - other parameters and temporaries. */ in pxPortInitialiseStack()
182 pxTopOfStack--; in pxPortInitialiseStack()
183 *pxTopOfStack = ( StackType_t ) 0x09; /* R9 - other parameters and temporaries. */ in pxPortInitialiseStack()
184 pxTopOfStack--; in pxPortInitialiseStack()
185 *pxTopOfStack = ( StackType_t ) 0x0a; /* R10 - other parameters and temporaries. */ in pxPortInitialiseStack()
186 pxTopOfStack--; in pxPortInitialiseStack()
187 *pxTopOfStack = ( StackType_t ) 0x0b; /* R11 - temporaries. */ in pxPortInitialiseStack()
188 pxTopOfStack--; in pxPortInitialiseStack()
189 *pxTopOfStack = ( StackType_t ) 0x0c; /* R12 - temporaries. */ in pxPortInitialiseStack()
190 pxTopOfStack--; in pxPortInitialiseStack()
192 pxTopOfStack-= 8; in pxPortInitialiseStack()
195 *pxTopOfStack = ( StackType_t ) ulR13; /* R13 - read/write small data area. */ in pxPortInitialiseStack()
196 pxTopOfStack--; in pxPortInitialiseStack()
197 *pxTopOfStack = ( StackType_t ) pxCode; /* R14 - return address for interrupt. */ in pxPortInitialiseStack()
198 pxTopOfStack--; in pxPortInitialiseStack()
199 *pxTopOfStack = ( StackType_t ) _start1; /* R15 - return address for subroutine. */ in pxPortInitialiseStack()
202 pxTopOfStack--; in pxPortInitialiseStack()
203 *pxTopOfStack = ( StackType_t ) 0x10; /* R16 - return address for trap (debugger). */ in pxPortInitialiseStack()
204 pxTopOfStack--; in pxPortInitialiseStack()
205 … *pxTopOfStack = ( StackType_t ) 0x11; /* R17 - return address for exceptions, if configured. */ in pxPortInitialiseStack()
206 pxTopOfStack--; in pxPortInitialiseStack()
207 …*pxTopOfStack = ( StackType_t ) 0x12; /* R18 - reserved for assembler and compiler temporaries. … in pxPortInitialiseStack()
208 pxTopOfStack--; in pxPortInitialiseStack()
210 pxTopOfStack -= 4; in pxPortInitialiseStack()
213 …*pxTopOfStack = ( StackType_t ) 0x00; /* R19 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
216 pxTopOfStack--; in pxPortInitialiseStack()
217 …*pxTopOfStack = ( StackType_t ) 0x14; /* R20 - reserved for storing a pointer to the Global Offs… in pxPortInitialiseStack()
218 pxTopOfStack--; in pxPortInitialiseStack()
219 …*pxTopOfStack = ( StackType_t ) 0x15; /* R21 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
220 pxTopOfStack--; in pxPortInitialiseStack()
221 …*pxTopOfStack = ( StackType_t ) 0x16; /* R22 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
222 pxTopOfStack--; in pxPortInitialiseStack()
223 …*pxTopOfStack = ( StackType_t ) 0x17; /* R23 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
224 pxTopOfStack--; in pxPortInitialiseStack()
225 …*pxTopOfStack = ( StackType_t ) 0x18; /* R24 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
226 pxTopOfStack--; in pxPortInitialiseStack()
227 …*pxTopOfStack = ( StackType_t ) 0x19; /* R25 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
228 pxTopOfStack--; in pxPortInitialiseStack()
229 …*pxTopOfStack = ( StackType_t ) 0x1a; /* R26 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
230 pxTopOfStack--; in pxPortInitialiseStack()
231 …*pxTopOfStack = ( StackType_t ) 0x1b; /* R27 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
232 pxTopOfStack--; in pxPortInitialiseStack()
233 …*pxTopOfStack = ( StackType_t ) 0x1c; /* R28 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
234 pxTopOfStack--; in pxPortInitialiseStack()
235 …*pxTopOfStack = ( StackType_t ) 0x1d; /* R29 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
236 pxTopOfStack--; in pxPortInitialiseStack()
237 …*pxTopOfStack = ( StackType_t ) 0x1e; /* R30 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
238 pxTopOfStack--; in pxPortInitialiseStack()
239 …*pxTopOfStack = ( StackType_t ) 0x1f; /* R31 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
240 pxTopOfStack--; in pxPortInitialiseStack()
242 pxTopOfStack -= 13; in pxPortInitialiseStack()
247 return pxTopOfStack; in pxPortInitialiseStack()