diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-26 14:04:59 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-26 14:09:43 +0100 |
commit | 0a75a4aa65d3fdc5b79cfa4bc35c56aada2bf3ae (patch) | |
tree | c661dfc2d7f4716b6903c696b1bbea02a02cf1ff /cpukit/include/rtems/rtems/cache.h | |
parent | rtems: Fix semaphore MPCI support (diff) | |
download | rtems-0a75a4aa65d3fdc5b79cfa4bc35c56aada2bf3ae.tar.bz2 |
Remove rtems_cache_*_processor_set() functions
The following rtems_cache_*_processor_set() cache manager API functions
are exotic, complex, very hard to use correctly, not used in the RTEMS
code base, and apparently unused by applications.
Close #3622.
Diffstat (limited to 'cpukit/include/rtems/rtems/cache.h')
-rw-r--r-- | cpukit/include/rtems/rtems/cache.h | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/cpukit/include/rtems/rtems/cache.h b/cpukit/include/rtems/rtems/cache.h index 16157b26e6..1e62c4270b 100644 --- a/cpukit/include/rtems/rtems/cache.h +++ b/cpukit/include/rtems/rtems/cache.h @@ -284,85 +284,6 @@ void rtems_cache_coherent_add_area( uintptr_t area_size ); -#if defined( RTEMS_SMP ) - -/** - * @brief Flushes multiple data cache lines for a set of processors - * - * Dirty cache lines covering the area are transferred to memory. - * Depending on the cache implementation this may mark the lines as invalid. - * - * This operation should not be called from interrupt context. - * - * @param[in] addr The start address of the area to flush. - * @param[in] size The size in bytes of the area to flush. - * @param[in] setsize The size of the processor set. - * @param[in] set The target processor set. - */ -void rtems_cache_flush_multiple_data_lines_processor_set( - const void *addr, - size_t size, - const size_t setsize, - const cpu_set_t *set -); - -/** - * @brief Invalidates multiple data cache lines for a set of processors - * - * The cache lines covering the area are marked as invalid. A later read - * access in the area will load the data from memory. - * - * In case the area is not aligned on cache line boundaries, then this - * operation may destroy unrelated data. - * - * This operation should not be called from interrupt context. - * - * @param[in] addr The start address of the area to invalidate. - * @param[in] size The size in bytes of the area to invalidate. - * @param[in] setsize The size of the processor set. - * @param[in] set The target processor set. - */ -void rtems_cache_invalidate_multiple_data_lines_processor_set( - const void *addr, - size_t size, - const size_t setsize, - const cpu_set_t *set -); - -/** - * @brief Flushes the entire data cache for a set of processors - * - * This operation should not be called from interrupt context. - * - * @see rtems_cache_flush_multiple_data_lines(). - * - * @param[in] setsize The size of the processor set. - * @param[in] set The target processor set. - */ -void rtems_cache_flush_entire_data_processor_set( - const size_t setsize, - const cpu_set_t *set -); - -/** - * @brief Invalidates the entire cache for a set of processors - * - * This function is responsible for performing a data cache - * invalidate. It invalidates the entire cache for a set of - * processors. - * - * This operation should not be called from interrupt context. - * - * @param[in] setsize The size of the processor set. - * @param[in] set The target processor set. - */ -void rtems_cache_invalidate_entire_data_processor_set( - const size_t setsize, - const cpu_set_t *set -); - -#endif - /**@}*/ #ifdef __cplusplus |