https://git.reactos.org/?p=reactos.git;a=commitdiff;h=71e13274ee4f56a5968604a1425b7366ee740444
commit 71e13274ee4f56a5968604a1425b7366ee740444 Author: Mark Jansen <[email protected]> AuthorDate: Thu Jan 31 23:42:20 2019 +0100 Commit: Hermès BÉLUSCA - MAÏTO <[email protected]> CommitDate: Thu Jan 31 23:42:20 2019 +0100 [FREELDR] Fix msvc boot (#1329) CORE-15700 --- boot/freeldr/freeldr/arch/i386/entry.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot/freeldr/freeldr/arch/i386/entry.S b/boot/freeldr/freeldr/arch/i386/entry.S index 7de40ca026..799764f858 100644 --- a/boot/freeldr/freeldr/arch/i386/entry.S +++ b/boot/freeldr/freeldr/arch/i386/entry.S @@ -153,7 +153,7 @@ _Reboot: PUBLIC _ChainLoadBiosBootSectorCode _ChainLoadBiosBootSectorCode: /* Set the boot drive */ - mov dl, byte ptr [_FrldrBootDrive] + mov dl, byte ptr ds:[_FrldrBootDrive] /* Set the function ID */ mov bx, FNID_ChainLoadBiosBootSectorCode @@ -165,7 +165,7 @@ _ChainLoadBiosBootSectorCode: PUBLIC i386CallRealMode i386CallRealMode: /* Set continue address and switch to real mode */ - mov dword ptr [ContinueAddress], offset i386CallRealMode_return + mov dword ptr ds:[ContinueAddress], offset i386CallRealMode_return jmp SwitchToReal i386CallRealMode_return: ret
