diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-10 04:00:32 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-10 04:00:32 +0000 |
commit | 99365ed0376e3b3bafdb411643a2fe55c836c37a (patch) | |
tree | 33e59326008c81a431d8e5bb1bd3d2fbbabbe45a /cpukit | |
parent | 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-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')
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/cache.h | 7 |
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 |