summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/rtems/include/rtems/rtems/cache.h7
2 files changed, 12 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 97e6d27f8e..6150971a19 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,11 @@
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.
+
+2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
+
* posix/src/sigtimedwait.c: Make _POSIX_signals_Get_lowest static.
2011-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>
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