Linux Kernel
3.7.1
|
#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) |
#define LINEBITS 5 |
Definition at line 42 of file cacheflush.h.
#define LINESIZE 32 |
Definition at line 41 of file cacheflush.h.
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.