* grub-core/boot/mips/startup_raw.S: Flush cache after loading

decompressor.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-05-13 15:35:06 +02:00
parent a298aa046c
commit 60ddfad3da
2 changed files with 12 additions and 0 deletions

View File

@ -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

View 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)