Lines Matching refs:pxTopOfStack

67 StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParam…  in pxPortInitialiseStack()  argument
71 pxOriginalTOS = pxTopOfStack; in pxPortInitialiseStack()
75 pxTopOfStack--; in pxPortInitialiseStack()
83 *pxTopOfStack = ( StackType_t ) pxCode + portINSTRUCTION_SIZE; in pxPortInitialiseStack()
84 pxTopOfStack--; in pxPortInitialiseStack()
86 *pxTopOfStack = ( StackType_t ) 0xaaaaaaaa; /* R14 */ in pxPortInitialiseStack()
87 pxTopOfStack--; in pxPortInitialiseStack()
88 *pxTopOfStack = ( StackType_t ) pxOriginalTOS; /* Stack used when task starts goes in R13. */ in pxPortInitialiseStack()
89 pxTopOfStack--; in pxPortInitialiseStack()
90 *pxTopOfStack = ( StackType_t ) 0x12121212; /* R12 */ in pxPortInitialiseStack()
91 pxTopOfStack--; in pxPortInitialiseStack()
92 *pxTopOfStack = ( StackType_t ) 0x11111111; /* R11 */ in pxPortInitialiseStack()
93 pxTopOfStack--; in pxPortInitialiseStack()
94 *pxTopOfStack = ( StackType_t ) 0x10101010; /* R10 */ in pxPortInitialiseStack()
95 pxTopOfStack--; in pxPortInitialiseStack()
96 *pxTopOfStack = ( StackType_t ) 0x09090909; /* R9 */ in pxPortInitialiseStack()
97 pxTopOfStack--; in pxPortInitialiseStack()
98 *pxTopOfStack = ( StackType_t ) 0x08080808; /* R8 */ in pxPortInitialiseStack()
99 pxTopOfStack--; in pxPortInitialiseStack()
100 *pxTopOfStack = ( StackType_t ) 0x07070707; /* R7 */ in pxPortInitialiseStack()
101 pxTopOfStack--; in pxPortInitialiseStack()
102 *pxTopOfStack = ( StackType_t ) 0x06060606; /* R6 */ in pxPortInitialiseStack()
103 pxTopOfStack--; in pxPortInitialiseStack()
104 *pxTopOfStack = ( StackType_t ) 0x05050505; /* R5 */ in pxPortInitialiseStack()
105 pxTopOfStack--; in pxPortInitialiseStack()
106 *pxTopOfStack = ( StackType_t ) 0x04040404; /* R4 */ in pxPortInitialiseStack()
107 pxTopOfStack--; in pxPortInitialiseStack()
108 *pxTopOfStack = ( StackType_t ) 0x03030303; /* R3 */ in pxPortInitialiseStack()
109 pxTopOfStack--; in pxPortInitialiseStack()
110 *pxTopOfStack = ( StackType_t ) 0x02020202; /* R2 */ in pxPortInitialiseStack()
111 pxTopOfStack--; in pxPortInitialiseStack()
112 *pxTopOfStack = ( StackType_t ) 0x01010101; /* R1 */ in pxPortInitialiseStack()
113 pxTopOfStack--; in pxPortInitialiseStack()
117 *pxTopOfStack = ( StackType_t ) pvParameters; /* R0 */ in pxPortInitialiseStack()
118 pxTopOfStack--; in pxPortInitialiseStack()
121 *pxTopOfStack = ( StackType_t ) portINITIAL_SPSR; in pxPortInitialiseStack()
126 *pxTopOfStack |= portTHUMB_MODE_BIT; in pxPortInitialiseStack()
130 pxTopOfStack--; in pxPortInitialiseStack()
135 *pxTopOfStack = portNO_CRITICAL_NESTING; in pxPortInitialiseStack()
137 return pxTopOfStack; in pxPortInitialiseStack()