summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/ProcessManager.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-06 11:30:56 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-06 11:30:56 +0100
commit61492dc648412818e1f0e96dbc9522514b1fed2a (patch)
tree068fd8cca5e27cbe48990dae2e10cc618e6ae155 /Private/KernelKit/ProcessManager.hpp
parent55eb89dde91318a6b7f37e824d383e0625cd53f1 (diff)
HCR-15 : Load kernel into memory.
Progess have been done regarding PE/MZ support, also updated PEF impl to not rely on compiler feature __attribute__ Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/KernelKit/ProcessManager.hpp')
-rw-r--r--Private/KernelKit/ProcessManager.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Private/KernelKit/ProcessManager.hpp b/Private/KernelKit/ProcessManager.hpp
index ddde3d3c..a459dbbd 100644
--- a/Private/KernelKit/ProcessManager.hpp
+++ b/Private/KernelKit/ProcessManager.hpp
@@ -100,12 +100,16 @@ enum class ProcessSelector : Int {
using ImagePtr = VoidPtr;
using HeapPtr = VoidPtr;
-// @brief Process header structure.
+// @name Process
+// @brief Process Information Header (PIH)
+// Holds information about the running process.
+// Thread execution is being abstracted away.
class Process final {
public:
explicit Process(VoidPtr startImage = nullptr) : Image(startImage) {
MUST_PASS(startImage);
}
+
~Process() = default;
HCORE_COPY_DEFAULT(Process)