Skip to content

Commit 1bcc8f1

Browse files
committed
[FREELDR] Adapt multiboot code for the future base address change (reactos#7785)
1 parent f9af74b commit 1bcc8f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boot/freeldr/freeldr/arch/i386/multiboot.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
44
* PURPOSE: Support for the Multiboot v1 specification.
55
* COPYRIGHT: Copyright 1998-2002 Brian Palmer <[email protected]>
6-
* Copyright 2024 Daniel Victor <[email protected]>
6+
* Copyright 2024-2025 Daniel Victor <[email protected]>
77
*/
88

99
#include <asm.inc>
@@ -190,7 +190,7 @@ mb4:
190190
mov cr0, rax
191191

192192
/* Jump to real entry point */
193-
ljmp16 0, FREELDR_BASE
193+
ljmp16 FREELDR_BASE / 16, 0
194194

195195

196196
/* Force 8-byte alignment */

0 commit comments

Comments
 (0)