mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:17:45 +00:00
Kernel: Remove unused aarch64 Prekernel::panic() function
This commit is contained in:
parent
f8e4eecbfb
commit
771d0719ea
2 changed files with 0 additions and 12 deletions
|
@ -11,8 +11,6 @@ namespace Prekernel {
|
|||
void drop_to_exception_level_1();
|
||||
void init_prekernel_page_tables();
|
||||
|
||||
[[noreturn]] void panic(char const* msg);
|
||||
|
||||
[[noreturn]] void halt();
|
||||
|
||||
}
|
||||
|
|
|
@ -11,16 +11,6 @@
|
|||
|
||||
namespace Prekernel {
|
||||
|
||||
[[noreturn]] void panic(char const* msg)
|
||||
{
|
||||
auto& uart = Prekernel::UART::the();
|
||||
|
||||
while (*msg)
|
||||
uart.send(*msg++);
|
||||
|
||||
Prekernel::halt();
|
||||
}
|
||||
|
||||
[[noreturn]] void halt()
|
||||
{
|
||||
for (;;) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue