summaryrefslogtreecommitdiff
path: root/Kernel/Arch/x86/InterruptDisabler.h
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2022-05-16 14:37:50 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-02 13:14:12 +0100
commitea9cf8b6ab6a3941ecb4727723e8e38fbd6b4bb8 (patch)
treed054be12c97457d41a16653773bf939eb13668b6 /Kernel/Arch/x86/InterruptDisabler.h
parent9413fe9fe5e585a143502dd96236435a3a353c27 (diff)
downloadserenity-ea9cf8b6ab6a3941ecb4727723e8e38fbd6b4bb8.zip
Kernel: Separate NonMaskableInterruptDisabler into its own file
This is for the upcoming change to make InterruptDisabler class work for the aarch64 build.
Diffstat (limited to 'Kernel/Arch/x86/InterruptDisabler.h')
-rw-r--r--Kernel/Arch/x86/InterruptDisabler.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/Kernel/Arch/x86/InterruptDisabler.h b/Kernel/Arch/x86/InterruptDisabler.h
index 094ca04c30..941ddaab2b 100644
--- a/Kernel/Arch/x86/InterruptDisabler.h
+++ b/Kernel/Arch/x86/InterruptDisabler.h
@@ -35,17 +35,4 @@ private:
u32 m_flags;
};
-class NonMaskableInterruptDisabler {
-public:
- NonMaskableInterruptDisabler()
- {
- IO::out8(0x70, IO::in8(0x70) | 0x80);
- }
-
- ~NonMaskableInterruptDisabler()
- {
- IO::out8(0x70, IO::in8(0x70) & 0x7F);
- }
-};
-
}