| CMSIS-Core (Cortex-A) CMSIS-Core support for Cortex-A processor-based devices |

Loading...
Searching...
No Matches
Functions
Cache and branch predictor maintenance operations
Core Register Access

This section describes the cache and branch predictor maintenance operations. More...

## Functions
__STATIC_FORCEINLINE void | __set_BPIALL (uint32_t value)
| Set BPIALL.
__STATIC_FORCEINLINE void | __set_DCCIMVAC (uint32_t value)
| Set DCCIMVAC.
__STATIC_FORCEINLINE void | __set_DCCMVAC (uint32_t value)
| Set DCCMVAC.
__STATIC_FORCEINLINE void | __set_DCIMVAC (uint32_t value)
| Set DCIMVAC.
__STATIC_FORCEINLINE void | __set_ICIALLU (uint32_t value)
| Set ICIALLU.

## Description

This section describes the cache and branch predictor maintenance operations.

Cache maintenance operations are defined to act on particular memory locations. In addition, for instruction caches and branch predictors, there are operations that invalidate all entries.

Consider using L1 Cache Functions and L2C-310 Cache Controller Functions for cache maintenance instead of raw register usage.

## Function Documentation

## ◆ __set_BPIALL()

__STATIC_INLINE void __set_BPIALL | ( | uint32_t | value | ) |

Set BPIALL.

Branch Predictor Invalidate All

This function writes the provided value to the Branch Predictor Invalidate All (BPIALL) register.

## ◆ __set_DCCIMVAC()

__STATIC_INLINE void __set_DCCIMVAC | ( | uint32_t | value | ) |

Set DCCIMVAC.

Data cache clean and invalidate

This function cleans and invalidates data or unified cache line by MVA to PoC.

## ◆ __set_DCCMVAC()

__STATIC_INLINE void __set_DCCMVAC | ( | uint32_t | value | ) |

Set DCCMVAC.

Data cache clean

This function cleans data or unified cache line by MVA to PoC.

## ◆ __set_DCIMVAC()

__STATIC_INLINE void __set_DCIMVAC | ( | uint32_t | value | ) |

Set DCIMVAC.

Data cache invalidate

This function invalidates data or unified cache line by MVA to PoC.

## ◆ __set_ICIALLU()

__STATIC_INLINE void __set_ICIALLU | ( | uint32_t | value | ) |

Set ICIALLU.

Instruction Cache Invalidate All

This function invalidates all instruction cache.