diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-03-31 16:52:03 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-03-31 16:52:03 +0200 |
| commit | 42d16947690577afd1f8f75ebc80041cd36588fd (patch) | |
| tree | 411ff76f756d7d115f689f4c935c3719e8279297 | |
| parent | c87132386b4718b4cda036b17caec988dbb2069f (diff) | |
meta: ran format.sh
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | dev/kernel/HALKit/AMD64/HalApplicationProcessor.cc | 4 | ||||
| -rw-r--r-- | dev/kernel/HALKit/AMD64/Processor.h | 2 | ||||
| -rw-r--r-- | dev/kernel/HALKit/POWER/Processor.h | 2 | ||||
| -rw-r--r-- | dev/kernel/StorageKit/AHCI.h | 2 | ||||
| -rw-r--r-- | dev/kernel/src/DriveMgr.cc | 16 |
5 files changed, 13 insertions, 13 deletions
diff --git a/dev/kernel/HALKit/AMD64/HalApplicationProcessor.cc b/dev/kernel/HALKit/AMD64/HalApplicationProcessor.cc index a59d43af..f839884e 100644 --- a/dev/kernel/HALKit/AMD64/HalApplicationProcessor.cc +++ b/dev/kernel/HALKit/AMD64/HalApplicationProcessor.cc @@ -45,8 +45,8 @@ namespace Kernel::HAL }; STATIC PROCESS_APIC_MADT* kMADTBlock = nullptr; - STATIC Bool kSMPAware = false; - STATIC Int64 kSMPCount = 0; + STATIC Bool kSMPAware = false; + STATIC Int64 kSMPCount = 0; STATIC UIntPtr kApicBaseAddress = 0UL; diff --git a/dev/kernel/HALKit/AMD64/Processor.h b/dev/kernel/HALKit/AMD64/Processor.h index 082f6d76..eff0292b 100644 --- a/dev/kernel/HALKit/AMD64/Processor.h +++ b/dev/kernel/HALKit/AMD64/Processor.h @@ -30,7 +30,7 @@ #include <HALKit/AMD64/CPUID.h> -#define rtl_nop_op() asm volatile("nop") +#define rtl_nop_op() asm volatile("nop") /// @brief Maximum entries of the interrupt descriptor table. #define kKernelIdtSize (0x100) diff --git a/dev/kernel/HALKit/POWER/Processor.h b/dev/kernel/HALKit/POWER/Processor.h index 8200e466..507805c7 100644 --- a/dev/kernel/HALKit/POWER/Processor.h +++ b/dev/kernel/HALKit/POWER/Processor.h @@ -11,7 +11,7 @@ #include <NewKit/Defines.h> #include <NewKit/Utils.h> -#define rtl_nop_op() asm volatile("mr 0, 0") +#define rtl_nop_op() asm volatile("mr 0, 0") #define kHalPPCAlignment __attribute__((aligned(4))) namespace Kernel::HAL diff --git a/dev/kernel/StorageKit/AHCI.h b/dev/kernel/StorageKit/AHCI.h index d6aeaee8..7e2eaf68 100644 --- a/dev/kernel/StorageKit/AHCI.h +++ b/dev/kernel/StorageKit/AHCI.h @@ -32,7 +32,7 @@ namespace Kernel Void SetPortsImplemented(const UInt16& pi); const UInt32& GetIndex(); - + Void SetIndex(const UInt32& drv); public: diff --git a/dev/kernel/src/DriveMgr.cc b/dev/kernel/src/DriveMgr.cc index 3b0dd9ee..c83e63c8 100644 --- a/dev/kernel/src/DriveMgr.cc +++ b/dev/kernel/src/DriveMgr.cc @@ -144,10 +144,10 @@ namespace Kernel rt_copy_memory((VoidPtr)kBlankDrive, trait.fName, rt_string_len(kBlankDrive)); trait.fKind = kInvalidDrive; - trait.fInput = io_drv_unimplemented; - trait.fOutput = io_drv_unimplemented; - trait.fVerify = io_drv_unimplemented; - trait.fInit = io_drv_unimplemented; + trait.fInput = io_drv_unimplemented; + trait.fOutput = io_drv_unimplemented; + trait.fVerify = io_drv_unimplemented; + trait.fInit = io_drv_unimplemented; trait.fProtocol = io_drv_kind; kout << "Construct: " << trait.fName << "\r"; @@ -220,10 +220,10 @@ namespace Kernel MUST_PASS(trait.fName[0] != 0); - trait.fVerify = io_drv_unimplemented; - trait.fOutput = io_drv_output; - trait.fInput = io_drv_input; - trait.fInit = io_drv_init; + trait.fVerify = io_drv_unimplemented; + trait.fOutput = io_drv_output; + trait.fInput = io_drv_input; + trait.fInit = io_drv_init; trait.fProtocol = io_drv_kind; kout << "Detecting partition scheme of: " << trait.fName << ".\r"; |
