From e47e393fc01c663ca634068c56a41eb74ed01439 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 2 Sep 2024 17:30:15 +0200 Subject: [ FIX ] A fix has been found for the SYSRET issue. Will apply it later. Signed-off-by: Amlal El Mahrouss --- dev/ZKA/Sources/DLLMain.cxx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'dev/ZKA/Sources/DLLMain.cxx') diff --git a/dev/ZKA/Sources/DLLMain.cxx b/dev/ZKA/Sources/DLLMain.cxx index d8edeaaf..25be253f 100644 --- a/dev/ZKA/Sources/DLLMain.cxx +++ b/dev/ZKA/Sources/DLLMain.cxx @@ -188,8 +188,15 @@ EXTERN_C Kernel::Void ke_dll_entrypoint(Kernel::Void) Kernel::cProcessScheduler = nullptr; Kernel::ProcessHelper::StartScheduling(); - CG::CGDrawStringToWnd(cKernelWnd, "newoskrnl.dll: Starting ZKA System...", 30, 10, RGB(0, 0, 0)); + CG::CGDrawStringToWnd(cKernelWnd, "newoskrnl.dll: Starting ZKA System...", 20, 10, RGB(0, 0, 0)); + + static Kernel::MainKind fn = []() -> void {while(1); }; + Kernel::sched_execute_thread(fn, "ZKA Logger"); + + while (Yes) + { + Kernel::ProcessHelper::StartScheduling(); + } - Kernel::ProcessHelper::StartScheduling(); Kernel::ke_stop(RUNTIME_CHECK_BOOTSTRAP); } -- cgit v1.2.3