diff --git a/boot/loader/loader.asm b/boot/loader/loader.asm index 5cf97c7..fffa136 100644 --- a/boot/loader/loader.asm +++ b/boot/loader/loader.asm @@ -102,7 +102,9 @@ mbMagic dq 0 lbegin: pop ebx ; 1st argument multiboot info pointer + mov [mbInfo], ebx pop eax ; 2nd argument is magic number + mov [mbMagic], eax call clear ; Clear the screen @@ -159,6 +161,9 @@ _loader64: call tritemporize ; Let time to see extern StartKern + + push qword 12 + push qword 12 call StartKern ;; We must never reach this point ------------------------------------------- ;;