mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-08 16:12:23 +02:00
These methods do basically nothing right now, because we don't allocate memory in the prekernel stage. It's only here for a later commit when we bring up assertion formatting and printing.
14 lines
216 B
C++
14 lines
216 B
C++
/*
|
|
* Copyright (c) 2024, Liav A. <liavalb@hotmail.co.il>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <Kernel/Prekernel/Runtime.h>
|
|
|
|
void halt()
|
|
{
|
|
asm volatile("hlt");
|
|
__builtin_unreachable();
|
|
}
|