Files
serenity/Kernel/Prekernel/kmalloc.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

24 lines
307 B
C++

/*
* Copyright (c) 2024, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/kmalloc.h>
#include <Kernel/Prekernel/Runtime.h>
void kfree_sized(void*, size_t)
{
halt();
}
void* kmalloc(size_t)
{
halt();
}
size_t kmalloc_good_size(size_t)
{
halt();
}