Files
serenity/Kernel/Prekernel/Runtime.cpp
Liav A. 00c9a57345 Prekernel: Add stub methods to handle memory allocations
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.
2024-06-29 19:56:45 +02:00

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();
}