Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
cache-inv-icache.c File Reference
#include <linux/module.h>
#include <linux/mm.h>
#include <asm/cacheflush.h>
#include <asm/smp.h>
#include "cache-smp.h"

Go to the source code of this file.

Functions

void flush_icache_range (unsigned long start, unsigned long end)
 
 EXPORT_SYMBOL (flush_icache_range)
 

Function Documentation

EXPORT_SYMBOL ( flush_icache_range  )
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 84 of file cache-inv-icache.c.