2010-05-06 06:08:35 +00:00
|
|
|
#ifndef GRUB_MACHINE_EMU
|
|
|
|
#error "This source is only meant for grub-emu platform"
|
|
|
|
#endif
|
|
|
|
|
2010-06-02 08:21:05 +00:00
|
|
|
#if defined(__i386__) || defined(__x86_64__)
|
2010-05-06 06:08:35 +00:00
|
|
|
/* Nothing is necessary. */
|
2010-06-02 08:21:05 +00:00
|
|
|
#elif defined(__sparc__)
|
2010-05-06 06:08:35 +00:00
|
|
|
#include "../sparc64/cache.S"
|
2010-06-02 08:21:05 +00:00
|
|
|
#elif defined(__powerpc__)
|
2010-05-06 06:08:35 +00:00
|
|
|
#include "../powerpc/cache.S"
|
2013-12-08 16:49:02 +00:00
|
|
|
#elif defined(__ia64__) || defined(__arm__) || defined(__aarch64__) || defined(__mips__)
|
2010-05-06 06:08:35 +00:00
|
|
|
#else
|
|
|
|
#error "No target cpu type is defined"
|
|
|
|
#endif
|