diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-25 16:43:00 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-25 16:43:00 +0100 |
| commit | be29b406526c931a606d4d4de545f71e62bc893a (patch) | |
| tree | 99a37a287dda888803653df9e13cb1336150cb85 /Private/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp | |
| parent | f5e0bc85b06c84e0c6bc1da471630d02ff2ed7a3 (diff) | |
Kernel: A lot of preliminary changes before AHCI and SMP support.
Diffstat (limited to 'Private/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp')
| -rw-r--r-- | Private/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Private/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp b/Private/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp index d9161d17..fe38189e 100644 --- a/Private/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp +++ b/Private/HALKit/AMD64/HalCoreMultiProcessingAMD64.cpp @@ -93,7 +93,7 @@ struct MadtLocalApicAddressOverride final { STATIC MadtType kApicMadtList[256]; -MadtType* system_find_core(MadtType* madt) { +MadtType* _hal_system_find_core(MadtType* madt) { madt = madt + sizeof(MadtType); if (rt_string_cmp(madt->fMag, kApicSignature, @@ -112,12 +112,12 @@ void hal_system_get_cores(voidPtr rsdPtr) { MUST_PASS(kApicMadt); // MADT must exist. SizeT counter = 0UL; - MadtType* offset = system_find_core((MadtType*)kApicMadt); + MadtType* offset = _hal_system_find_core((MadtType*)kApicMadt); //! now find core addresses. while (offset != nullptr) { // calls rt_copy_memory in NewC++ kApicMadtList[counter] = *offset; - offset = system_find_core(offset); + offset = _hal_system_find_core(offset); ++counter; } |
