This commit is contained in:
Niklas Gollenstede
2025-10-31 22:37:36 +01:00
commit 174fe17e89
197 changed files with 79558 additions and 0 deletions

15
kernel/utils/alloc.cc Normal file
View File

@@ -0,0 +1,15 @@
#include "./alloc.h"
#include "../debug/assert.h"
void *malloc([[maybe_unused]] size_t size) {
assert(!"Memory allocation not supported");
return nullptr;
}
void *calloc([[maybe_unused]] size_t nmemb, [[maybe_unused]] size_t size) {
assert(!"Memory allocation not supported");
return nullptr;
}
void free([[maybe_unused]] void *ptr) {
assert(!"Memory allocation not supported");
}