mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[FREELDR]
More syntax fixes for ML svn path=/trunk/; revision=52348
This commit is contained in:
parent
8ea179b79b
commit
966128554b
1 changed files with 5 additions and 5 deletions
|
@ -39,17 +39,17 @@ _RealEntryPoint:
|
|||
mov ss, ax
|
||||
|
||||
/* Setup protected mode stack */
|
||||
mov esp, dword ptr [stack32]
|
||||
mov esp, dword ptr ds:[stack32]
|
||||
|
||||
/* Load the IDT */
|
||||
#ifdef _USE_ML
|
||||
lidt fword ptr [i386idtptr]
|
||||
lidt fword ptr ds:[i386idtptr]
|
||||
#else
|
||||
lidt i386idtptr
|
||||
#endif
|
||||
|
||||
/* Continue execution */
|
||||
jmp dword ptr [ContinueAddress]
|
||||
jmp dword ptr ds:[ContinueAddress]
|
||||
|
||||
ContinueAddress:
|
||||
.long _FrldrStartup
|
||||
|
@ -60,9 +60,9 @@ _FrldrStartup:
|
|||
/* Store BootDrive and BootPartition */
|
||||
xor eax, eax
|
||||
mov al, dl
|
||||
mov dword ptr [_FrldrBootDrive], eax
|
||||
mov dword ptr ds:[_FrldrBootDrive], eax
|
||||
mov al, dh
|
||||
mov dword ptr [_FrldrBootPartition], eax
|
||||
mov dword ptr ds:[_FrldrBootPartition], eax
|
||||
|
||||
/* Patch long jump with real mode entry point */
|
||||
mov eax, dword ptr ds:[BSS_RealModeEntry]
|
||||
|
|
Loading…
Reference in a new issue