https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3fd6e34ab85959e7b45f53ed9b9e3b5e31026cbf

commit 3fd6e34ab85959e7b45f53ed9b9e3b5e31026cbf
Author:     Daniel Victor <ilauncherdevelo...@gmail.com>
AuthorDate: Sat Oct 19 12:50:41 2024 -0300
Commit:     GitHub <nore...@github.com>
CommitDate: Sat Oct 19 18:50:41 2024 +0300

    [FREELDR/x64] Fix the Multiboot pointer size (#7469)
    
    Addendum to b524c18a3ea. CORE-18374
---
 boot/freeldr/freeldr/arch/i386/multiboot.S | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/boot/freeldr/freeldr/arch/i386/multiboot.S 
b/boot/freeldr/freeldr/arch/i386/multiboot.S
index 556bc630838..143e03d03da 100644
--- a/boot/freeldr/freeldr/arch/i386/multiboot.S
+++ b/boot/freeldr/freeldr/arch/i386/multiboot.S
@@ -213,7 +213,11 @@ idtptr:
 
 PUBLIC _MultibootInfoPtr
 _MultibootInfoPtr:
+#ifdef _M_IX86
     .long 0
+#else
+    .quad 0
+#endif
 
 MultibootInfo:
     .space MB_INFO_SIZE

Reply via email to