summaryrefslogtreecommitdiff
path: root/Kernel/Interrupts/PIC.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-12 17:38:49 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-12 17:38:49 +0100
commitf086d6db65fc099025254d5eb01fb005cd2b9fed (patch)
tree53a294fc5c80a7c4a322cd9e198015df36f07e72 /Kernel/Interrupts/PIC.cpp
parentd3f112f9a26851f5431cb4f6c74d011292de5c36 (diff)
downloadserenity-f086d6db65fc099025254d5eb01fb005cd2b9fed.zip
Kernel: Run clang-format on PIC.cpp
Diffstat (limited to 'Kernel/Interrupts/PIC.cpp')
-rw-r--r--Kernel/Interrupts/PIC.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/Kernel/Interrupts/PIC.cpp b/Kernel/Interrupts/PIC.cpp
index c8a87564ea..98f92cde97 100644
--- a/Kernel/Interrupts/PIC.cpp
+++ b/Kernel/Interrupts/PIC.cpp
@@ -42,17 +42,17 @@ namespace Kernel {
#define PIC1_CTL 0xA0
#define PIC1_CMD 0xA1
-#define ICW1_ICW4 0x01 /* ICW4 (not) needed */
-#define ICW1_SINGLE 0x02 /* Single (cascade) mode */
-#define ICW1_INTERVAL4 0x04 /* Call address interval 4 (8) */
-#define ICW1_LEVEL 0x08 /* Level triggered (edge) mode */
-#define ICW1_INIT 0x10 /* Initialization - required! */
-
-#define ICW4_8086 0x01 /* 8086/88 (MCS-80/85) mode */
-#define ICW4_AUTO 0x02 /* Auto (normal) EOI */
-#define ICW4_BUF_SLAVE 0x08 /* Buffered mode/slave */
-#define ICW4_BUF_MASTER 0x0C /* Buffered mode/master */
-#define ICW4_SFNM 0x10 /* Special fully nested (not) */
+#define ICW1_ICW4 0x01 // ICW4 (not) needed
+#define ICW1_SINGLE 0x02 // Single (cascade) mode
+#define ICW1_INTERVAL4 0x04 // Call address interval 4 (8)
+#define ICW1_LEVEL 0x08 // Level triggered (edge) mode
+#define ICW1_INIT 0x10 // Initialization - required
+
+#define ICW4_8086 0x01 // 8086/88 (MCS-80/85) mode
+#define ICW4_AUTO 0x02 // Auto (normal) EOI
+#define ICW4_BUF_SLAVE 0x08 // Buffered mode/slave
+#define ICW4_BUF_MASTER 0x0C // Buffered mode/master
+#define ICW4_SFNM 0x10 // Special fully nested (not)
bool inline static is_all_masked(u16 reg)
{