Make hang() noreturn

This commit is contained in:
apio 2022-09-06 12:12:55 +02:00
parent 99192204fe
commit 003c730117
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#pragma once
void hang();
[[noreturn]] void hang();
void halt();

View File

@ -1,6 +1,6 @@
#include "panic/hang.h"
void hang()
[[noreturn]] void hang()
{
asm volatile("cli");
end: