|
IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
|
Disable interrupts in scope (restores previous state on exit). More...
#include <arch/x86/irq.hpp>
Public Member Functions | |
| guard () noexcept=default | |
| Save flags and disable interrupts. | |
| guard (const guard &other)=delete | |
| Copy c-tor. | |
| ~guard () noexcept | |
| Restore flags. | |
| auto | operator= (const guard &other) -> guard &=delete |
| Copy assignment. | |
Private Attributes | |
| igros_usize_t | mFlags {::irqSave()} |
| Saved flags (interrupts are disabled while saving). | |
Disable interrupts in scope (restores previous state on exit).
|
inlinenoexcept |
|
private |