mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-03-15 19:31:32 +00:00
Add a hang message
Make it clear that the end of the FW execution was reached without the hand being passed to any payload. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
This commit is contained in:
parent
84df181c84
commit
9c183df632
1 changed files with 2 additions and 0 deletions
|
@ -196,6 +196,8 @@ int sbi_hart_init(struct sbi_scratch *scratch, u32 hartid)
|
|||
|
||||
void __attribute__((noreturn)) sbi_hart_hang(void)
|
||||
{
|
||||
sbi_printf("\nHang !!\n");
|
||||
|
||||
while (1)
|
||||
wfi();
|
||||
__builtin_unreachable();
|
||||
|
|
Loading…
Add table
Reference in a new issue