From 1f0b1a7730d65650c9f5976b99be7514f955b26f Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Fri, 23 Dec 2011 10:21:27 +0100 Subject: [PATCH] * grub-core/boot/i386/pc/startup_raw.S: Add missing argument for _LzmaDecodeA. --- ChangeLog | 5 +++++ grub-core/boot/i386/pc/startup_raw.S | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 329fccd38..34d7e26c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-12-23 Vladimir Serbinenko + + * grub-core/boot/i386/pc/startup_raw.S: Add missing argument for + _LzmaDecodeA. + 2011-12-22 Vladimir Serbinenko * docs/grub.texi (Internationalisation): New section. diff --git a/grub-core/boot/i386/pc/startup_raw.S b/grub-core/boot/i386/pc/startup_raw.S index 9c044ffb0..0e6794f56 100644 --- a/grub-core/boot/i386/pc/startup_raw.S +++ b/grub-core/boot/i386/pc/startup_raw.S @@ -179,7 +179,10 @@ post_reed_solomon: pushl %edi movl LOCAL (uncompressed_size), %ecx leal (%edi, %ecx), %ebx + /* Don't remove this push: it's an argument. */ + push %ecx call _LzmaDecodeA + pop %ecx /* _LzmaDecodeA clears DF, so no need to run cld */ popl %esi #endif