summaryrefslogtreecommitdiffhomepage
path: root/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-05-23 07:53:50 +0000
committerAmlal <amlalelmahrouss@icloud.com>2024-05-23 07:53:50 +0000
commitf5081a8f9a8537ad5be5d639955cd1d0e68a9e1d (patch)
treec9305701aa2d4ee0235c85c67cd6633e5763ec21 /Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp
parentca675beb41dba8d7d16c5793b55d1672f38be3b4 (diff)
parent06b1a4bb12b4043b606d8bb0d55942d636c6833e (diff)
Merged in MHR-23 (pull request #13)
MHR-23
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