pull-in emu-lite fixes

This commit is contained in:
BVK Chaitanya 2010-06-02 15:18:33 +05:30
commit bd7390ee84
8 changed files with 37 additions and 24 deletions

View file

@ -2,17 +2,13 @@
#error "This source is only meant for grub-emu platform"
#endif
#if defined(GRUB_CPU_I386)
#if defined(__i386__) || defined(__x86_64__)
/* Nothing is necessary. */
#elif defined(GRUB_CPU_X86_64)
/* Nothing is necessary. */
#elif defined(GRUB_CPU_SPARC64)
#elif defined(__sparc__)
#include "../sparc64/cache.S"
#elif defined(GRUB_CPU_MIPS)
#elif defined(__mips__)
#include "../mips/cache.S"
#elif defined(GRUB_CPU_MIPSEL)
#include "../mips/cache.S"
#elif defined(GRUB_CPU_POWERPC)
#elif defined(__powerpc__)
#include "../powerpc/cache.S"
#else
#error "No target cpu type is defined"