]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/boot/mips/startup_raw.S: Flush cache after loading
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 13 May 2011 13:35:06 +0000 (15:35 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Fri, 13 May 2011 13:35:06 +0000 (15:35 +0200)
decompressor.

ChangeLog
grub-core/boot/mips/startup_raw.S

index d1a1d6f05f3e37d9d2cddf323302a6ff8df89dbc..ede161fafddc5d5bae4d1e9d417d69d952db897b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-13  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/boot/mips/startup_raw.S: Flush cache after loading
+       decompressor.
+
 2011-05-13  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/boot/mips/startup_raw.S: Use jalr rather than bal to call
index 2e874e251c3a9672c411bd28b0d87dc89a148bef..6ba04c12fbc92122aa6db8f0d97bb5d1407e7354 100644 (file)
@@ -150,6 +150,13 @@ argdone:
        b 1b
         addiu $t1, $t1, 1
 2:
+       lui $a0, %hi(base)
+       addiu $a0, $a0, %lo(base)
+       lui $a1, %hi(_end)
+       addiu $a1, %lo(_end)
+       subu $a1,$a1,$a0
+
+#include "../../kern/mips/cache_flush.S"
 
        /* Decompress the payload. */
        lui $a0, %hi(__bss_start)