diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-30 18:46:00 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-30 19:56:02 +0200 |
| commit | a9d87cbd143b05cc3de711d84401f8ef514f3aa3 (patch) | |
| tree | cfc703f1dc02f6894b4d6d173d18d84be5757c5f /dev/ZKA/Sources/KernelCheck.cxx | |
| parent | 5229ca8ae190c0cb3db8d381a44be4113e81d5dc (diff) | |
[IMP] Updated the ARM64 release of ZKA.
[IMP] Shall use the timer on AMD64 by default, a SMP driver will be written if needed.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/Sources/KernelCheck.cxx')
| -rw-r--r-- | dev/ZKA/Sources/KernelCheck.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dev/ZKA/Sources/KernelCheck.cxx b/dev/ZKA/Sources/KernelCheck.cxx index 3057fe65..85cfe215 100644 --- a/dev/ZKA/Sources/KernelCheck.cxx +++ b/dev/ZKA/Sources/KernelCheck.cxx @@ -114,8 +114,8 @@ namespace Kernel } }; - while (Yes) - ; + PowerFactoryInterface power(nullptr); + power.Reboot(); } Void RecoveryFactory::Recover() noexcept @@ -125,8 +125,10 @@ namespace Kernel HardwareTimer timer(cMaxSeconds); timer.Wait(); + kcout << "newoskrnl: Shutting down...\r"; + PowerFactoryInterface power(nullptr); - power.Reboot(); + power.Shutdown(); } void ke_runtime_check(bool expr, const Char* file, const Char* line) |
