Fix bug introduced by previous commit.

* grub-core/boot/i386/pc/startup_raw.S: Compute RS start correctly.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-11-12 20:53:46 +01:00
parent 60240b8bc1
commit 691cbb5816
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
Fix bug introduced by previous commit.
* grub-core/boot/i386/pc/startup_raw.S: Compute RS start correctly.
2011-11-12 Vladimir Serbinenko <phcoder@gmail.com> 2011-11-12 Vladimir Serbinenko <phcoder@gmail.com>
Use decompressors framework on i386-pc. It increases core size Use decompressors framework on i386-pc. It increases core size

View file

@ -107,7 +107,7 @@ LOCAL (codestart):
call grub_gate_a20 call grub_gate_a20
movl LOCAL(compressed_size), %edx movl LOCAL(compressed_size), %edx
addl $(LOCAL(decompressor_end) - GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART), %edx addl $(LOCAL(decompressor_end) - GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART - _start), %edx
movl reed_solomon_redundancy, %ecx movl reed_solomon_redundancy, %ecx
leal _start + GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART, %eax leal _start + GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART, %eax
call EXT_C (grub_reed_solomon_recover) call EXT_C (grub_reed_solomon_recover)