summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/shared/src/cache_manager.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-27 09:40:16 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-27 09:40:16 +0200
commit4bf2a6aa09c47636b3fc06758449c886140d1b9d (patch)
tree201ed63b7679f452ad7c545af4c5d2e8dc746ae0 /c/src/lib/libcpu/shared/src/cache_manager.c
parentFix broken BSPs due to a shared cache function declaration. (diff)
downloadrtems-4bf2a6aa09c47636b3fc06758449c886140d1b9d.tar.bz2
bsps/cache: Clarify range functions support
Diffstat (limited to 'c/src/lib/libcpu/shared/src/cache_manager.c')
-rw-r--r--c/src/lib/libcpu/shared/src/cache_manager.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/shared/src/cache_manager.c b/c/src/lib/libcpu/shared/src/cache_manager.c
index 3f7a066ca1..202ea8e1ba 100644
--- a/c/src/lib/libcpu/shared/src/cache_manager.c
+++ b/c/src/lib/libcpu/shared/src/cache_manager.c
@@ -20,9 +20,13 @@
* rtems/c/src/lib/libcpu/CPU/cache_.h
*
* The cache implementation header file can define
- * CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS
+ *
+ * #define CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS
+ *
* if it provides cache maintenance functions which operate on multiple lines.
- * Otherwise a generic loop with single line operations will be used.
+ * Otherwise a generic loop with single line operations will be used. It is
+ * strongly recommended to provide the implementation in terms of static
+ * inline functions for performance reasons.
*
* The functions below are implemented with CPU dependent inline routines
* found in the cache.c files for each CPU. In the event that a CPU does