Changeset 0a75a4aa in rtems for cpukit


Ignore:
Timestamp:
Nov 26, 2018, 1:04:59 PM (9 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c1864a0a
Parents:
6378978
git-author:
Sebastian Huber <sebastian.huber@…> (11/26/18 13:04:59)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/26/18 13:09:43)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/rtems/cache.h

    r6378978 r0a75a4aa  
    285285);
    286286
    287 #if defined( RTEMS_SMP )
    288 
    289 /**
    290  * @brief Flushes multiple data cache lines for a set of processors
    291  *
    292  * Dirty cache lines covering the area are transferred to memory.
    293  * Depending on the cache implementation this may mark the lines as invalid.
    294  *
    295  * This operation should not be called from interrupt context.
    296  *
    297  * @param[in] addr The start address of the area to flush.
    298  * @param[in] size The size in bytes of the area to flush.
    299  * @param[in] setsize The size of the processor set.
    300  * @param[in] set The target processor set.
    301  */
    302 void rtems_cache_flush_multiple_data_lines_processor_set(
    303   const void *addr,
    304   size_t size,
    305   const size_t setsize,
    306   const cpu_set_t *set
    307 );
    308 
    309 /**
    310  * @brief Invalidates multiple data cache lines for a set of processors
    311  *
    312  * The cache lines covering the area are marked as invalid.  A later read
    313  * access in the area will load the data from memory.
    314  *
    315  * In case the area is not aligned on cache line boundaries, then this
    316  * operation may destroy unrelated data.
    317  *
    318  * This operation should not be called from interrupt context.
    319  *
    320  * @param[in] addr The start address of the area to invalidate.
    321  * @param[in] size The size in bytes of the area to invalidate.
    322  * @param[in] setsize The size of the processor set.
    323  * @param[in] set The target processor set.
    324  */
    325 void rtems_cache_invalidate_multiple_data_lines_processor_set(
    326   const void *addr,
    327   size_t size,
    328   const size_t setsize,
    329   const cpu_set_t *set
    330 );
    331 
    332 /**
    333  * @brief Flushes the entire data cache for a set of processors
    334  *
    335  * This operation should not be called from interrupt context.
    336  *
    337  * @see rtems_cache_flush_multiple_data_lines().
    338  *
    339  * @param[in] setsize The size of the processor set.
    340  * @param[in] set The target processor set.
    341  */
    342 void rtems_cache_flush_entire_data_processor_set(
    343   const size_t setsize,
    344   const cpu_set_t *set
    345 );
    346 
    347 /**
    348  * @brief Invalidates the entire cache for a set of processors
    349  *
    350  * This function is responsible for performing a data cache
    351  * invalidate. It invalidates the entire cache for a set of
    352  * processors.
    353  *
    354  * This operation should not be called from interrupt context.
    355  *
    356  * @param[in] setsize The size of the processor set.
    357  * @param[in] set The target processor set.
    358  */
    359 void rtems_cache_invalidate_entire_data_processor_set(
    360   const size_t setsize,
    361   const cpu_set_t *set
    362 );
    363 
    364 #endif
    365 
    366287/**@}*/
    367288
Note: See TracChangeset for help on using the changeset viewer.