From 4b8518b4e791c68154ec52badcc921b62afafb49 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 28 Apr 2020 18:32:36 +0200 Subject: Maaaany fixes... Sorry for the increasingly worse-getting commit messages :D --- src/kernel/boot.asm | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/kernel/boot.asm') diff --git a/src/kernel/boot.asm b/src/kernel/boot.asm index 363f76a..cc9c674 100644 --- a/src/kernel/boot.asm +++ b/src/kernel/boot.asm @@ -26,20 +26,19 @@ section .start_section dd _start ; Initialize stack -section .bss - align 16 - global STACK_BOTTOM - global STACK_TOP - - STACK_BOTTOM: - resb 0x4000 - STACK_TOP: +;section .bss +; align 16 +; +; STACK_BOTTOM: +; resb 0x4000 +; STACK_TOP: section .text global _start extern kernel_main _start: - mov esp, STACK_TOP + ;mov esp, STACK_TOP + push esp push ebx push eax cli -- cgit v1.2.3