Re: [PATCH] cpukit/cache: Report coherent add area failures

2024-01-25 Thread Sebastian Huber
On 24.01.24 18:19, Kinsey Moore wrote: -static void add_area( +static int add_area( void *area_begin, uintptr_t area_size ) If you return a status code here, you can directly return it in rtems_cache_coherent_add_area(). -- embedded brains GmbH & Co. KG Herr Sebastian HUBER Dornier

[PATCH] cpukit/cache: Report coherent add area failures

2024-01-24 Thread Kinsey Moore
This alters the API for rtems_cache_coherent_add_area to allow reporting of failures that can occur during the process of adding a new area to the coherent cache heap. --- cpukit/include/rtems/rtems/cache.h | 12 - cpukit/libcsupport/src/cachecoherentalloc.c | 27 -