mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[FREELDR] Fix MSVC x64 compilation after d2f73877b7
This commit is contained in:
parent
d2f73877b7
commit
db35a7861f
2 changed files with 12 additions and 0 deletions
|
@ -222,7 +222,11 @@ __fastfail:
|
|||
// void __lgdt(void *Source<rcx>);
|
||||
PUBLIC __lgdt
|
||||
__lgdt:
|
||||
#ifdef _USE_ML
|
||||
lgdt fword ptr [rcx]
|
||||
#else
|
||||
lgdt cs:[rcx]
|
||||
#endif
|
||||
ret
|
||||
|
||||
// void __ltr(unsigned short Source<rcx>);
|
||||
|
@ -234,7 +238,11 @@ __ltr:
|
|||
// void _sgdt(void *Destination<rcx>);
|
||||
PUBLIC __sgdt
|
||||
__sgdt:
|
||||
#ifdef _USE_ML
|
||||
sgdt fword ptr [rcx]
|
||||
#else
|
||||
sgdt cs:[rcx]
|
||||
#endif
|
||||
ret
|
||||
|
||||
|
||||
|
|
|
@ -67,7 +67,11 @@ Msg_LongModeSupported:
|
|||
call writestr
|
||||
|
||||
/* Load the GDT */
|
||||
#ifdef _USE_ML
|
||||
lgdt fword ptr [gdtptr]
|
||||
#else
|
||||
lgdt cs:[gdtptr]
|
||||
#endif
|
||||
|
||||
/* Build the startup page tables */
|
||||
call BuildPageTables
|
||||
|
|
Loading…
Reference in a new issue