fix: remove redundant .bss zeroing that destroyed page tables
Co-authored-by: aider (openrouter/moonshotai/kimi-k2.6) <aider@aider.chat>
This commit is contained in:
@@ -83,12 +83,6 @@ long_mode_start:
|
||||
movabsq $stack_top, %rax
|
||||
movq %rax, %rsp
|
||||
|
||||
movabsq $__bss_start, %rdi
|
||||
movabsq $__bss_end, %rcx
|
||||
subq %rdi, %rcx
|
||||
xorq %rax, %rax
|
||||
rep stosb
|
||||
|
||||
call kernel_main
|
||||
cli
|
||||
1:
|
||||
|
||||
Reference in New Issue
Block a user