summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/HALKit/AMD64/HalDescriptorLoader.cc
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-05 12:19:58 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-01-05 12:19:58 +0100
commite0633b442140d49e08af6759bd07c89e16ef0e2a (patch)
treec83a84f5df6b3f5d486a53e19cc8ad55cd082587 /dev/Kernel/HALKit/AMD64/HalDescriptorLoader.cc
parent5903f0c8eca69916c3acffcbe0a20a9af36fdf27 (diff)
ADD: Ran format command and refactors too.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/HALKit/AMD64/HalDescriptorLoader.cc')
-rw-r--r--dev/Kernel/HALKit/AMD64/HalDescriptorLoader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/Kernel/HALKit/AMD64/HalDescriptorLoader.cc b/dev/Kernel/HALKit/AMD64/HalDescriptorLoader.cc
index ed9bf15b..680aa6ed 100644
--- a/dev/Kernel/HALKit/AMD64/HalDescriptorLoader.cc
+++ b/dev/Kernel/HALKit/AMD64/HalDescriptorLoader.cc
@@ -28,8 +28,8 @@ namespace Kernel::HAL
UInt16 cCommDivisor = kPITFrequency / ticks; // 100 Hz.
- HAL::rt_out8(kPITControlPort, 0x36); // Command to PIT
- HAL::rt_out8(kPITChannel0Port, cCommDivisor & 0xFF); // Send low byte
+ HAL::rt_out8(kPITControlPort, 0x36); // Command to PIT
+ HAL::rt_out8(kPITChannel0Port, cCommDivisor & 0xFF); // Send low byte
HAL::rt_out8(kPITChannel0Port, (cCommDivisor >> 8) & 0xFF); // Send high byte
hal_clear_irq_mask(32);