aboutsummaryrefslogtreecommitdiff
path: root/include/apos/main.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-08-17 21:47:38 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2021-08-17 21:49:16 +0300
commit565724db3b73ee67fa996dab511dc52df586cee1 (patch)
treed3bd77006c2c57aa961f85c4fc677bd72f6251ae /include/apos/main.h
downloadkmi-565724db3b73ee67fa996dab511dc52df586cee1.tar.gz
kmi-565724db3b73ee67fa996dab511dc52df586cee1.zip
Garbage
Diffstat (limited to 'include/apos/main.h')
-rw-r--r--include/apos/main.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/apos/main.h b/include/apos/main.h
new file mode 100644
index 0000000..1cea533
--- /dev/null
+++ b/include/apos/main.h
@@ -0,0 +1,8 @@
+#ifndef APOS_MAIN_H
+#define APOS_MAIN_H
+
+#include <apos/compiler_attributes.h>
+
+#define __main __section(".text.start") __noinline
+
+#endif /* APOS_MAIN_H */