--- qemu/roms/SLOF/include/ppcp7/cpu.h 2018/04/24 18:59:09 1.1 +++ qemu/roms/SLOF/include/ppcp7/cpu.h 2018/04/24 19:45:29 1.1.1.2 @@ -44,6 +44,11 @@ static inline void flush_cache(void* r, :: "memory", "cc", "r0", "ctr"); } +static inline void +eieio(void) +{ + asm volatile ("eieio":::"memory"); +} #endif /* __ASSEMBLER__ */