mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +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
|
call writestr
|
||||||
|
|
||||||
/* Load the GDT */
|
/* Load the GDT */
|
||||||
#ifdef _USE_ML
|
lgdt lXdtPrefix ds:[gdtptr]
|
||||||
lgdt fword ptr [gdtptr]
|
|
||||||
#else
|
|
||||||
lgdt cs:[gdtptr]
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Build the startup page tables */
|
/* Build the startup page tables */
|
||||||
call BuildPageTables
|
call BuildPageTables
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue