~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/tile/include/arch/icache.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
/**
17
17
 * @file
18
18
 *
19
 
 * Support for invalidating bytes in the instruction
 
19
 * Support for invalidating bytes in the instruction cache.
20
20
 */
21
21
 
22
22
#ifndef __ARCH_ICACHE_H__
30
30
 *
31
31
 * @param addr The start of memory to be invalidated.
32
32
 * @param size The number of bytes to be invalidated.
33
 
 * @param page_size The system's page size, typically the PAGE_SIZE constant
34
 
 * in sys/page.h.  This value must be a power of two no larger
35
 
 * than the page containing the code to be invalidated. If the value
36
 
 * is smaller than the actual page size, this function will still
37
 
 * work, but may run slower than necessary.
 
33
 * @param page_size The system's page size, e.g. getpagesize() in userspace.
 
34
 * This value must be a power of two no larger than the page containing
 
35
 * the code to be invalidated. If the value is smaller than the actual page
 
36
 * size, this function will still work, but may run slower than necessary.
38
37
 */
39
38
static __inline void
40
39
invalidate_icache(const void* addr, unsigned long size,