From d2ff961a2a08229e1f2245e8dba9b2275016133c Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 10 Oct 2021 23:03:20 +0300 Subject: Prepare proper jump to kernel --- include/apos/attrs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/apos/attrs.h') diff --git a/include/apos/attrs.h b/include/apos/attrs.h index ae936d9..469b7bd 100644 --- a/include/apos/attrs.h +++ b/include/apos/attrs.h @@ -7,4 +7,6 @@ #define __packed __attribute__((packed)) #define __weak __attribute__((weak)) +#define __main __section(".kernel.start") __noinline + #endif /* APOS_COMPILER_ATTRIBUTES_H */ -- cgit v1.3