summaryrefslogtreecommitdiff
path: root/src/libk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libk')
-rw-r--r--src/libk/include/assert.h2
-rw-r--r--src/libk/include/camellia/execbuf.h2
2 files changed, 3 insertions, 1 deletions
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);
diff --git a/src/libk/include/camellia/execbuf.h b/src/libk/include/camellia/execbuf.h
index de7ae3b..8ffabad 100644
--- a/src/libk/include/camellia/execbuf.h
+++ b/src/libk/include/camellia/execbuf.h
@@ -1,7 +1,7 @@
#pragma once
/* the instruction format is bound to change, atm it's extremely inefficient */
-#define EXECBUF_MAX_LEN 4096
+#define EXECBUF_MAX_LEN 2048
/* takes 6 arguments */
#define EXECBUF_SYSCALL 0xF0000001