diff options
Diffstat (limited to '')
-rw-r--r-- | bsps/arm/shared/cache/cache-l2c-310.c (renamed from c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h) | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h b/bsps/arm/shared/cache/cache-l2c-310.c index 81b34a62fa..6869d205a8 100644 --- a/c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h +++ b/bsps/arm/shared/cache/cache-l2c-310.c @@ -1,6 +1,4 @@ /** - * @file cache_.h - * * @ingroup L2C-310_cache * * @brief Cache definitions and functions. @@ -53,9 +51,6 @@ * ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03 */ -#ifndef LIBBSP_ARM_SHARED_L2C_310_CACHE_H -#define LIBBSP_ARM_SHARED_L2C_310_CACHE_H - #include <assert.h> #include <bsp.h> #include <bsp/fatal.h> @@ -63,11 +58,8 @@ #include <rtems/rtems/intr.h> #include <bsp/arm-release-id.h> #include <bsp/arm-errata.h> -#include "../include/arm-cache-l1.h" -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ +#include "cache-cp15.h" /* These two defines also ensure that the rtems_cache_* functions have bodies */ #define CPU_DATA_CACHE_ALIGNMENT ARM_CACHE_L1_CPU_DATA_ALIGNMENT @@ -1338,11 +1330,4 @@ _CPU_cache_get_instruction_cache_size( const uint32_t level ) return size; } - -/** @} */ - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* LIBBSP_ARM_SHARED_L2C_310_CACHE_H */ +#include "../../shared/cache/cacheimpl.h" |