libyggdrasil
v1.0.0
|
Functions | |
ALWAYS_INLINE void | delay (u32 ms) |
Delays execution by a certain number of milliseconds. More... | |
ALWAYS_INLINE void | disableInterrupts () |
Disables all interrupts. More... | |
ALWAYS_INLINE void | enableInterrupts () |
Enables all interrupts. More... | |
ALWAYS_INLINE void | setInterruptVectorBase (addr_t address) |
Sets the base address of the interrupt vector table. More... | |
ALWAYS_INLINE void | invalidateICache () |
Invalidates the entire ICache. More... | |
ALWAYS_INLINE void | invalidateICache (void *address, size_t size) |
Invalidates all possibly cached instructions in a specific region of memory. More... | |
Variables | |
constexpr auto | DCacheLineSize = 32 |
Size of one Data Cache Line. More... | |
constexpr auto | ICacheLineSize = 32 |
Size of one Instruction Cache Line. More... | |
ALWAYS_INLINE void bsp::core::delay | ( | u32 | ms | ) |
Delays execution by a certain number of milliseconds.
ms | Number of milliseconds to wait |
ALWAYS_INLINE void bsp::core::disableInterrupts | ( | ) |
Disables all interrupts.
ALWAYS_INLINE void bsp::core::enableInterrupts | ( | ) |
Enables all interrupts.
ALWAYS_INLINE void bsp::core::invalidateICache | ( | ) |
Invalidates the entire ICache.
ALWAYS_INLINE void bsp::core::invalidateICache | ( | void * | address, |
size_t | size | ||
) |
Invalidates all possibly cached instructions in a specific region of memory.
address | Start address of the region |
size | Size of the region |
ALWAYS_INLINE void bsp::core::setInterruptVectorBase | ( | addr_t | address | ) |
Sets the base address of the interrupt vector table.
address | Base address |
|
constexpr |
Size of one Data Cache Line.
|
constexpr |
Size of one Instruction Cache Line.