Lines Matching refs:pxTopOfStack
86 StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParam… in pxPortInitialiseStack() argument
90 pxOriginalTOS = pxTopOfStack; in pxPortInitialiseStack()
94 pxTopOfStack--; in pxPortInitialiseStack()
102 *pxTopOfStack = ( StackType_t ) pxCode + portINSTRUCTION_SIZE; in pxPortInitialiseStack()
103 pxTopOfStack--; in pxPortInitialiseStack()
105 *pxTopOfStack = ( StackType_t ) 0x00000000; /* R14 */ in pxPortInitialiseStack()
106 pxTopOfStack--; in pxPortInitialiseStack()
107 *pxTopOfStack = ( StackType_t ) pxOriginalTOS; /* Stack used when task starts goes in R13. */ in pxPortInitialiseStack()
108 pxTopOfStack--; in pxPortInitialiseStack()
109 *pxTopOfStack = ( StackType_t ) 0x12121212; /* R12 */ in pxPortInitialiseStack()
110 pxTopOfStack--; in pxPortInitialiseStack()
111 *pxTopOfStack = ( StackType_t ) 0x11111111; /* R11 */ in pxPortInitialiseStack()
112 pxTopOfStack--; in pxPortInitialiseStack()
113 *pxTopOfStack = ( StackType_t ) 0x10101010; /* R10 */ in pxPortInitialiseStack()
114 pxTopOfStack--; in pxPortInitialiseStack()
115 *pxTopOfStack = ( StackType_t ) 0x09090909; /* R9 */ in pxPortInitialiseStack()
116 pxTopOfStack--; in pxPortInitialiseStack()
117 *pxTopOfStack = ( StackType_t ) 0x08080808; /* R8 */ in pxPortInitialiseStack()
118 pxTopOfStack--; in pxPortInitialiseStack()
119 *pxTopOfStack = ( StackType_t ) 0x07070707; /* R7 */ in pxPortInitialiseStack()
120 pxTopOfStack--; in pxPortInitialiseStack()
121 *pxTopOfStack = ( StackType_t ) 0x06060606; /* R6 */ in pxPortInitialiseStack()
122 pxTopOfStack--; in pxPortInitialiseStack()
123 *pxTopOfStack = ( StackType_t ) 0x05050505; /* R5 */ in pxPortInitialiseStack()
124 pxTopOfStack--; in pxPortInitialiseStack()
125 *pxTopOfStack = ( StackType_t ) 0x04040404; /* R4 */ in pxPortInitialiseStack()
126 pxTopOfStack--; in pxPortInitialiseStack()
127 *pxTopOfStack = ( StackType_t ) 0x03030303; /* R3 */ in pxPortInitialiseStack()
128 pxTopOfStack--; in pxPortInitialiseStack()
129 *pxTopOfStack = ( StackType_t ) 0x02020202; /* R2 */ in pxPortInitialiseStack()
130 pxTopOfStack--; in pxPortInitialiseStack()
131 *pxTopOfStack = ( StackType_t ) 0x01010101; /* R1 */ in pxPortInitialiseStack()
132 pxTopOfStack--; in pxPortInitialiseStack()
136 *pxTopOfStack = ( StackType_t ) pvParameters; /* R0 */ in pxPortInitialiseStack()
137 pxTopOfStack--; in pxPortInitialiseStack()
141 *pxTopOfStack = ( StackType_t ) portINITIAL_SPSR; in pxPortInitialiseStack()
146 *pxTopOfStack |= portTHUMB_MODE_BIT; in pxPortInitialiseStack()
150 pxTopOfStack--; in pxPortInitialiseStack()
156 *pxTopOfStack = portNO_CRITICAL_SECTION_NESTING; in pxPortInitialiseStack()
158 return pxTopOfStack; in pxPortInitialiseStack()