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/cache.h>
#include <linux/mm.h>
#include <asm/string.h>
#include <asm-generic/cacheflush.h>

Go to the source code of this file.

Macros

#define LINESIZE   32
 
#define LINEBITS   5
 

Functions

void flush_dcache_range (unsigned long start, unsigned long end)
 
void flush_icache_range (unsigned long start, unsigned long end)
 
void flush_cache_all_hexagon (void)
 
void hexagon_inv_dcache_range (unsigned long start, unsigned long end)
 
void hexagon_clean_dcache_range (unsigned long start, unsigned long end)
 

Macro Definition Documentation

#define LINEBITS   5

Definition at line 42 of file cacheflush.h.

#define LINESIZE   32

Definition at line 41 of file cacheflush.h.

Function Documentation

void flush_cache_all_hexagon ( void  )

Definition at line 119 of file cache.c.

void flush_dcache_range ( unsigned long  start,
unsigned long  end 
)

Definition at line 28 of file cache.c.

void flush_icache_range ( unsigned long  start,
unsigned long  end 
)

flush_icache_range - Globally flush dcache and invalidate icache for region : The starting virtual address of the region. : The ending virtual address of the region.

This is used by the kernel to globally flush some code it has just written from the dcache back to RAM and then to globally invalidate the icache over that region so that that code can be run on all CPUs in the system.

Definition at line 106 of file cache.c.

void hexagon_clean_dcache_range ( unsigned long  start,
unsigned long  end 
)

Definition at line 72 of file cache.c.

void hexagon_inv_dcache_range ( unsigned long  start,
unsigned long  end 
)

Definition at line 92 of file cache.c.