From 3bfb95803ba25a04ddb57ebbc0f25e4dec29d7e0 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Wed, 31 Jul 2024 00:13:51 +0200 Subject: [IMP] Can now pass arguments to kernel via handover, new version 0x0113. [IMP] Timeout functions for heap allocation. [IMP] new mp_ and sched_ category of functions. Signed-off-by: Amlal EL Mahrouss --- Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'Kernel/HALKit/AMD64/HalCoreMultiProcessingAMD64.cxx') 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 { -- cgit v1.2.3