From c1d3ac750b8483c9a942d2fb5d5b7245d014e905 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 13 Jul 2024 23:37:37 +0200 Subject: kernel/malloc: limit the maximum allocation size to under a page This will likely be changed back, but for the time being it will let me implement a better allocator without too much effort. --- src/libk/include/assert.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libk/include/assert.h') diff --git a/src/libk/include/assert.h b/src/libk/include/assert.h index affe1dc..c85d096 100644 --- a/src/libk/include/assert.h +++ b/src/libk/include/assert.h @@ -9,4 +9,6 @@ #define assert(stmt) (0) #endif +#define static_assert _Static_assert + _Noreturn void __badassert(const char *func, const char *file, int line); -- cgit v1.2.3