Lines Matching +full:hart +full:- +full:1
1 /* SPDX-License-Identifier: GPL-2.0-only */
6 #include <asm/asm-offsets.h>
18 #include "efi-header.S"
23 * Image header expected by Linux boot-loaders. The image header data
32 c.li s4,-13
42 /* Image load offset (0MB) from start of RAM for M-mode */
54 .dword _end - _start
63 .word pe_head_start - _start
84 la a2, 1f
108 1:
174 * Park this hart if we:
175 * - have too many harts on CONFIG_RISCV_BOOT_SPINWAIT
176 * - receive an early trap, before setup_trap_vector finished
177 * - fail in smp_callin(), as a successful one wouldn't return
217 li a0, -1
249 /* Pick one hart to run the main boot sequence */
251 li a2, 1
282 /* Clear BSS for flat non-ELF images */
300 addi sp, sp, -PT_SIZE_ON_STACK
322 addi sp, sp, -PT_SIZE_ON_STACK
347 * This hart didn't win the lottery, so we wait for the winning hart to