20 lines
496 B
ArmAsm
20 lines
496 B
ArmAsm
|
#ifndef GRUB_MACHINE_EMU
|
||
|
#error "This source is only meant for grub-emu platform"
|
||
|
#endif
|
||
|
|
||
|
#if defined(GRUB_CPU_I386)
|
||
|
/* Nothing is necessary. */
|
||
|
#elif defined(GRUB_CPU_X86_64)
|
||
|
/* Nothing is necessary. */
|
||
|
#elif defined(GRUB_CPU_SPARC64)
|
||
|
#include "../sparc64/cache.S"
|
||
|
#elif defined(GRUB_CPU_MIPS)
|
||
|
#include "../mips/cache.S"
|
||
|
#elif defined(GRUB_CPU_MIPSEL)
|
||
|
#include "../mips/cache.S"
|
||
|
#elif defined(GRUB_CPU_POWERPC)
|
||
|
#include "../powerpc/cache.S"
|
||
|
#else
|
||
|
#error "No target cpu type is defined"
|
||
|
#endif
|