Lines Matching +full:hart +full:- +full:2
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 */
46 /* Image load offset(2MB) from start of RAM */
54 .dword _end - _start
63 .word pe_head_start - _start
71 .align 2
107 .align 2
171 .align 2
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
182 .align 2
217 li a0, -1
221 .align 2
249 /* Pick one hart to run the main boot sequence */
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