From 606d964887fd08803a4781a95d48dc5461a9eec5 Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Wed, 5 Jun 2024 08:03:21 +0200 Subject: chore: add todo Signed-off-by: Tianhao Wang --- boot/startup-x86_64.s | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-70-g09d2