Better separation on BSS if it grws or something

This commit is contained in:
Jarkko Toivanen 2023-08-02 14:19:46 +03:00
parent e9b363221a
commit 8709de5747
Signed by: jt
GPG key ID: 9151B109B73ECAD5

View file

@ -17,8 +17,8 @@ multiboot:
dd MB_CHECKSUM dd MB_CHECKSUM
dd multiboot ; header address dd multiboot ; header address
dd 0x100000 ; load address dd 0x100000 ; load address
dd bss ; load end address dd bss_start ; load end address
dd stack_top ; bss end address dd bss_end ; bss end address
dd start ; entry address dd start ; entry address
dd 0 ; video mode_type (0:fb, 1:txt) (set flags[2]!) dd 0 ; video mode_type (0:fb, 1:txt) (set flags[2]!)
dd 1024 ; video width dd 1024 ; video width
@ -153,7 +153,7 @@ stuff:
.fbdimensionsmsgpfx db 10, "Framebuffer dimensions: ", 0 .fbdimensionsmsgpfx db 10, "Framebuffer dimensions: ", 0
.x db "x", 0 .x db "x", 0
bss: bss_start:
align 4096 align 4096
pagedir: pagedir:
rb 4096 rb 4096
@ -164,3 +164,4 @@ align 4096
stack_bottom: stack_bottom:
rb 16384 rb 16384
stack_top: stack_top:
bss_end: