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.
24 lines
307 B
C++
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();
|
|
}
|