Lines Matching refs:pxTopOfStack
107 StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParam… in pxPortInitialiseStack() argument
117 *pxTopOfStack = ( StackType_t ) 0x00000000; in pxPortInitialiseStack()
118 pxTopOfStack--; in pxPortInitialiseStack()
119 *pxTopOfStack = ( StackType_t ) 0x00000000; in pxPortInitialiseStack()
120 pxTopOfStack--; in pxPortInitialiseStack()
121 *pxTopOfStack = ( StackType_t ) 0x00000000; in pxPortInitialiseStack()
122 pxTopOfStack--; in pxPortInitialiseStack()
126 *pxTopOfStack = portINITIAL_FSR; in pxPortInitialiseStack()
127 pxTopOfStack--; in pxPortInitialiseStack()
133 *pxTopOfStack = mfmsr() & ~portMSR_IE; in pxPortInitialiseStack()
138 *pxTopOfStack |= portMSR_EE; in pxPortInitialiseStack()
142 pxTopOfStack--; in pxPortInitialiseStack()
146 *pxTopOfStack = ( StackType_t ) 0x00; in pxPortInitialiseStack()
152 pxTopOfStack--; in pxPortInitialiseStack()
153 *pxTopOfStack = ( StackType_t ) ulR2; /* R2 - read only small data area. */ in pxPortInitialiseStack()
154 pxTopOfStack--; in pxPortInitialiseStack()
155 *pxTopOfStack = ( StackType_t ) 0x03; /* R3 - return values and temporaries. */ in pxPortInitialiseStack()
156 pxTopOfStack--; in pxPortInitialiseStack()
157 *pxTopOfStack = ( StackType_t ) 0x04; /* R4 - return values and temporaries. */ in pxPortInitialiseStack()
158 pxTopOfStack--; in pxPortInitialiseStack()
159 *pxTopOfStack = ( StackType_t ) pvParameters;/* R5 contains the function call parameters. */ in pxPortInitialiseStack()
162 pxTopOfStack--; in pxPortInitialiseStack()
163 …*pxTopOfStack = ( StackType_t ) 0x06; /* R6 - other parameters and temporaries. Used as the ret… in pxPortInitialiseStack()
164 pxTopOfStack--; in pxPortInitialiseStack()
165 *pxTopOfStack = ( StackType_t ) 0x07; /* R7 - other parameters and temporaries. */ in pxPortInitialiseStack()
166 pxTopOfStack--; in pxPortInitialiseStack()
167 *pxTopOfStack = ( StackType_t ) 0x08; /* R8 - other parameters and temporaries. */ in pxPortInitialiseStack()
168 pxTopOfStack--; in pxPortInitialiseStack()
169 *pxTopOfStack = ( StackType_t ) 0x09; /* R9 - other parameters and temporaries. */ in pxPortInitialiseStack()
170 pxTopOfStack--; in pxPortInitialiseStack()
171 *pxTopOfStack = ( StackType_t ) 0x0a; /* R10 - other parameters and temporaries. */ in pxPortInitialiseStack()
172 pxTopOfStack--; in pxPortInitialiseStack()
173 *pxTopOfStack = ( StackType_t ) 0x0b; /* R11 - temporaries. */ in pxPortInitialiseStack()
174 pxTopOfStack--; in pxPortInitialiseStack()
175 *pxTopOfStack = ( StackType_t ) 0x0c; /* R12 - temporaries. */ in pxPortInitialiseStack()
176 pxTopOfStack--; in pxPortInitialiseStack()
178 pxTopOfStack-= 8; in pxPortInitialiseStack()
181 *pxTopOfStack = ( StackType_t ) ulR13; /* R13 - read/write small data area. */ in pxPortInitialiseStack()
182 pxTopOfStack--; in pxPortInitialiseStack()
183 *pxTopOfStack = ( StackType_t ) pxCode; /* R14 - return address for interrupt. */ in pxPortInitialiseStack()
184 pxTopOfStack--; in pxPortInitialiseStack()
185 *pxTopOfStack = ( StackType_t ) NULL; /* R15 - return address for subroutine. */ in pxPortInitialiseStack()
188 pxTopOfStack--; in pxPortInitialiseStack()
189 *pxTopOfStack = ( StackType_t ) 0x10; /* R16 - return address for trap (debugger). */ in pxPortInitialiseStack()
190 pxTopOfStack--; in pxPortInitialiseStack()
191 … *pxTopOfStack = ( StackType_t ) 0x11; /* R17 - return address for exceptions, if configured. */ in pxPortInitialiseStack()
192 pxTopOfStack--; in pxPortInitialiseStack()
193 …*pxTopOfStack = ( StackType_t ) 0x12; /* R18 - reserved for assembler and compiler temporaries. … in pxPortInitialiseStack()
194 pxTopOfStack--; in pxPortInitialiseStack()
196 pxTopOfStack -= 4; in pxPortInitialiseStack()
199 …*pxTopOfStack = ( StackType_t ) 0x00; /* R19 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
202 pxTopOfStack--; in pxPortInitialiseStack()
203 …*pxTopOfStack = ( StackType_t ) 0x14; /* R20 - reserved for storing a pointer to the Global Offs… in pxPortInitialiseStack()
204 pxTopOfStack--; in pxPortInitialiseStack()
205 …*pxTopOfStack = ( StackType_t ) 0x15; /* R21 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
206 pxTopOfStack--; in pxPortInitialiseStack()
207 …*pxTopOfStack = ( StackType_t ) 0x16; /* R22 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
208 pxTopOfStack--; in pxPortInitialiseStack()
209 …*pxTopOfStack = ( StackType_t ) 0x17; /* R23 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
210 pxTopOfStack--; in pxPortInitialiseStack()
211 …*pxTopOfStack = ( StackType_t ) 0x18; /* R24 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
212 pxTopOfStack--; in pxPortInitialiseStack()
213 …*pxTopOfStack = ( StackType_t ) 0x19; /* R25 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
214 pxTopOfStack--; in pxPortInitialiseStack()
215 …*pxTopOfStack = ( StackType_t ) 0x1a; /* R26 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
216 pxTopOfStack--; in pxPortInitialiseStack()
217 …*pxTopOfStack = ( StackType_t ) 0x1b; /* R27 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
218 pxTopOfStack--; in pxPortInitialiseStack()
219 …*pxTopOfStack = ( StackType_t ) 0x1c; /* R28 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
220 pxTopOfStack--; in pxPortInitialiseStack()
221 …*pxTopOfStack = ( StackType_t ) 0x1d; /* R29 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
222 pxTopOfStack--; in pxPortInitialiseStack()
223 …*pxTopOfStack = ( StackType_t ) 0x1e; /* R30 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
224 pxTopOfStack--; in pxPortInitialiseStack()
225 …*pxTopOfStack = ( StackType_t ) 0x1f; /* R31 - must be saved across function calls. Callee-save.… in pxPortInitialiseStack()
226 pxTopOfStack--; in pxPortInitialiseStack()
228 pxTopOfStack -= 13; in pxPortInitialiseStack()
233 return pxTopOfStack; in pxPortInitialiseStack()