summaryrefslogtreecommitdiffhomepage
path: root/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-19 19:13:03 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-05-19 19:13:03 +0200
commitaad2c069563a3e7318b575216db6deb313445f2c (patch)
tree2ba42b767473bebdca9d2538d120f0b4d82194e4 /Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp
parentc0428f8e5feba9573e572a1a1b3c66cfa1f29108 (diff)
MHR-23: Fix run_format.sh, inl files needs to be formated as well.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp')
-rw-r--r--Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp26
1 files changed, 13 insertions, 13 deletions
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