Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cacheflush.h File Reference
#include <linux/mm.h>

Go to the source code of this file.

Macros

#define flush_cache_all()   do {} while(0)
 
#define flush_cache_mm(mm)   do {} while(0)
 
#define flush_cache_dup_mm(mm)   do {} while(0)
 
#define flush_cache_range(mm, start, end)   do {} while(0)
 
#define flush_cache_page(vma, vmaddr, pfn)   do {} while(0)
 
#define flush_cache_vmap(start, end)   do {} while(0)
 
#define flush_cache_vunmap(start, end)   do {} while(0)
 
#define flush_dcache_mmap_lock(mapping)   do {} while(0)
 
#define flush_dcache_mmap_unlock(mapping)   do {} while(0)
 
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   1
 
#define copy_to_user_page(vma, page, vaddr, dst, src, len)
 
#define copy_from_user_page(vma, page, vaddr, dst, src, len)   memcpy((dst), (src), (len))
 

Functions

void frv_dcache_writeback (unsigned long start, unsigned long size)
 
void frv_cache_invalidate (unsigned long start, unsigned long size)
 
void frv_icache_invalidate (unsigned long start, unsigned long size)
 
void frv_cache_wback_inv (unsigned long start, unsigned long size)
 

Macro Definition Documentation

#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   1

Definition at line 50 of file cacheflush.h.

#define copy_from_user_page (   vma,
  page,
  vaddr,
  dst,
  src,
  len 
)    memcpy((dst), (src), (len))

Definition at line 102 of file cacheflush.h.

#define copy_to_user_page (   vma,
  page,
  vaddr,
  dst,
  src,
  len 
)
Value:
do { \
memcpy((dst), (src), (len)); \
flush_icache_user_range((vma), (page), (vaddr), (len)); \
} while(0)

Definition at line 96 of file cacheflush.h.

#define flush_cache_all (   void)    do {} while(0)

Definition at line 21 of file cacheflush.h.

#define flush_cache_dup_mm (   mm)    do {} while(0)

Definition at line 23 of file cacheflush.h.

#define flush_cache_mm (   mm)    do {} while(0)

Definition at line 22 of file cacheflush.h.

#define flush_cache_page (   vma,
  vmaddr,
  pfn 
)    do {} while(0)

Definition at line 25 of file cacheflush.h.

#define flush_cache_range (   mm,
  start,
  end 
)    do {} while(0)

Definition at line 24 of file cacheflush.h.

#define flush_cache_vmap (   start,
  end 
)    do {} while(0)

Definition at line 26 of file cacheflush.h.

#define flush_cache_vunmap (   start,
  end 
)    do {} while(0)

Definition at line 27 of file cacheflush.h.

#define flush_dcache_mmap_lock (   mapping)    do {} while(0)

Definition at line 28 of file cacheflush.h.

#define flush_dcache_mmap_unlock (   mapping)    do {} while(0)

Definition at line 29 of file cacheflush.h.

Function Documentation

void frv_cache_invalidate ( unsigned long  start,
unsigned long  size 
)
void frv_cache_wback_inv ( unsigned long  start,
unsigned long  size 
)
void frv_dcache_writeback ( unsigned long  start,
unsigned long  size 
)
void frv_icache_invalidate ( unsigned long  start,
unsigned long  size 
)