libyggdrasil  v1.0.0
cache.hpp File Reference

Cache related constants and functions for Midgard. More...

#include <cpp/common/types.hpp>
#include <cpp/common/attributes.hpp>
#include <cpp/midgard/core/instructions.hpp>
#include <core_cm7.h>
Include dependency graph for cache.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 bsp
 
 bsp::core
 

Functions

ALWAYS_INLINE void bsp::core::invalidateICache ()
 Invalidates the entire ICache. More...
 
ALWAYS_INLINE void bsp::core::invalidateICache (void *address, size_t size)
 Invalidates all possibly cached instructions in a specific region of memory. More...
 

Variables

constexpr auto bsp::core::DCacheLineSize = 32
 Size of one Data Cache Line. More...
 
constexpr auto bsp::core::ICacheLineSize = 32
 Size of one Instruction Cache Line. More...
 

Detailed Description

Cache related constants and functions for Midgard.

Author
Fabian Weber, Nikolaij Saegesser