Ensure all lines that should be omitted from public includes are marked
[AROS.git] / arch / all-pc / boot / grub2-aros / grub-core / kern / emu / cache.S
blobabd81c910f41551d05154d7dfb44019b27c82953
1 #ifndef GRUB_MACHINE_EMU
2 #error "This source is only meant for grub-emu platform"
3 #endif
5 #if defined(__i386__) || defined(__x86_64__)
6 /* Nothing is necessary.  */
7 #elif defined(__sparc__)
8 #include "../sparc64/cache.S"
9 #elif defined(__mips__)
10 /* On MIPS we must go through standard functions.  */
11 #include <grub/symbol.h>
13 FUNCTION (grub_cpu_flush_cache)
14 FUNCTION (grub_arch_sync_caches)
15         .set nomacro
16         .set noreorder
17         lui $t0, %hi(_flush_cache)
18         addui $t0, $t0, %lo(_flush_cache)
19         move $a3, $zero
20         jr $t0
21          nop
22         .set reorder
23         .set macro
24 #elif defined(__powerpc__)
25 #include "../powerpc/cache.S"
26 #else
27 #error "No target cpu type is defined"
28 #endif