summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/Sources/ThreadLocalStorage.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-09-03 15:34:28 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-09-03 15:34:28 +0200
commit441c1460b29f5003a5478032f17a6c5f486dd1fd (patch)
treec74f48a17b83b62dbd9badde686e09e1bdf49f1f /dev/ZKA/Sources/ThreadLocalStorage.cxx
parent7fdb28714eb98d58c55324db51cc7caf97c631bf (diff)
[ FIX ] Almost fixed the ring-3 switch code, which currently gives an UD
error. [ REFACTOR ] Kernel is now a EXE, instead of being a DLL. [ FIX ] Fixed some parts of the user scheduler and kernel, cleaned it up also. 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.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/ZKA/Sources/ThreadLocalStorage.cxx b/dev/ZKA/Sources/ThreadLocalStorage.cxx
index c8befa98..3a60f36c 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.dll: checking for a valid cookie inside the TIB...\r";
+ kcout << "newoskrnl.exe: 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.dll: failing because of an invalid TIB...\r";
+ kcout << "newoskrnl.exe: 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.dll: crashing because of an invalid TIB...\r";
+ kcout << "newoskrnl.exe: crashing because of an invalid TIB...\r";
return false;
}
- kcout << "newoskrnl.dll: Verification succeeded! staying alive...\r";
+ kcout << "newoskrnl.exe: Verification succeeded! staying alive...\r";
return true;
}