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