binux-wl/boot/main64.asm

16 lines
244 B
NASM
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

global long_mode_start
extern kernel_main
section .text
bits 64
long_mode_start:
;tüm girilmiş data bölmünden boşlukları al (garip çevirdim)
mov ax, 0
mov ss, ax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
call kernel_main
hlt