From 1af5efb5c96af6f3246c8eae42912b2fbcd7f006 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 1 Sep 2024 11:21:55 +0200 Subject: Many bug fixes, and wip fixes. RoadMap: - Ring-3 switch [ Still gives GPF ] - Make timer interrupt on non SMP profile. - Work on SMP support, to offload tasks to other cores. - Validate kernel and components (compiler, dlls, programs...) Signed-off-by: Amlal El Mahrouss --- dev/ZKA/Sources/ThreadLocalStorage.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dev/ZKA/Sources/ThreadLocalStorage.cxx') diff --git a/dev/ZKA/Sources/ThreadLocalStorage.cxx b/dev/ZKA/Sources/ThreadLocalStorage.cxx index 4ee2494e..c8befa98 100644 --- a/dev/ZKA/Sources/ThreadLocalStorage.cxx +++ b/dev/ZKA/Sources/ThreadLocalStorage.cxx @@ -72,7 +72,7 @@ Boolean tls_check_tib(THREAD_INFORMATION_BLOCK* the_tib) Encoder encoder; const char* tibAsBytes = encoder.AsBytes(the_tib); - kcout << "newoskrnl: checking for a valid cookie inside the TIB...\r"; + kcout << "newoskrnl.dll: checking for a valid cookie inside the TIB...\r"; return tibAsBytes[0] == kCookieMag0 && tibAsBytes[1] == kCookieMag1 && tibAsBytes[2] == kCookieMag2; @@ -87,7 +87,7 @@ EXTERN_C Bool tls_check_syscall_impl(Kernel::VoidPtr tib_ptr) noexcept { if (!tib_ptr) { - kcout << "newoskrnl: failing because of an invalid TIB...\r"; + kcout << "newoskrnl.dll: failing because of an invalid TIB...\r"; return false; } @@ -95,10 +95,10 @@ EXTERN_C Bool tls_check_syscall_impl(Kernel::VoidPtr tib_ptr) noexcept if (!tls_check_tib(tib_struct)) { - kcout << "newoskrnl: crashing because of an invalid TIB...\r"; + kcout << "newoskrnl.dll: crashing because of an invalid TIB...\r"; return false; } - kcout << "newoskrnl: Verification succeeded! staying alive...\r"; + kcout << "newoskrnl.dll: Verification succeeded! staying alive...\r"; return true; } -- cgit v1.2.3