~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

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,