From 99365ed0376e3b3bafdb411643a2fe55c836c37a Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sat, 10 Dec 2011 04:00:32 +0000 Subject: =?UTF-8?q?2011-12-10=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR 1986/libcpu * rtems/include/rtems/rtems/cache.h: Add rtems_cache_aligned_malloc decl. --- cpukit/ChangeLog | 6 ++++++ cpukit/rtems/include/rtems/rtems/cache.h | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 97e6d27f8e..6150971a19 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2011-12-10 Ralf Corsépius + + PR 1986/libcpu + * rtems/include/rtems/rtems/cache.h: + Add rtems_cache_aligned_malloc decl. + 2011-12-10 Ralf Corsépius * posix/src/sigtimedwait.c: Make _POSIX_signals_Get_lowest static. 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 -- cgit v1.2.3