aboutsummaryrefslogtreecommitdiff
path: root/src/boot.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot.s')
-rw-r--r--src/boot.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/boot.s b/src/boot.s
index bb446d8..2286152 100644
--- a/src/boot.s
+++ b/src/boot.s
@@ -41,6 +41,8 @@ stack_top:
bootloader will jump to this position once the kernel has been loaded.
*/
.section .text
+.extern kernel_constructors
+.extern kernel_main
.global _start
.type _start, @function
_start:
@@ -59,6 +61,7 @@ _start:
pushl %ebx # push the pointer to the multiboot structure
pushl %eax # push the multiboot magic value
+ call kernel_constructors
/*
Enter the high-level kernel. The ABI requires the stack is 16-byte