mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[FREELDR] Fix wrong segment register at lgdt instruction in amd64.S
This commit is contained in:
committed by
Timo Kreuzer
parent
2186ce3d58
commit
d72864de95
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user