From 6926ed5c2da1e8928e14fe38ffd431fe37694fb1 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 12 Feb 2024 14:00:22 +0100 Subject: HCR-15: Loading HCoreStage2.exe into memory. Signed-off-by: Amlal El Mahrouss --- Private/KernelKit/CodeManager.hpp | 2 +- Private/KernelKit/FileManager.hpp | 2 ++ Private/KernelKit/PECodeManager.hxx | 20 ++++++++++++++++++++ Private/KernelKit/ProcessManager.hpp | 12 ++++++++++-- 4 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 Private/KernelKit/PECodeManager.hxx (limited to 'Private/KernelKit') diff --git a/Private/KernelKit/CodeManager.hpp b/Private/KernelKit/CodeManager.hpp index 0274b92e..4bbbc350 100644 --- a/Private/KernelKit/CodeManager.hpp +++ b/Private/KernelKit/CodeManager.hpp @@ -13,6 +13,6 @@ #pragma once +#include #include -// #include #include diff --git a/Private/KernelKit/FileManager.hpp b/Private/KernelKit/FileManager.hpp index fea63a0a..29c5e755 100644 --- a/Private/KernelKit/FileManager.hpp +++ b/Private/KernelKit/FileManager.hpp @@ -21,6 +21,8 @@ #include #endif // __USE_NEWFS__ +#include +#include #include #include #include diff --git a/Private/KernelKit/PECodeManager.hxx b/Private/KernelKit/PECodeManager.hxx new file mode 100644 index 00000000..e8af541e --- /dev/null +++ b/Private/KernelKit/PECodeManager.hxx @@ -0,0 +1,20 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + + File: PECodeManager.hxx + Purpose: PE32+ Code Manager and Shared Objects. + + Revision History: + + 12/02/24: Added file (amlel) + +------------------------------------------- */ + +#pragma once + +//////////////////////////////////////////////////// + +// LAST REV: Mon Feb 12 13:52:01 CET 2024 + +//////////////////////////////////////////////////// diff --git a/Private/KernelKit/ProcessManager.hpp b/Private/KernelKit/ProcessManager.hpp index c57f09c1..e6d86959 100644 --- a/Private/KernelKit/ProcessManager.hpp +++ b/Private/KernelKit/ProcessManager.hpp @@ -19,7 +19,11 @@ #define kMinMicroTime AffinityKind::kHartStandard -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////// + +// LAST REV: Mon Feb 12 13:52:01 CET 2024 + +//////////////////////////////////////////////////// namespace HCore { //! @brief Process identifier. @@ -215,6 +219,10 @@ const Int32 &rt_get_exit_code() noexcept; #include -//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////// + +// END + +//////////////////////////////////////////////////// #endif /* ifndef __PROCESS_MANAGER__ */ -- cgit v1.2.3