* grub-core/boot/i386/pc/startup_raw.S: Use separate

reed_solomon_size const definition instead of computing it since
	Apple assembler doesn't support the later.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-29 19:12:16 +01:00
parent 22899b9c03
commit fa6ec5734f
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/boot/i386/pc/startup_raw.S: Use separate
reed_solomon_size const definition instead of computing it since
Apple assembler doesn't support the later.
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
* gentpl.py (kernel): Rewrite Apple part.

View file

@ -105,7 +105,8 @@ LOCAL (codestart):
call grub_gate_a20
movl LOCAL(compressed_size), %edx
addl $(LOCAL(decompressor_end) - LOCAL(reed_solomon_part)), %edx
LOCAL(reed_solomon_size) = LOCAL(decompressor_end) - LOCAL(reed_solomon_part)
addl $LOCAL(reed_solomon_size), %edx
movl reed_solomon_redundancy, %ecx
leal LOCAL(reed_solomon_part), %eax
cld