mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: cmsis/core_caFunc.h
- Revision:
- 151:5eaa88a5bcc7
- Parent:
- 149:156823d33999
--- a/cmsis/core_caFunc.h Tue Nov 08 17:45:16 2016 +0000 +++ b/cmsis/core_caFunc.h Thu Nov 24 17:03:03 2016 +0000 @@ -811,6 +811,23 @@ __STATIC_INLINE void __v7_inv_dcache_all(void) { __v7_all_cache(0); } +/** \brief Clean the whole D$ + + DCCSW. Clean by Set/Way + */ + +__STATIC_INLINE void __v7_clean_dcache_all(void) { + __v7_all_cache(1); +} + +/** \brief Clean and invalidate the whole D$ + + DCCISW. Clean and Invalidate by Set/Way + */ + +__STATIC_INLINE void __v7_clean_inv_dcache_all(void) { + __v7_all_cache(2); +} /** \brief Clean and Invalidate D$ by MVA DCCIMVAC. Data cache clean and invalidate by MVA to PoC