diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-15 15:33:01 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-15 15:38:53 -0500 |
| commit | c7682f5cd382a7690029bf95448bed2fda8ec83a (patch) | |
| tree | 5f6a7839753d0b86258b3dea52cd3d26d439ce00 /sys/arch | |
| parent | 6a509d580fda4e9e78c88afa89b5747e03b7869a (diff) | |
kern: Create C kernel entrypoint
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch')
| -rw-r--r-- | sys/arch/amd64/cpu/boot.S | 2 |
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 |
