From c7682f5cd382a7690029bf95448bed2fda8ec83a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 15 Nov 2025 15:33:01 -0500 Subject: kern: Create C kernel entrypoint Signed-off-by: Ian Moffett --- sys/arch/amd64/cpu/boot.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/arch/amd64/cpu/boot.S') 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 -- cgit v1.2.3