aboutsummaryrefslogtreecommitdiff
path: root/include/apos/init.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/init.h
downloadkmi-565724db3b73ee67fa996dab511dc52df586cee1.tar.gz
kmi-565724db3b73ee67fa996dab511dc52df586cee1.zip
Garbage
Diffstat (limited to 'include/apos/init.h')
-rw-r--r--include/apos/init.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/apos/init.h b/include/apos/init.h
new file mode 100644
index 0000000..1c4bc9d
--- /dev/null
+++ b/include/apos/init.h
@@ -0,0 +1,9 @@
+#ifndef APOS_INIT_H
+#define APOS_INIT_H
+
+#include <apos/compiler_attributes.h>
+
+#define __init __section(".init.text")
+#define __initdata __section(".init.data")
+
+#endif /* APOS_INIT_H */