From c3e611ecf1e0f6ac5790e56bb0b21d30f5253d15 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 29 May 2022 21:21:46 +0200 Subject: kernel: fix overlapping interrupt / regular stacks --- src/kernel/arch/i386/boot.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 24c076f..743c6d6 100644 --- a/src/kernel/arch/i386/boot.s +++ b/src/kernel/arch/i386/boot.s @@ -2,7 +2,7 @@ .global _start .type _start, @function _start: - mov $_bss_end, %esp // the stack is at the top of bss + mov $_stack_top, %esp call sysenter_setup push %ebx // address of the Multiboot struct call kmain_early -- cgit v1.2.3