From 42d16947690577afd1f8f75ebc80041cd36588fd Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 31 Mar 2025 16:52:03 +0200 Subject: meta: ran format.sh Signed-off-by: Amlal El Mahrouss --- dev/kernel/HALKit/AMD64/HalApplicationProcessor.cc | 4 ++-- dev/kernel/HALKit/AMD64/Processor.h | 2 +- dev/kernel/HALKit/POWER/Processor.h | 2 +- dev/kernel/StorageKit/AHCI.h | 2 +- dev/kernel/src/DriveMgr.cc | 16 ++++++++-------- 5 files changed, 13 insertions(+), 13 deletions(-) (limited to 'dev') 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 -#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 #include -#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"; -- cgit v1.2.3