Skip to content

Add API which cleans Dcache in IAR compiler. #3262

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions cmsis/core_caFunc.h
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,23 @@ __asm(
__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
Expand Down