From aad2c069563a3e7318b575216db6deb313445f2c Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 19 May 2024 19:13:03 +0200 Subject: MHR-23: Fix run_format.sh, inl files needs to be formated as well. Signed-off-by: Amlal El Mahrouss --- .../HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp') diff --git a/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp b/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp index 470a3286..abd19586 100644 --- a/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp +++ b/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright SoftwareLabs + Copyright SoftwareLabs ------------------------------------------- */ @@ -23,12 +23,12 @@ namespace NewOS::HAL constexpr Int32 kThreadBoot = 4; /* - * - * this is used to store info about the current running thread - * we use this struct to determine if we can use it, or mark it as used or on - * sleep. - * - */ + * + * this is used to store info about the current running thread + * we use this struct to determine if we can use it, or mark it as used or on + * sleep. + * + */ struct ProcessorInfoAMD64 final { @@ -53,7 +53,7 @@ namespace NewOS::HAL { Char RecordType; Char RecordLen; // record length - + UInt32 Address; UInt32 Flags; // 1 = Dual Legacy PICs installed } MadtRecords[]; @@ -109,14 +109,14 @@ namespace NewOS::HAL if (kApicMadt) { - kcout << "New OS: APIC is present...\r"; + kcout << "New OS: APIC is present...\r"; kApicInfoBlock = (MadtType*)kApicMadt; } - else - { + else + { kcout << "New OS: APIC is not present! it is a vital component.\r"; - ke_stop(RUNTIME_CHECK_FAILED); - } + ke_stop(RUNTIME_CHECK_FAILED); + } } } // namespace NewOS::HAL -- cgit v1.2.3