summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources/SMPManager.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-09 16:49:29 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-07-09 16:49:29 +0200
commit560a6c233286ec736a7a7c570efc68161c9953be (patch)
tree0c1154e75966870d11204a9d7f91d72943c3ab54 /Kernel/Sources/SMPManager.cxx
parent631de363c6f353328a358d7c1d50e1781e5402cc (diff)
MHR-36: newoskrnl: Adding support for ARM64 based UEFI machines, (EPM
UEFI) Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Kernel/Sources/SMPManager.cxx')
-rw-r--r--Kernel/Sources/SMPManager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Sources/SMPManager.cxx b/Kernel/Sources/SMPManager.cxx
index 8b0aca9b..59c66073 100644
--- a/Kernel/Sources/SMPManager.cxx
+++ b/Kernel/Sources/SMPManager.cxx
@@ -160,9 +160,9 @@ namespace Kernel
// to avoid any null deref.
if (!fThreadList[idx].Leak().Leak()->fStack)
continue;
- if (fThreadList[idx].Leak().Leak()->fStack->Rsp == 0)
+ if (fThreadList[idx].Leak().Leak()->fStack->SP == 0)
continue;
- if (fThreadList[idx].Leak().Leak()->fStack->Rbp == 0)
+ if (fThreadList[idx].Leak().Leak()->fStack->BP == 0)
continue;
fThreadList[idx].Leak().Leak()->Busy(true);