* grub-core/kern/mips/cache_flush.S [GRUB_MACHINE_MIPS_LOONGSON]: Flush

all four ways.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-07-23 16:44:40 +02:00
parent 8fc4fa45c5
commit bf66054fb3
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2011-07-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/mips/cache_flush.S [GRUB_MACHINE_MIPS_LOONGSON]: Flush
all four ways.
2011-07-21 Colin Watson <cjwatson@ubuntu.com>
Preferred resolution detection for VBE.

View file

@ -9,6 +9,13 @@
subu $t1, $t3, $t2
1:
cache 1, 0($t0)
/* All four ways. */
#ifdef GRUB_MACHINE_MIPS_LOONGSON
cache 1, 1($t0)
cache 1, 2($t0)
cache 1, 3($t0)
#endif
addiu $t1, $t1, -0x4
bne $t1, $zero, 1b
addiu $t0, $t0, 0x4