Searched refs:stack (Results 1 - 25 of 29) sorted by relevance

12

/u-boot/test/py/tests/
H A Dtest_dm.py31 stack = [] # holds where we were up to at the previous indent level
43 if indent > len(stack):
44 stack.append(prev)
46 elif indent < len(stack):
47 prev = stack.pop()
52 print('indent', cur >= prev, indent, prev, cur, stack)
/u-boot/arch/arm/include/asm/proc-armv/
H A Dprocessor.h50 unsigned long *stack = (unsigned long *)sp; \
59 regs->ARM_r2 = stack[2]; /* r2 (envp) */ \
60 regs->ARM_r1 = stack[1]; /* r1 (argv) */ \
61 regs->ARM_r0 = stack[0]; /* r0 (argc) */ \
69 * NOTE! The task struct and the stack go together
/u-boot/arch/arm/mach-imx/
H A Dimx_bootaux.c49 static u32 load_elf_image_m_core_phdr(unsigned long addr, u32 *stack) argument
83 *stack = *(uint32_t *)src;
99 u32 stack, pc; local
109 pc = load_elf_image_m_core_phdr(addr, &stack);
114 stack = 0x0;
118 * Cortex-M4 vector tables start with the stack pointer (SP)
121 stack = *(u32 *)addr;
125 printf("## Starting auxiliary core stack = 0x%08X, pc = 0x%08X...\n",
126 stack, pc);
128 /* Set the stack an
[all...]
/u-boot/arch/x86/lib/fsp1/
H A Dfsp_common.c48 int stack = CONFIG_FSP_TEMP_RAM_ADDR; local
82 stack = cmos_read32(CMOS_FSP_STACK_ADDR);
91 fsp_init(stack, boot_mode, nvs);
/u-boot/arch/arm/lib/
H A Dvectors.S171 /* IRQ stack memory (calculated at run-time) + 8 bytes */
181 @ IRQ stack frame.
214 @ carve out a frame on current user stack
220 add r0, sp, #S_FRAME_SIZE @ grab pointer to old stack
224 mov r0, sp @ save current stack into r0 (param register)
230 @ !!!! R8 NEEDS to be saved !!!! a reserved stack spot would be good.
249 ldr r13, IRQ_STACK_START_IN @ setup our mode stack
251 str lr, [r13] @ save caller lr in position 0 of saved stack
253 str lr, [r13, #4] @ save spsr in position 1 of saved stack
262 sub r13, r13, #4 @ space on current stack fo
[all...]
H A Dvectors_m.S39 .long SYS_INIT_SP_ADDR @ 0 - Reset stack pointer
H A DMakefile63 obj-y += stack.o
/u-boot/scripts/
H A Dcheckstack.pl3 # Check the stack usage of functions
28 # $& (whole re) matches the complete objdump line with the stack growth
29 # $1 (first bracket) matches the size of the stack growth
31 # $dre is similar, but for dynamic stack redutions:
32 # $& (whole re) matches the complete objdump line with the stack growth
33 # $1 (first bracket) matches the dynamic amount of the stack growth
36 my (@stack, $re, $dre, $x, $xs, $funcre);
150 push @stack, "$intro$size\n";
166 push @stack, "$intro$size\n";
171 print sort { ($b =~ /:\t*(\d+)$/)[0] <=> ($a =~ /:\t*(\d+)$/)[0] } @stack;
[all...]
/u-boot/arch/mips/lib/
H A DMakefile10 obj-y += stack.o
/u-boot/scripts/kconfig/
H A Dsymbol.c1005 * When we check for recursive dependencies we use a stack to save
1007 * The entries are located on the call stack so no need to free memory.
1008 * Note insert() remove() must always match to properly clear the stack.
1017 static void dep_stack_insert(struct dep_stack *stack, struct symbol *sym) argument
1019 memset(stack, 0, sizeof(*stack));
1021 check_top->next = stack;
1022 stack->prev = check_top;
1023 stack->sym = sym;
1024 check_top = stack;
1041 struct dep_stack *stack; local
1167 struct dep_stack stack; local
1216 struct dep_stack stack; local
1261 struct dep_stack stack; local
[all...]
/u-boot/boot/
H A Dfdt_region.c37 int stack[FDT_MAX_DEPTH] = { 0 }; local
99 stack[depth] = want;
116 want = stack[depth--];
299 * @depth: Current stack depth
320 * Work down the stack looking for supernodes that we didn't include.
323 * marked them as included (on the stack) already.
326 if (!info->stack[i].included) {
327 start = info->stack[i].offset;
335 info->stack[i].included = 1;
340 if (!info->stack[
[all...]
H A Dscene_menu.c75 const bool stack = scn->expo->popup; local
95 if (stack) {
176 const bool stack = exp->popup; local
194 if (stack)
234 stack && !open && !selected);
265 if (!stack || open)
/u-boot/arch/arm/include/asm/
H A Dprocessor.h123 #define init_stack (init_task_union.stack)
/u-boot/include/
H A Dfdt_region.h73 struct fdt_subnode_stack stack[FDT_MAX_DEPTH]; /* node stack */ member in struct:fdt_region_state
/u-boot/arch/powerpc/lib/
H A DMakefile42 obj-y += stack.o
/u-boot/examples/standalone/
H A Dsched.c51 char stack[STK_SIZE]; member in struct:lthread
278 PDEBUG ("thread_start: to be stack=0%08x",
279 (unsigned)lthreads[id].stack);
280 setctxsp ((vu_char *)&lthreads[id].stack[STK_SIZE]);
/u-boot/arch/arm/cpu/armv7/
H A Dpsci.S259 @ the stack for CPU0 has the highest memory address.
265 @ | CPU0 stack |
274 @ This expects CPU ID in r0 and returns stack top in r0
276 @ stack top = __secure_stack_end - (cpuid << ARM_PSCI_STACK_SHIFT)
290 bl psci_get_cpu_stack_top @ stack top => r0
H A Dnonsec_virt.S51 @ Obtain a secure stack
161 * Do not assume that the stack is available and only use registers
/u-boot/arch/xtensa/cpu/
H A Dstart.S298 /* We can't movsp here, because the chain of stack frames may cross
300 * the current, create new pristine stack frame and start from scratch.
333 * to the wrong stack (exception stack) while executing the exception
382 addi a1, a1, -16 - 4 # create a small stack frame
389 /* Create ptrace stack and save a0...a3 */
439 /* Setup stack, PS.WOE = 1, PS.EXCM = 0, PS.INTLEVEL = EXCM level. */
458 mov a2, a1 # Provide stack frame as only argument
462 mov a6, a1 # Provide stack frame as only argument
528 l32i a1, a1, PT_AREG + 1 * 4 # Remove ptrace stack fram
[all...]
/u-boot/arch/x86/cpu/
H A Dmp_init.c329 char *stack; local
354 stack = memalign(4096, size);
355 if (!stack)
357 params->stack_top = (u32)(stack + size);
/u-boot/arch/arm/mach-uniphier/arm32/
H A Dlowlevel_init.S31 bl setup_init_ram @ RAM area for stack and page table
/u-boot/test/py/
H A Du_boot_utils.py277 frame = inspect.stack()[1]
/u-boot/tools/
H A Dproftool.c124 * struct flame_node - a node in the call-stack tree
126 * Each stack frame detected in the trace is given a node corresponding to a
127 * function call in the call stack. Functions can appear multiple times when
130 * @parent: Parent node (the call stack for the function that called this one)
134 * @count: Number of times this call-stack occurred
151 * @stack: Stack of call-start time for this function as well as the
153 * function's call time. This is an 'empty' stack, meaning that @stack_ptr
154 * points to the next available stack position
155 * @stack_ptr: points to first empty position in the stack
163 } stack[MAX_STACK_DEPT member in struct:flame_state
[all...]
H A Dqconfig.py141 with ExitStack() as stack:
146 inf = stack.enter_context(open(defconfigs_file, encoding='utf-8'))
/u-boot/common/
H A Dcli_hush.c204 struct p_context *stack; member in struct:p_context
824 * (pointer only is OK!) on this stack frame,
2359 ctx->stack=NULL;
2405 debug_printf("push stack\n");
2415 ctx->stack=new;
2426 debug_printf("pop stack\n");
2428 old = ctx->stack;
2969 dest->quote, ctx->stack == NULL ? '*' : '.');
3235 free(ctx.stack);

Completed in 483 milliseconds

12