summaryrefslogtreecommitdiffhomepage
path: root/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx')
-rw-r--r--Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx b/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx
index 0557afac..2f82da6b 100644
--- a/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx
+++ b/Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx
@@ -120,9 +120,6 @@ namespace Kernel::HAL
STATIC MadtType* kApicInfoBlock = nullptr;
- EXTERN_C SizeT kApicMadtAddressesCount = 0UL;
- EXTERN_C SizeT cBspDone = 0UL;
-
enum
{
cAPICEOI = 0xb0,
@@ -225,15 +222,7 @@ namespace Kernel::HAL
if (kApicMadt != nullptr)
{
- UInt8 bsp_id, bsp_done = No;
-
- UInt32 num_cores = 4;
- UInt32* local_apic_ptr = nullptr;
- UInt32* local_apic_ids[255] = {0};
-
- MadtType* type = (MadtType*)kApicMadt;
-
- local_apic_ptr = (UInt32*)type->Address;
+ kApicInfoBlock = (MadtType*)kApicMadt;
}
else
{