summaryrefslogtreecommitdiffstats
path: root/bsps/sparc/leon3/start/cache.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bsps/sparc/leon3/start/cache.c (renamed from c/src/lib/libbsp/sparc/leon3/include/cache_.h)13
1 files changed, 1 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/include/cache_.h b/bsps/sparc/leon3/start/cache.c
index ced5b6dd0a..fb210a1f70 100644
--- a/c/src/lib/libbsp/sparc/leon3/include/cache_.h
+++ b/bsps/sparc/leon3/start/cache.c
@@ -12,16 +12,9 @@
* http://www.rtems.org/license/LICENSE.
*/
-#ifndef LEON3_CACHE_H
-#define LEON3_CACHE_H
-
#include <amba.h>
#include <leon.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#define CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS
#define CPU_CACHE_SUPPORT_PROVIDES_CACHE_SIZE_FUNCTIONS
@@ -195,8 +188,4 @@ static inline void _CPU_cache_disable_instruction(void)
/* TODO */
}
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* LEON3_CACHE_H */
+#include "../../../shared/cache/cacheimpl.h"