aboutsummaryrefslogtreecommitdiff
path: root/boot/startup-x86_64.s
diff options
context:
space:
mode:
Diffstat (limited to 'boot/startup-x86_64.s')
-rw-r--r--boot/startup-x86_64.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/startup-x86_64.s b/boot/startup-x86_64.s
index 5bba95f..2883996 100644
--- a/boot/startup-x86_64.s
+++ b/boot/startup-x86_64.s
@@ -174,6 +174,7 @@ fill_kvma2:
mov rax, ___BSS_END__
clear_bss:
; clear the BSS section before going to rust code
+ ; TODO: sanity check start < end, otherwise could be endless loop
; TODO speed this up by clearing 8 bytes at once. Alignment should be taken
; care of..
mov byte [rdi], 0