diff --git a/src/arch/x86_64/long_mode_init.asm b/src/arch/x86_64/long_mode_init.asm index 387c2fa4..a8193beb 100644 --- a/src/arch/x86_64/long_mode_init.asm +++ b/src/arch/x86_64/long_mode_init.asm @@ -13,10 +13,14 @@ ; limitations under the License. global long_mode_start +extern main section .text bits 64 long_mode_start: + + ; call rust main + call main ; print `OKAY` to screen mov rax, 0x2f592f412f4b2f4f mov qword [0xb8000], rax