summaryrefslogtreecommitdiffhomepage
path: root/dev/zba/src/Thread.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-10-20 17:53:37 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-10-20 17:53:37 +0200
commit7764e88cd0032cd57fdc17a2906db9d8af9999e1 (patch)
treea373ed0682c3161ee38b77089bc8fab821304a6b /dev/zba/src/Thread.cxx
parent22e85ecdb17888268d32997b20e01cc98968cc3d (diff)
IMP: New implementations and improvements.
- Heap class allocation have been fixed. - Scheduler allocation has been fixed. - A new better flow for the kernel has been designed. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/zba/src/Thread.cxx')
-rw-r--r--dev/zba/src/Thread.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/zba/src/Thread.cxx b/dev/zba/src/Thread.cxx
index a8b3e87c..46b9030b 100644
--- a/dev/zba/src/Thread.cxx
+++ b/dev/zba/src/Thread.cxx
@@ -39,11 +39,11 @@ namespace Boot
if (blob_bytes[0] == kMagMz0 &&
blob_bytes[1] == kMagMz1)
{
- LDR_EXEC_HEADER_PTR header_ptr = ldr_find_exec_header(blob_bytes);
+ LDR_EXEC_HEADER_PTR header_ptr = ldr_find_exec_header(blob_bytes);
LDR_OPTIONAL_HEADER_PTR opt_header_ptr = ldr_find_opt_exec_header(blob_bytes);
if (!header_ptr || !opt_header_ptr)
- return;
+ return;
#ifdef __ZKA_AMD64__
if (header_ptr->mMachine != kPeMachineAMD64 ||