[FREELDR] Fix wrong segment register at lgdt instruction in amd64.S

This commit is contained in:
Daniel Victor
2025-01-20 08:34:44 +02:00
committed by Timo Kreuzer
parent 2186ce3d58
commit d72864de95
+1 -5
View File
@@ -67,11 +67,7 @@ Msg_LongModeSupported:
call writestr
/* Load the GDT */
#ifdef _USE_ML
lgdt fword ptr [gdtptr]
#else
lgdt cs:[gdtptr]
#endif
lgdt lXdtPrefix ds:[gdtptr]
/* Build the startup page tables */
call BuildPageTables