RTEMS CPU Kit with SuperCore  4.10.99.0
Functions
Cache
RTEMS Classic API

Cache Manager. More...

Collaboration diagram for Cache:

Functions

void rtems_cache_flush_multiple_data_lines (const void *, size_t)
 This function is called to flush the data cache by performing cache copybacks.
void rtems_cache_invalidate_multiple_data_lines (const void *, size_t)
 This function is responsible for performing a data cache invalidate.
void rtems_cache_flush_entire_data (void)
 This function is responsible for performing a data cache flush.
void rtems_cache_invalidate_entire_data (void)
 This function is responsible for performing a data cache invalidate.
int rtems_cache_get_data_line_size (void)
 This function returns the data cache granularity.
void rtems_cache_freeze_data (void)
 This function freezes the data cache.
void rtems_cache_unfreeze_data (void)
 This function unfreezes the data cache.
void rtems_cache_enable_data (void)
 This function enables the data cache.
void rtems_cache_disable_data (void)
 This function disables the data cache.
void rtems_cache_invalidate_multiple_instruction_lines (const void *, size_t)
 These functions will ONLY do something if the libcpu support includes instruction cache routines AND the CPU model supports instruction caching.
void rtems_cache_invalidate_entire_instruction (void)
 This function is responsible for performing an instruction cache invalidate.
int rtems_cache_get_instruction_line_size (void)
 This function returns the instruction cache granularity.
void rtems_cache_freeze_instruction (void)
 This function freezes the instruction cache.
void rtems_cache_unfreeze_instruction (void)
 This function unfreezes the instruction cache.
void rtems_cache_enable_instruction (void)
 This function enables the instruction cache.
void rtems_cache_disable_instruction (void)
 This function disables the instruction cache.
void * rtems_cache_aligned_malloc (size_t nbytes)
 This function is used to allocate storage that spans an integral number of cache blocks.

Detailed Description

Cache Manager.

This encapsulates functionality which XXX.

Functionality Associated with the Cache Manager


Function Documentation

void rtems_cache_flush_entire_data ( void  )

This function is responsible for performing a data cache flush.

It flushes the entire cache.

void rtems_cache_flush_multiple_data_lines ( const void *  ,
size_t   
)

This function is called to flush the data cache by performing cache copybacks.

It must determine how many cache lines need to be copied back and then perform the copybacks.

void rtems_cache_invalidate_entire_data ( void  )

This function is responsible for performing a data cache invalidate.

It invalidates the entire cache.

void rtems_cache_invalidate_entire_instruction ( void  )

This function is responsible for performing an instruction cache invalidate.

It invalidates the entire cache.

void rtems_cache_invalidate_multiple_data_lines ( const void *  ,
size_t   
)

This function is responsible for performing a data cache invalidate.

It must determine how many cache lines need to be invalidated and then perform the invalidations.

void rtems_cache_invalidate_multiple_instruction_lines ( const void *  ,
size_t   
)

These functions will ONLY do something if the libcpu support includes instruction cache routines AND the CPU model supports instruction caching.

This function is responsible for performing an instruction cache invalidate. It must determine how many cache lines need to be invalidated and then perform the invalidations.