summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems/rtems/cache.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-10 04:00:32 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-10 04:00:32 +0000
commit99365ed0376e3b3bafdb411643a2fe55c836c37a (patch)
tree33e59326008c81a431d8e5bb1bd3d2fbbabbe45a /cpukit/rtems/include/rtems/rtems/cache.h
parent2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-99365ed0376e3b3bafdb411643a2fe55c836c37a.tar.bz2
2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1986/libcpu * rtems/include/rtems/rtems/cache.h: Add rtems_cache_aligned_malloc decl.
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/cache.h')
-rw-r--r--cpukit/rtems/include/rtems/rtems/cache.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/cache.h b/cpukit/rtems/include/rtems/rtems/cache.h
index 72aab56cea..2c266c5774 100644
--- a/cpukit/rtems/include/rtems/rtems/cache.h
+++ b/cpukit/rtems/include/rtems/rtems/cache.h
@@ -147,7 +147,12 @@ void rtems_cache_enable_instruction( void );
*/
void rtems_cache_disable_instruction( void );
-
+/**
+ * This function is used to allocate storage that spans an
+ * integral number of cache blocks.
+ */
+void *rtems_cache_aligned_malloc ( size_t nbytes );
+
#ifdef __cplusplus
}
#endif