This commit is contained in:
fslongjin
2022-04-15 14:15:32 +08:00
parent c2d8e88617
commit be8ac71aa9
8 changed files with 15 additions and 11 deletions

View File

@ -202,6 +202,7 @@ multiboot_header_end:
ENTRY(_start)
//
cli
// multiboot2_info
mov %ebx, mb2_info
//mov %ebx, %e8
@ -308,7 +309,7 @@ ENTRY(_start64)
mov %ax, %fs
mov %ax, %ss
mov $0x7e00, %esp
// === GDTR ====
lgdt GDT_POINTER(%rip) //rip, PICposition independent code
//lgdt $GDT_POINTER