mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
3dea63c844
On RISC-V, all harts boot independently. To be able to run on a multi-hart system, U-Boot must be extended with the functionality to manage all harts in the system. All harts entering U-Boot are registered in the available_harts mask stored in global data. A hart lottery system as used in the Linux kernel selects the hart U-Boot runs on. All other harts are halted. U-Boot can delegate functions to them using smp_call_function(). Every hart has a valid pointer to the global data structure and a 8KiB stack by default. The stack size is set with CONFIG_STACK_SIZE_SHIFT. Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> |
||
---|---|---|
.. | ||
arch-generic | ||
barrier.h | ||
bitops.h | ||
byteorder.h | ||
cache.h | ||
config.h | ||
csr.h | ||
dma-mapping.h | ||
encoding.h | ||
global_data.h | ||
io.h | ||
linkage.h | ||
posix_types.h | ||
processor.h | ||
ptrace.h | ||
sbi.h | ||
sections.h | ||
setjmp.h | ||
smp.h | ||
string.h | ||
syscon.h | ||
system.h | ||
types.h | ||
u-boot-riscv.h | ||
u-boot.h | ||
unaligned.h |