diff options
Diffstat (limited to 'kern/init.h')
-rw-r--r-- | kern/init.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kern/init.h b/kern/init.h index d15d9503..8f1cacf8 100644 --- a/kern/init.h +++ b/kern/init.h @@ -16,8 +16,6 @@ * * * Init sections and operations. - * - * TODO Make the x86 linker script use macros from this header. */ #ifndef _KERN_INIT_H @@ -36,6 +34,12 @@ */ #define INIT_OPS_SECTION .init.ops +/* + * Alignment is important to make sure initialization operations are + * stored as a C array in the reserved init op section. + */ +#define INIT_OP_ALIGN 64 + #ifndef __ASSEMBLER__ #include <kern/error.h> |