mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:07:35 +00:00
Kernel: Add the NonMaskableInterruptDisabler class
This class will be used later to disable NMIs when we initialize the RTC timer.
This commit is contained in:
parent
07679e347c
commit
9a303cc5a5
2 changed files with 17 additions and 0 deletions
|
@ -369,6 +369,12 @@ private:
|
|||
u32 m_flags;
|
||||
};
|
||||
|
||||
class NonMaskableInterruptDisabler {
|
||||
public:
|
||||
NonMaskableInterruptDisabler();
|
||||
~NonMaskableInterruptDisabler();
|
||||
};
|
||||
|
||||
/* Map IRQ0-15 @ ISR 0x50-0x5F */
|
||||
#define IRQ_VECTOR_BASE 0x50
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue