summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-26 19:40:48 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-26 19:40:48 +0200
commit38cb63e4ed36dfbfb3b13039d4a840d4016c6442 (patch)
tree9d9e5f66c02e8837836b22e3fd26e102c9497bd3 /Kernel/Sources
parentf5f363d2a2b973380b5b95aacb2f4b7f550c3ef1 (diff)
[IMP] Move ke_wait_for_debugger inside function 'Recover'
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/Sources')
-rw-r--r--Kernel/Sources/KernelCheck.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/Kernel/Sources/KernelCheck.cxx b/Kernel/Sources/KernelCheck.cxx
index be2150ae..c3c37769 100644
--- a/Kernel/Sources/KernelCheck.cxx
+++ b/Kernel/Sources/KernelCheck.cxx
@@ -92,13 +92,14 @@ namespace Kernel
RecoveryFactory::Recover();
-#ifdef __DEBUG__
- ke_wait_for_debugger();
-#endif // ifdef __DEBUG__
}
Void RecoveryFactory::Recover() noexcept
- {
+ {
+#ifdef __DEBUG__
+ ke_wait_for_debugger();
+#endif // ifdef __DEBUG__
+
PowerFactoryInterface powerInterface(kHandoverHeader->f_HardwareTables.f_VendorPtr);
powerInterface.Shutdown();
}