mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
Multiple bugs correction for Reed-Solomon
This commit is contained in:
1 parent
419cbeb06d
commit
3ac9e79207
5 files changed
+28
-18
No files matched your search
@@ -206,16 +206,16 @@ LOCAL (codestart):
|
||||
incl %eax
|
||||
call grub_gate_a20
|
||||
|
||||
movl EXT_C(grub_kernel_image_size), %eax
|
||||
addl EXT_C(grub_total_module_size), %eax
|
||||
movl EXT_C(grub_compressed_size), %edx
|
||||
addl $(GRUB_KERNEL_MACHINE_RAW_SIZE - GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART), %edx
|
||||
movl reed_solomon_redundancy, %ecx
|
||||
leal _start + GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART, %edx
|
||||
testl %eax, %eax
|
||||
leal _start + GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART, %eax
|
||||
testl %edx, %edx
|
||||
jz post_reed_solomon
|
||||
call EXT_C (grub_reed_solomon_recover)
|
||||
jmp post_reed_solomon
|
||||
|
||||
#include "/home/phcoder/compile/grub-core/rs_decoder.S"
|
||||
#include <rs_decoder.S>
|
||||
|
||||
.text
|
||||
|
||||
|
||||
Reference in new issue
Block a user