summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/cpu/boot.S
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/cpu/boot.S')
-rw-r--r--sys/arch/amd64/cpu/boot.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/amd64/cpu/boot.S b/sys/arch/amd64/cpu/boot.S
index 1d21572..12ba9e4 100644
--- a/sys/arch/amd64/cpu/boot.S
+++ b/sys/arch/amd64/cpu/boot.S
@@ -48,6 +48,8 @@ _start:
lea bootmsg(%rip), %rdi
movq bootmsg_len, %rsi
call uart_write
+
+ call kmain /* Call our kernel entrypoint */
1: cli
hlt
jmp 1b