Lines Matching refs:pxTopOfStack
68 StackType_t * pxPortInitialiseStack( StackType_t * pxTopOfStack, in pxPortInitialiseStack() argument
102 pxTopOfHardwareStack = pxTopOfStack; in pxPortInitialiseStack()
105 *pxTopOfStack = ( StackType_t ) ( usAddress & ( uint16_t ) 0x00ff ); in pxPortInitialiseStack()
106 pxTopOfStack--; in pxPortInitialiseStack()
109 *pxTopOfStack = ( StackType_t ) ( usAddress & ( uint16_t ) 0x00ff ); in pxPortInitialiseStack()
110 pxTopOfStack--; in pxPortInitialiseStack()
115 pxTopOfStack -= ( configCALL_STACK_SIZE - 2 ); in pxPortInitialiseStack()
122 *pxTopOfStack = ( StackType_t ) 0x00; /* R0 */ in pxPortInitialiseStack()
123 pxTopOfStack--; in pxPortInitialiseStack()
124 *pxTopOfStack = portFLAGS_INT_ENABLED; in pxPortInitialiseStack()
125 pxTopOfStack--; in pxPortInitialiseStack()
133 *pxTopOfStack = ( StackType_t ) ( usAddress & ( uint16_t ) 0x00ff ); in pxPortInitialiseStack()
134 pxTopOfStack--; in pxPortInitialiseStack()
138 *pxTopOfStack = ( StackType_t ) ( usAddress & ( uint16_t ) 0x00ff ); in pxPortInitialiseStack()
139 pxTopOfStack--; in pxPortInitialiseStack()
142 *pxTopOfStack = ( StackType_t ) 0x01; /* R1 */ in pxPortInitialiseStack()
143 pxTopOfStack--; in pxPortInitialiseStack()
144 *pxTopOfStack = ( StackType_t ) 0x02; /* R2 */ in pxPortInitialiseStack()
145 pxTopOfStack--; in pxPortInitialiseStack()
146 *pxTopOfStack = ( StackType_t ) 0x03; /* R3 */ in pxPortInitialiseStack()
147 pxTopOfStack--; in pxPortInitialiseStack()
148 *pxTopOfStack = ( StackType_t ) 0x04; /* R4 */ in pxPortInitialiseStack()
149 pxTopOfStack--; in pxPortInitialiseStack()
150 *pxTopOfStack = ( StackType_t ) 0x05; /* R5 */ in pxPortInitialiseStack()
151 pxTopOfStack--; in pxPortInitialiseStack()
152 *pxTopOfStack = ( StackType_t ) 0x06; /* R6 */ in pxPortInitialiseStack()
153 pxTopOfStack--; in pxPortInitialiseStack()
154 *pxTopOfStack = ( StackType_t ) 0x07; /* R7 */ in pxPortInitialiseStack()
155 pxTopOfStack--; in pxPortInitialiseStack()
156 *pxTopOfStack = ( StackType_t ) 0x08; /* R8 */ in pxPortInitialiseStack()
157 pxTopOfStack--; in pxPortInitialiseStack()
158 *pxTopOfStack = ( StackType_t ) 0x09; /* R9 */ in pxPortInitialiseStack()
159 pxTopOfStack--; in pxPortInitialiseStack()
160 *pxTopOfStack = ( StackType_t ) 0x10; /* R10 */ in pxPortInitialiseStack()
161 pxTopOfStack--; in pxPortInitialiseStack()
162 *pxTopOfStack = ( StackType_t ) 0x11; /* R11 */ in pxPortInitialiseStack()
163 pxTopOfStack--; in pxPortInitialiseStack()
164 *pxTopOfStack = ( StackType_t ) 0x12; /* R12 */ in pxPortInitialiseStack()
165 pxTopOfStack--; in pxPortInitialiseStack()
166 *pxTopOfStack = ( StackType_t ) 0x13; /* R13 */ in pxPortInitialiseStack()
167 pxTopOfStack--; in pxPortInitialiseStack()
168 *pxTopOfStack = ( StackType_t ) 0x14; /* R14 */ in pxPortInitialiseStack()
169 pxTopOfStack--; in pxPortInitialiseStack()
170 *pxTopOfStack = ( StackType_t ) 0x15; /* R15 */ in pxPortInitialiseStack()
171 pxTopOfStack--; in pxPortInitialiseStack()
175 *pxTopOfStack = ( StackType_t ) ( usAddress & ( uint16_t ) 0x00ff ); in pxPortInitialiseStack()
176 pxTopOfStack--; in pxPortInitialiseStack()
179 *pxTopOfStack = ( StackType_t ) ( usAddress & ( uint16_t ) 0x00ff ); in pxPortInitialiseStack()
180 pxTopOfStack--; in pxPortInitialiseStack()
182 *pxTopOfStack = ( StackType_t ) 0x18; /* R18 */ in pxPortInitialiseStack()
183 pxTopOfStack--; in pxPortInitialiseStack()
184 *pxTopOfStack = ( StackType_t ) 0x19; /* R19 */ in pxPortInitialiseStack()
185 pxTopOfStack--; in pxPortInitialiseStack()
186 *pxTopOfStack = ( StackType_t ) 0x20; /* R20 */ in pxPortInitialiseStack()
187 pxTopOfStack--; in pxPortInitialiseStack()
188 *pxTopOfStack = ( StackType_t ) 0x21; /* R21 */ in pxPortInitialiseStack()
189 pxTopOfStack--; in pxPortInitialiseStack()
190 *pxTopOfStack = ( StackType_t ) 0x22; /* R22 */ in pxPortInitialiseStack()
191 pxTopOfStack--; in pxPortInitialiseStack()
192 *pxTopOfStack = ( StackType_t ) 0x23; /* R23 */ in pxPortInitialiseStack()
193 pxTopOfStack--; in pxPortInitialiseStack()
194 *pxTopOfStack = ( StackType_t ) 0x24; /* R24 */ in pxPortInitialiseStack()
195 pxTopOfStack--; in pxPortInitialiseStack()
196 *pxTopOfStack = ( StackType_t ) 0x25; /* R25 */ in pxPortInitialiseStack()
197 pxTopOfStack--; in pxPortInitialiseStack()
198 *pxTopOfStack = ( StackType_t ) 0x26; /* R26 X */ in pxPortInitialiseStack()
199 pxTopOfStack--; in pxPortInitialiseStack()
200 *pxTopOfStack = ( StackType_t ) 0x27; /* R27 */ in pxPortInitialiseStack()
201 pxTopOfStack--; in pxPortInitialiseStack()
206 *pxTopOfStack = ( StackType_t ) 0x30; /* R30 Z */ in pxPortInitialiseStack()
207 pxTopOfStack--; in pxPortInitialiseStack()
208 *pxTopOfStack = ( StackType_t ) 0x031; /* R31 */ in pxPortInitialiseStack()
210 pxTopOfStack--; in pxPortInitialiseStack()
211 *pxTopOfStack = portNO_CRITICAL_NESTING; /* Critical nesting is zero when the task starts. */ in pxPortInitialiseStack()
215 return pxTopOfStack; in pxPortInitialiseStack()