Dokumentation
core_interrupt.h File Reference
Interrupt control and interrupt vector list More...
#include "types.h"
Include dependency graph for core_interrupt.h:
This graph shows which files directly or indirectly include this file:
Namespaces | |
namespace | Core |
Implements an abstraction for CPU internals. | |
namespace | Core::Interrupt |
Exception and Interrupt control. | |
Functions | |
bool | Core::Interrupt::isEnabled () |
Check if interrupts are enabled on this CPU. More... | |
void | Core::Interrupt::enable () |
Allow interrupts. More... | |
bool | Core::Interrupt::disable () |
Forbid interrupts. More... | |
void | Core::Interrupt::restore (bool val) |
Restore interrupt. More... | |
Constants | |
const uintptr_t | Core::Interrupt::FLAG_ENABLE = 1 << 9 |
Bit in FLAGS register corresponding to the current interrupt state. | |