mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 09:20:30 +00:00
[FREELDR] Fix wrong segment register at lgdt
instruction in amd64.S
This commit is contained in:
parent
2186ce3d58
commit
d72864de95
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue