Lines Matching +full:- +full:- +full:depth

5  * SPDX-License-Identifier: MIT
38 /*-----------------------------------------------------------
40 *----------------------------------------------------------*/
49 /* NOTE: Interrupt service routines must be in non-banked memory - as does the
61 /* Function in non-banked memory which actually switches to first task. */
65 * critical section should not be left (i.e. interrupts should not be re-enabled)
66 * until the nesting depth reaches 0. This variable simply tracks the nesting
67 * depth. Each task maintains it's own critical nesting depth variable so
70 volatile UBaseType_t uxCriticalNesting = 0x80; /* un-initialized */
72 /*-----------------------------------------------------------*/
88 *--pxTopOfStack = ( StackType_t ) *( ( ( StackType_t * ) ( &pxCode ) ) + 0 ); in pxPortInitialiseStack()
93 *--pxTopOfStack = ( StackType_t ) 0xff; in pxPortInitialiseStack()
94 *--pxTopOfStack = ( StackType_t ) 0xee; in pxPortInitialiseStack()
97 *--pxTopOfStack = ( StackType_t ) 0xdd; in pxPortInitialiseStack()
98 *--pxTopOfStack = ( StackType_t ) 0xcc; in pxPortInitialiseStack()
101 *--pxTopOfStack = ( StackType_t ) *( ( ( StackType_t * ) ( &pvParameters ) ) + 0 ); in pxPortInitialiseStack()
104 *--pxTopOfStack = ( StackType_t ) *( ( ( StackType_t * ) ( &pvParameters ) ) + 1 ); in pxPortInitialiseStack()
108 *--pxTopOfStack = ( StackType_t ) 0x80; /* keeps Stop disabled (MCU default) */ in pxPortInitialiseStack()
112 movw _.frame, 2,-%0 \n\ in pxPortInitialiseStack()
113 movw _.tmp, 2,-%0 \n\ in pxPortInitialiseStack()
114 movw _.z, 2,-%0 \n\ in pxPortInitialiseStack()
115 movw _.xy, 2,-%0 \n\ in pxPortInitialiseStack()
116 ;movw _.d2, 2,-%0 \n\ in pxPortInitialiseStack()
117 ;movw _.d1, 2,-%0 \n\ in pxPortInitialiseStack()
122 *--pxTopOfStack = 0x30; /* can only directly start in PPAGE 0x30 */ in pxPortInitialiseStack()
125 /* The critical nesting depth is initialised with 0 (meaning not in in pxPortInitialiseStack()
127 *--pxTopOfStack = ( StackType_t ) 0x00; in pxPortInitialiseStack()
132 /*-----------------------------------------------------------*/
138 /*-----------------------------------------------------------*/
147 /*-----------------------------------------------------------*/
154 * Instead it simply calls the locally defined xNearStartScheduler() - in xPortStartScheduler()
162 /*-----------------------------------------------------------*/
178 /*-----------------------------------------------------------*/
202 /*-----------------------------------------------------------*/
228 /* Restore the context of a task - which may be a different task in vPortTickInterrupt()