aboutsummaryrefslogtreecommitdiff
path: root/include/apos/attrs.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-10-10 23:03:20 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2021-10-10 23:03:20 +0300
commitd2ff961a2a08229e1f2245e8dba9b2275016133c (patch)
treecffab8f0586b05a059715b2fa9676b8310bd297e /include/apos/attrs.h
parentb30ee14270a44e48167934b9b3923b4280bdc855 (diff)
downloadkmi-d2ff961a2a08229e1f2245e8dba9b2275016133c.tar.gz
kmi-d2ff961a2a08229e1f2245e8dba9b2275016133c.zip
Prepare proper jump to kernel
Diffstat (limited to 'include/apos/attrs.h')
-rw-r--r--include/apos/attrs.h2
1 files changed, 2 insertions, 0 deletions
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 */