Go to the documentation of this file.
12 #ifndef _ASM_CACHEFLUSH_H
13 #define _ASM_CACHEFLUSH_H
21 #define flush_cache_all() do {} while(0)
22 #define flush_cache_mm(mm) do {} while(0)
23 #define flush_cache_dup_mm(mm) do {} while(0)
24 #define flush_cache_range(mm, start, end) do {} while(0)
25 #define flush_cache_page(vma, vmaddr, pfn) do {} while(0)
26 #define flush_cache_vmap(start, end) do {} while(0)
27 #define flush_cache_vunmap(start, end) do {} while(0)
28 #define flush_dcache_mmap_lock(mapping) do {} while(0)
29 #define flush_dcache_mmap_unlock(mapping) do {} while(0)
42 asm volatile(
" dcef @(gr0,gr0),#1 \n"
43 " icei @(gr0,gr0),#1 \n"
50 #define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1
61 static inline void flush_page_to_ram(
struct page *
page)
78 unsigned long start,
unsigned long len);
81 unsigned long start,
unsigned long len)
96 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \
98 memcpy((dst), (src), (len)); \
99 flush_icache_user_range((vma), (page), (vaddr), (len)); \
102 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \
103 memcpy((dst), (src), (len))