Cache Manager Functions with Processor Set

Daniel Hellstrom daniel at gaisler.com
Tue Sep 16 11:42:20 UTC 2014


Hi,

On 09/16/2014 11:35 AM, Sebastian Huber wrote:
> Hello,
>
> what is the use case for the following functions:
>
> rtems_cache_flush_multiple_data_lines_processor_set()
>
> rtems_cache_invalidate_multiple_data_lines_processor_set()
>
> rtems_cache_flush_entire_data_processor_set()
>
> rtems_cache_invalidate_entire_data_processor_set()
>
> ?
>
> Makes it sense on an SMP system running an operating system and application in one address space to do processor specific cache operations?
>
> The functions are currently unused (except for the test program).

I think most likely we want to flush/invalidate all CPUs in the system or only the local CPU's cache. Why do you ask, have you found a reason to limit/change the API?

DanielH






More information about the devel mailing list