diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-10-10 23:03:20 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-10-10 23:03:20 +0300 |
| commit | d2ff961a2a08229e1f2245e8dba9b2275016133c (patch) | |
| tree | cffab8f0586b05a059715b2fa9676b8310bd297e /include/apos/attrs.h | |
| parent | b30ee14270a44e48167934b9b3923b4280bdc855 (diff) | |
| download | kmi-d2ff961a2a08229e1f2245e8dba9b2275016133c.tar.gz kmi-d2ff961a2a08229e1f2245e8dba9b2275016133c.zip | |
Prepare proper jump to kernel
Diffstat (limited to 'include/apos/attrs.h')
| -rw-r--r-- | include/apos/attrs.h | 2 |
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 */ |
