1 /* 2 * include/asm-x86/cache.h 3 */ 4 #ifndef __ARCH_X86_CACHE_H 5 #define __ARCH_X86_CACHE_H 6 7 8 /* L1 cache line size */ 9 #define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT) 10 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) 11 12 #ifndef __ASSEMBLY__ 13 14 void cache_flush(const void *addr, unsigned int size); 15 void cache_writeback(const void *addr, unsigned int size); 16 17 #endif 18 19 #endif 20