diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-09-01 11:21:55 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-09-01 11:21:55 +0200 |
| commit | 1af5efb5c96af6f3246c8eae42912b2fbcd7f006 (patch) | |
| tree | 9cf4cf8d7ed93eef0ff3daac211879cb9a961c81 /dev/ZKA/Sources/ThreadLocalStorage.cxx | |
| parent | e757bb6a90c98f53995e4828d68eba26a2327540 (diff) | |
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 <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/Sources/ThreadLocalStorage.cxx')
| -rw-r--r-- | dev/ZKA/Sources/ThreadLocalStorage.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |
