From 8709de57470c31ddd07f09c1d28b420aa684c28a Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Wed, 2 Aug 2023 14:19:46 +0300 Subject: [PATCH] Better separation on BSS if it grws or something --- src/start32.asm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/start32.asm b/src/start32.asm index 767f3bf..55f5261 100644 --- a/src/start32.asm +++ b/src/start32.asm @@ -17,8 +17,8 @@ multiboot: dd MB_CHECKSUM dd multiboot ; header address dd 0x100000 ; load address - dd bss ; load end address - dd stack_top ; bss end address + dd bss_start ; load end address + dd bss_end ; bss end address dd start ; entry address dd 0 ; video mode_type (0:fb, 1:txt) (set flags[2]!) dd 1024 ; video width @@ -153,7 +153,7 @@ stuff: .fbdimensionsmsgpfx db 10, "Framebuffer dimensions: ", 0 .x db "x", 0 -bss: +bss_start: align 4096 pagedir: rb 4096 @@ -164,3 +164,4 @@ align 4096 stack_bottom: rb 16384 stack_top: +bss_end: