Make hang() noreturn
This commit is contained in:
parent
99192204fe
commit
003c730117
@ -1,4 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
void hang();
|
||||
[[noreturn]] void hang();
|
||||
void halt();
|
@ -1,6 +1,6 @@
|
||||
#include "panic/hang.h"
|
||||
|
||||
void hang()
|
||||
[[noreturn]] void hang()
|
||||
{
|
||||
asm volatile("cli");
|
||||
end:
|
||||
|
Loading…
Reference in New Issue
Block a user