From d95c714c8cfdc5818b0e0f0c99cf2e5be66de202 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 12 Sep 2021 21:51:10 +0300 Subject: Initial physical page manager + Will probably still need a fair bit of tweakind and documentation improvements, but seems to work outside of the kernel. Also no valgrind errors, which is quite promising I guess. --- include/apos/attrs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/apos/attrs.h') diff --git a/include/apos/attrs.h b/include/apos/attrs.h index e088ec9..ae936d9 100644 --- a/include/apos/attrs.h +++ b/include/apos/attrs.h @@ -3,7 +3,8 @@ #define __section(section) __attribute__((__section__(section))) #define __fmt(x, y) __attribute__((format (__printf__, x, y))) #define __noinline __attribute__((noinline)) -#define __weak __attribute__((weak)) +#define __noreturn __attribute__((noreturn)) #define __packed __attribute__((packed)) +#define __weak __attribute__((weak)) #endif /* APOS_COMPILER_ATTRIBUTES_H */ -- cgit v1.3