Go to the documentation of this file.
61 addr_t invalidateAddress =
reinterpret_cast<addr_t>(address);
62 ssize_t invalidateSize = size + (invalidateAddress & (
ICacheLineSize - 1));
67 SCB->ICIMVAU = invalidateAddress;
71 }
while (invalidateSize > 0);
Assembly instruction wrapper functions for Midgard.
Commonly used type definitions and helper templates.
#define ALWAYS_INLINE
Definition: attributes.h:34
constexpr auto DCacheLineSize
Size of one Data Cache Line.
Definition: cache.hpp:37
constexpr auto ICacheLineSize
Size of one Instruction Cache Line.
Definition: cache.hpp:38
ALWAYS_INLINE void invalidateICache()
Invalidates the entire ICache.
Definition: cache.hpp:43
Definition: cortex.hpp:33
Commonly used C++ and GNU attributes.
std::uint32_t addr_t
ARM32 specific types.
Definition: types.hpp:90