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 <arch/chip.h>
#include <linux/mm.h>
#include <linux/cache.h>
#include <arch/icache.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(vma, start, end)   do { } while (0)
 
#define flush_cache_page(vma, vmaddr, pfn)   do { } while (0)
 
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   0
 
#define flush_dcache_page(page)   do { } while (0)
 
#define flush_dcache_mmap_lock(mapping)   do { } while (0)
 
#define flush_dcache_mmap_unlock(mapping)   do { } while (0)
 
#define flush_cache_vmap(start, end)   do { } while (0)
 
#define flush_cache_vunmap(start, end)   do { } while (0)
 
#define flush_icache_page(vma, pg)   do { } while (0)
 
#define flush_icache_user_range(vma, pg, adr, len)   do { } while (0)
 
#define __flush_icache()   __flush_icache_range(0, CHIP_L1I_CACHE_SIZE())
 
#define flush_icache_range   __flush_icache_range
 
#define copy_from_user_page(vma, page, vaddr, dst, src, len)   memcpy((dst), (src), (len))
 

Functions

void __flush_icache_range (unsigned long start, unsigned long end)
 
void finv_buffer_remote (void *buffer, size_t size, int hfh)
 

Macro Definition Documentation

#define __flush_icache ( )    __flush_icache_range(0, CHIP_L1I_CACHE_SIZE())

Definition at line 44 of file cacheflush.h.

#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   0

Definition at line 31 of file cacheflush.h.

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

Definition at line 75 of file cacheflush.h.

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

Definition at line 26 of file cacheflush.h.

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

Definition at line 28 of file cacheflush.h.

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

Definition at line 27 of file cacheflush.h.

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

Definition at line 30 of file cacheflush.h.

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

Definition at line 29 of file cacheflush.h.

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

Definition at line 35 of file cacheflush.h.

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

Definition at line 36 of file cacheflush.h.

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

Definition at line 33 of file cacheflush.h.

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

Definition at line 34 of file cacheflush.h.

#define flush_dcache_page (   page)    do { } while (0)

Definition at line 32 of file cacheflush.h.

#define flush_icache_page (   vma,
  pg 
)    do { } while (0)

Definition at line 37 of file cacheflush.h.

#define flush_icache_range   __flush_icache_range

Definition at line 54 of file cacheflush.h.

#define flush_icache_user_range (   vma,
  pg,
  adr,
  len 
)    do { } while (0)

Definition at line 38 of file cacheflush.h.

Function Documentation

void __flush_icache_range ( unsigned long  start,
unsigned long  end 
)

Definition at line 21 of file cacheflush.c.

void finv_buffer_remote ( void buffer,
size_t  size,
int  hfh 
)

Definition at line 38 of file cacheflush.c.