Lines Matching refs:pxTopOfStack
89 StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParam… in pxPortInitialiseStack() argument
100 *pxTopOfStack = ( StackType_t ) 0x11111111; in pxPortInitialiseStack()
101 pxTopOfStack--; in pxPortInitialiseStack()
102 *pxTopOfStack = ( StackType_t ) 0x22222222; in pxPortInitialiseStack()
103 pxTopOfStack--; in pxPortInitialiseStack()
104 *pxTopOfStack = ( StackType_t ) 0x33333333; in pxPortInitialiseStack()
105 pxTopOfStack--; in pxPortInitialiseStack()
109 *pxTopOfStack = ( StackType_t ) 0x00; /* R0. */ in pxPortInitialiseStack()
112 pxTopOfStack--; in pxPortInitialiseStack()
113 *pxTopOfStack = ( StackType_t ) ulR2; /* R2 - small data area. */ in pxPortInitialiseStack()
114 pxTopOfStack--; in pxPortInitialiseStack()
115 *pxTopOfStack = ( StackType_t ) 0x03; /* R3. */ in pxPortInitialiseStack()
116 pxTopOfStack--; in pxPortInitialiseStack()
117 *pxTopOfStack = ( StackType_t ) 0x04; /* R4. */ in pxPortInitialiseStack()
118 pxTopOfStack--; in pxPortInitialiseStack()
119 *pxTopOfStack = ( StackType_t ) pvParameters;/* R5 contains the function call parameters. */ in pxPortInitialiseStack()
120 pxTopOfStack--; in pxPortInitialiseStack()
121 *pxTopOfStack = ( StackType_t ) 0x06; /* R6. */ in pxPortInitialiseStack()
122 pxTopOfStack--; in pxPortInitialiseStack()
123 *pxTopOfStack = ( StackType_t ) 0x07; /* R7. */ in pxPortInitialiseStack()
124 pxTopOfStack--; in pxPortInitialiseStack()
125 *pxTopOfStack = ( StackType_t ) 0x08; /* R8. */ in pxPortInitialiseStack()
126 pxTopOfStack--; in pxPortInitialiseStack()
127 *pxTopOfStack = ( StackType_t ) 0x09; /* R9. */ in pxPortInitialiseStack()
128 pxTopOfStack--; in pxPortInitialiseStack()
129 *pxTopOfStack = ( StackType_t ) 0x0a; /* R10. */ in pxPortInitialiseStack()
130 pxTopOfStack--; in pxPortInitialiseStack()
131 *pxTopOfStack = ( StackType_t ) 0x0b; /* R11. */ in pxPortInitialiseStack()
132 pxTopOfStack--; in pxPortInitialiseStack()
133 *pxTopOfStack = ( StackType_t ) 0x0c; /* R12. */ in pxPortInitialiseStack()
134 pxTopOfStack--; in pxPortInitialiseStack()
135 *pxTopOfStack = ( StackType_t ) ulR13; /* R13 - small data read write area. */ in pxPortInitialiseStack()
136 pxTopOfStack--; in pxPortInitialiseStack()
137 *pxTopOfStack = ( StackType_t ) pxCode; /* R14. */ in pxPortInitialiseStack()
138 pxTopOfStack--; in pxPortInitialiseStack()
139 *pxTopOfStack = ( StackType_t ) 0x0f; /* R15. */ in pxPortInitialiseStack()
140 pxTopOfStack--; in pxPortInitialiseStack()
141 *pxTopOfStack = ( StackType_t ) 0x10; /* R16. */ in pxPortInitialiseStack()
142 pxTopOfStack--; in pxPortInitialiseStack()
143 *pxTopOfStack = ( StackType_t ) 0x11; /* R17. */ in pxPortInitialiseStack()
144 pxTopOfStack--; in pxPortInitialiseStack()
145 *pxTopOfStack = ( StackType_t ) 0x12; /* R18. */ in pxPortInitialiseStack()
146 pxTopOfStack--; in pxPortInitialiseStack()
147 *pxTopOfStack = ( StackType_t ) 0x13; /* R19. */ in pxPortInitialiseStack()
148 pxTopOfStack--; in pxPortInitialiseStack()
149 *pxTopOfStack = ( StackType_t ) 0x14; /* R20. */ in pxPortInitialiseStack()
150 pxTopOfStack--; in pxPortInitialiseStack()
151 *pxTopOfStack = ( StackType_t ) 0x15; /* R21. */ in pxPortInitialiseStack()
152 pxTopOfStack--; in pxPortInitialiseStack()
153 *pxTopOfStack = ( StackType_t ) 0x16; /* R22. */ in pxPortInitialiseStack()
154 pxTopOfStack--; in pxPortInitialiseStack()
155 *pxTopOfStack = ( StackType_t ) 0x17; /* R23. */ in pxPortInitialiseStack()
156 pxTopOfStack--; in pxPortInitialiseStack()
157 *pxTopOfStack = ( StackType_t ) 0x18; /* R24. */ in pxPortInitialiseStack()
158 pxTopOfStack--; in pxPortInitialiseStack()
159 *pxTopOfStack = ( StackType_t ) 0x19; /* R25. */ in pxPortInitialiseStack()
160 pxTopOfStack--; in pxPortInitialiseStack()
161 *pxTopOfStack = ( StackType_t ) 0x1a; /* R26. */ in pxPortInitialiseStack()
162 pxTopOfStack--; in pxPortInitialiseStack()
163 *pxTopOfStack = ( StackType_t ) 0x1b; /* R27. */ in pxPortInitialiseStack()
164 pxTopOfStack--; in pxPortInitialiseStack()
165 *pxTopOfStack = ( StackType_t ) 0x1c; /* R28. */ in pxPortInitialiseStack()
166 pxTopOfStack--; in pxPortInitialiseStack()
167 *pxTopOfStack = ( StackType_t ) 0x1d; /* R29. */ in pxPortInitialiseStack()
168 pxTopOfStack--; in pxPortInitialiseStack()
169 *pxTopOfStack = ( StackType_t ) 0x1e; /* R30. */ in pxPortInitialiseStack()
170 pxTopOfStack--; in pxPortInitialiseStack()
173 *pxTopOfStack = portINITIAL_MSR_STATE; in pxPortInitialiseStack()
174 pxTopOfStack--; in pxPortInitialiseStack()
176 *pxTopOfStack = ( StackType_t ) 0x1f; /* R31. */ in pxPortInitialiseStack()
177 pxTopOfStack--; in pxPortInitialiseStack()
181 return pxTopOfStack; in pxPortInitialiseStack()