summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/boot.s
diff options
context:
space:
mode:
authordzwdz2022-05-29 21:21:46 +0200
committerdzwdz2022-05-29 21:21:46 +0200
commitc3e611ecf1e0f6ac5790e56bb0b21d30f5253d15 (patch)
treee47b9d9ba7489c7510498895620217c9e6514e5b /src/kernel/arch/i386/boot.s
parenta6ed7a20a823e67c19b93309706c57ddee1933c6 (diff)
kernel: fix overlapping interrupt / regular stacks
Diffstat (limited to 'src/kernel/arch/i386/boot.s')
-rw-r--r--src/kernel/arch/i386/boot.s2
1 files changed, 1 insertions, 1 deletions
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