mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:17:34 +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 drop_to_exception_level_1();
|
||||||
void init_prekernel_page_tables();
|
void init_prekernel_page_tables();
|
||||||
|
|
||||||
[[noreturn]] void panic(char const* msg);
|
|
||||||
|
|
||||||
[[noreturn]] void halt();
|
[[noreturn]] void halt();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,16 +11,6 @@
|
||||||
|
|
||||||
namespace Prekernel {
|
namespace Prekernel {
|
||||||
|
|
||||||
[[noreturn]] void panic(char const* msg)
|
|
||||||
{
|
|
||||||
auto& uart = Prekernel::UART::the();
|
|
||||||
|
|
||||||
while (*msg)
|
|
||||||
uart.send(*msg++);
|
|
||||||
|
|
||||||
Prekernel::halt();
|
|
||||||
}
|
|
||||||
|
|
||||||
[[noreturn]] void halt()
|
[[noreturn]] void halt()
|
||||||
{
|
{
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue