From d6e3c058d62befd034ec47cbcd57ae02d97ba1db Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 19 Sep 2021 21:20:11 +0200 Subject: call sysenter_setup before kmain_early makes the code slightly simpler, imo --- src/kernel/arch/i386/boot.s | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/arch/i386/boot.s') diff --git a/src/kernel/arch/i386/boot.s b/src/kernel/arch/i386/boot.s index e6eb26f..0101b40 100644 --- a/src/kernel/arch/i386/boot.s +++ b/src/kernel/arch/i386/boot.s @@ -3,6 +3,7 @@ .type _start, @function _start: mov $_bss_end, %esp // the stack is at the top of bss + call sysenter_setup push %ebx // address of the Multiboot struct call kmain_early -- cgit v1.2.3