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

Go to the source code of this file.

Macros

#define flush_cache_all()   sparc32_cachetlb_ops->cache_all()
 
#define flush_cache_mm(mm)   sparc32_cachetlb_ops->cache_mm(mm)
 
#define flush_cache_dup_mm(mm)   sparc32_cachetlb_ops->cache_mm(mm)
 
#define flush_cache_range(vma, start, end)   sparc32_cachetlb_ops->cache_range(vma, start, end)
 
#define flush_cache_page(vma, addr, pfn)   sparc32_cachetlb_ops->cache_page(vma, addr)
 
#define flush_icache_range(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 copy_to_user_page(vma, page, vaddr, dst, src, len)
 
#define copy_from_user_page(vma, page, vaddr, dst, src, len)
 
#define __flush_page_to_ram(addr)   sparc32_cachetlb_ops->page_to_ram(addr)
 
#define flush_sig_insns(mm, insn_addr)   sparc32_cachetlb_ops->sig_insns(mm, insn_addr)
 
#define flush_page_for_dma(addr)   sparc32_cachetlb_ops->page_for_dma(addr)
 
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   1
 
#define flush_dcache_page(page)   sparc_flush_page_to_ram(page)
 
#define flush_dcache_mmap_lock(mapping)   do { } while (0)
 
#define flush_dcache_mmap_unlock(mapping)   do { } while (0)
 
#define flush_cache_vmap(start, end)   flush_cache_all()
 
#define flush_cache_vunmap(start, end)   flush_cache_all()
 

Functions

void sparc_flush_page_to_ram (struct page *page)
 
void flush_user_windows (void)
 
void kill_user_windows (void)
 
void flushw_all (void)
 

Macro Definition Documentation

#define __flush_page_to_ram (   addr)    sparc32_cachetlb_ops->page_to_ram(addr)

Definition at line 32 of file cacheflush_32.h.

#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   1

Definition at line 41 of file cacheflush_32.h.

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

Definition at line 26 of file cacheflush_32.h.

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

Definition at line 21 of file cacheflush_32.h.

#define flush_cache_all (   void)    sparc32_cachetlb_ops->cache_all()

Definition at line 6 of file cacheflush_32.h.

#define flush_cache_dup_mm (   mm)    sparc32_cachetlb_ops->cache_mm(mm)

Definition at line 10 of file cacheflush_32.h.

#define flush_cache_mm (   mm)    sparc32_cachetlb_ops->cache_mm(mm)

Definition at line 8 of file cacheflush_32.h.

#define flush_cache_page (   vma,
  addr,
  pfn 
)    sparc32_cachetlb_ops->cache_page(vma, addr)

Definition at line 14 of file cacheflush_32.h.

#define flush_cache_range (   vma,
  start,
  end 
)    sparc32_cachetlb_ops->cache_range(vma, start, end)

Definition at line 12 of file cacheflush_32.h.

#define flush_cache_vmap (   start,
  end 
)    flush_cache_all()

Definition at line 46 of file cacheflush_32.h.

#define flush_cache_vunmap (   start,
  end 
)    flush_cache_all()

Definition at line 47 of file cacheflush_32.h.

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

Definition at line 43 of file cacheflush_32.h.

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

Definition at line 44 of file cacheflush_32.h.

#define flush_dcache_page (   page)    sparc_flush_page_to_ram(page)

Definition at line 42 of file cacheflush_32.h.

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

Definition at line 17 of file cacheflush_32.h.

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

Definition at line 16 of file cacheflush_32.h.

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

Definition at line 19 of file cacheflush_32.h.

#define flush_page_for_dma (   addr)    sparc32_cachetlb_ops->page_for_dma(addr)

Definition at line 36 of file cacheflush_32.h.

#define flush_sig_insns (   mm,
  insn_addr 
)    sparc32_cachetlb_ops->sig_insns(mm, insn_addr)

Definition at line 34 of file cacheflush_32.h.

Function Documentation

void flush_user_windows ( void  )

Definition at line 16 of file windows.c.

void flushw_all ( void  )
void kill_user_windows ( void  )
void sparc_flush_page_to_ram ( struct page page)

Definition at line 419 of file init_32.c.