diff options
Diffstat (limited to 'Kernel/HALKit/AMD64')
| -rw-r--r-- | Kernel/HALKit/AMD64/HalAPIC.cxx | 4 | ||||
| -rw-r--r-- | Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx | 4 | ||||
| -rw-r--r-- | Kernel/HALKit/AMD64/HalDescriptorLoader.cxx (renamed from Kernel/HALKit/AMD64/HalDescriptorLoader.cpp) | 0 | ||||
| -rw-r--r-- | Kernel/HALKit/AMD64/HalHart.cxx (renamed from Kernel/HALKit/AMD64/HalHart.cpp) | 0 | ||||
| -rw-r--r-- | Kernel/HALKit/AMD64/HalProcessor.cxx | 16 | ||||
| -rw-r--r-- | Kernel/HALKit/AMD64/HalTimer.cxx | 2 | ||||
| -rw-r--r-- | Kernel/HALKit/AMD64/Processor.hxx | 2 |
7 files changed, 14 insertions, 14 deletions
diff --git a/Kernel/HALKit/AMD64/HalAPIC.cxx b/Kernel/HALKit/AMD64/HalAPIC.cxx index 5e91659f..34ec7494 100644 --- a/Kernel/HALKit/AMD64/HalAPIC.cxx +++ b/Kernel/HALKit/AMD64/HalAPIC.cxx @@ -9,8 +9,8 @@ namespace Kernel::HAL { - /// @brief Read from APIC controller. - /// @param reg register. + /// @brief Read from APIC controller. + /// @param reg register. UInt32 APICController::Read(UInt32 reg) noexcept { MUST_PASS(this->fApic); diff --git a/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx b/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx index 233a6647..48d737fe 100644 --- a/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx +++ b/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx @@ -61,7 +61,7 @@ namespace Kernel::HAL } Selector; }; - STATIC VoidPtr kApicMadt = nullptr; + STATIC VoidPtr kApicMadt = nullptr; STATIC const Char* kApicSignature = "APIC"; /// @brief Multiple APIC Descriptor Table. @@ -172,7 +172,7 @@ namespace Kernel::HAL /// @internal EXTERN_C Void hal_apic_acknowledge(Void) { - kcout << "newoskrnl: acknowledge APIC.\r"; + kcout << "newoskrnl: acknowledge APIC.\r"; } /// @internal diff --git a/Kernel/HALKit/AMD64/HalDescriptorLoader.cpp b/Kernel/HALKit/AMD64/HalDescriptorLoader.cxx index d0ac4e12..d0ac4e12 100644 --- a/Kernel/HALKit/AMD64/HalDescriptorLoader.cpp +++ b/Kernel/HALKit/AMD64/HalDescriptorLoader.cxx diff --git a/Kernel/HALKit/AMD64/HalHart.cpp b/Kernel/HALKit/AMD64/HalHart.cxx index adbf148c..adbf148c 100644 --- a/Kernel/HALKit/AMD64/HalHart.cpp +++ b/Kernel/HALKit/AMD64/HalHart.cxx diff --git a/Kernel/HALKit/AMD64/HalProcessor.cxx b/Kernel/HALKit/AMD64/HalProcessor.cxx index 1f4fb4fd..2eb2d693 100644 --- a/Kernel/HALKit/AMD64/HalProcessor.cxx +++ b/Kernel/HALKit/AMD64/HalProcessor.cxx @@ -13,7 +13,7 @@ namespace Kernel::HAL { - void Out8(UInt16 port, UInt8 value) + Void Out8(UInt16 port, UInt8 value) { asm volatile("outb %%al, %1" : @@ -21,7 +21,7 @@ namespace Kernel::HAL : "memory"); } - void Out16(UInt16 port, UInt16 value) + Void Out16(UInt16 port, UInt16 value) { asm volatile("outw %%ax, %1" : @@ -29,7 +29,7 @@ namespace Kernel::HAL : "memory"); } - void Out32(UInt16 port, UInt32 value) + Void Out32(UInt16 port, UInt32 value) { asm volatile("outl %%eax, %1" : @@ -70,27 +70,27 @@ namespace Kernel::HAL return value; } - void rt_halt() + Void rt_halt() { asm volatile("hlt"); } - void rt_cli() + Void rt_cli() { asm volatile("cli"); } - void rt_sti() + Void rt_sti() { asm volatile("sti"); } - void rt_cld() + Void rt_cld() { asm volatile("cld"); } - void rt_std() + Void rt_std() { asm volatile("std"); } diff --git a/Kernel/HALKit/AMD64/HalTimer.cxx b/Kernel/HALKit/AMD64/HalTimer.cxx index b7015091..e893198f 100644 --- a/Kernel/HALKit/AMD64/HalTimer.cxx +++ b/Kernel/HALKit/AMD64/HalTimer.cxx @@ -8,7 +8,7 @@ Revision History:
07/07/24: Added file (amlel)
-
+
------------------------------------------- */
#include <ArchKit/ArchKit.hpp>
\ No newline at end of file diff --git a/Kernel/HALKit/AMD64/Processor.hxx b/Kernel/HALKit/AMD64/Processor.hxx index 1d2f5597..9571cbfe 100644 --- a/Kernel/HALKit/AMD64/Processor.hxx +++ b/Kernel/HALKit/AMD64/Processor.hxx @@ -281,7 +281,7 @@ namespace Kernel::HAL { /** @brief Global descriptor table entry, either null, code or data. - */ + */ struct PACKED NewOSGDTRecord final { |
