This commit is contained in:
Vladimir Serbinenko committed 2016-02-21 18:44:55 +01:00
1 parent f9ee0c3e5d
commit 869a0bc476
5 files changed
+11 -5

No files matched your search

+3
View File
@@ -128,6 +128,8 @@ reloc_done:
str r1, EXT_C(grub_modbase)
/* Coreboot already places modules at right place. */
#ifndef GRUB_MACHINE_COREBOOT
add r1, r1, r2
add r0, r0, r2
sub r1, r1, #4
@@ -137,6 +139,7 @@ reloc_done:
str r3, [r1], #-4 @ *dst-- = r3
subs r2, #4 @ remaining -= 4
bne 1b @ while remaining != 0
#endif
@ Since we _are_ the C run-time, we need to manually zero the BSS
@ region before continuing