lib

Fork of mbed-dev by mbed official

Revision:
141:a2b798ec44f6
Parent:
66:fdb3f9f9a72f
Child:
144:ef7eb2e8f9f7
diff -r 6f18478c63fa -r a2b798ec44f6 targets/cmsis/core_caFunc.h
--- a/targets/cmsis/core_caFunc.h	Tue May 24 11:30:12 2016 +0100
+++ b/targets/cmsis/core_caFunc.h	Tue May 24 13:30:14 2016 +0100
@@ -811,6 +811,15 @@
 __STATIC_INLINE void __v7_inv_dcache_all(void) {
     __v7_all_cache(0);
 }
+/** \brief  Clean and Invalidate D$ by MVA
+
+    DCCIMVAC. Data cache clean and invalidate by MVA to PoC
+ */
+__STATIC_INLINE void __v7_clean_inv_dcache_mva(void *va) {
+    __MCR(15, 0, (uint32_t)va, 7, 14, 1);
+    __DMB();
+}
+
 #include "core_ca_mmu.h"
 
 #elif (defined (__GNUC__)) /*------------------ GNU Compiler ---------------------*/