summaryrefslogtreecommitdiffhomepage
path: root/Kernel/Sources
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-08 17:10:31 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-08 17:10:31 +0200
commit5c079a35ae724d9c6be0b8adf0717728a1368c69 (patch)
tree944050de13b26295424dd513d140f34d6ec8b029 /Kernel/Sources
parentdf8393cebbae61ed7686be17a28d80c657f49b7e (diff)
[FIXES] SEE BELOW.
+ Cleanup SCIBase.hxx, using functions instead of passing arguments to syscall. + Update Process scheduler, refactored the code and improved some chunk of it. + Update the THREAD_INFORMATION_BLOCK structure. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/Sources')
-rw-r--r--Kernel/Sources/ProcessScheduler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Sources/ProcessScheduler.cxx b/Kernel/Sources/ProcessScheduler.cxx
index cacdd060..4d421ee4 100644
--- a/Kernel/Sources/ProcessScheduler.cxx
+++ b/Kernel/Sources/ProcessScheduler.cxx
@@ -197,11 +197,11 @@ namespace Kernel
if (this->Kind == kSharedObjectKind)
{
bool success = false;
- rtl_fini_shared_object(this, this->SharedObjectPEF, &success);
+ rtl_fini_shared_object(this, this->DLLPtr, &success);
if (success)
{
- this->SharedObjectPEF = nullptr;
+ this->DLLPtr = nullptr;
}
}
@@ -233,7 +233,7 @@ namespace Kernel
}
else if (process.Leak().Kind == PROCESS_HEADER_BLOCK::kSharedObjectKind)
{
- process.Leak().SharedObjectPEF = rtl_init_shared_object(&process.Leak());
+ process.Leak().DLLPtr = rtl_init_shared_object(&process.Leak());
process.Leak().HeapPtr = sched_new_heap(kUserHeapUser | kUserHeapRw | kUserHeapShared);
}
else