Make qemu-mips compile again. Still no grub-mkimage support

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-01-14 17:37:11 +01:00
parent 4fbf185232
commit f440c33fd2
15 changed files with 110 additions and 23 deletions

View file

@ -1,3 +1,6 @@
/* Qemu doesn't emulate caches. Oh boy. */
#ifndef GRUB_MACHINE_MIPS_QEMU_MIPS
move $t2, $a0
addu $t3, $a0, $a1
srl $t2, $t2, 5
@ -21,3 +24,4 @@
bne $t1, $zero, 2b
addiu $t0, $t0, 0x1
sync
#endif

View file

@ -6,9 +6,8 @@
#include <grub/misc.h>
#include <grub/mm.h>
#include <grub/time.h>
#include <grub/machine/kernel.h>
#include <grub/machine/memory.h>
#include <grub/cpu/kernel.h>
#include <grub/memory.h>
#define RAMSIZE (*(grub_uint32_t *) ((16 << 20) - 264))