summaryrefslogtreecommitdiffhomepage
path: root/Public/Kits/System.Core/RuntimeInit.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 10:05:31 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 10:05:31 +0100
commitbaf2afd8cd672dcb9c13d956dfdd73b61dfee558 (patch)
tree0734d2fe6d480e9805121e1c7d5e42f20bf4e8f4 /Public/Kits/System.Core/RuntimeInit.cxx
parent98347089c7e4e2b306d25a0db77e00aa2ea50882 (diff)
unstable, secret: See below.
System.Core: - Add RunTime init function. - Add ReadMe.md Kernel: - Improve TLS code, use Encoder class instead of casting directly. - Refactor process team to include processscheduler.hpp instead. ObjectKit: - Rename Object.hxx to ObjectKit.hxx Builtins/AHCI: - Rename API.hxx to Interface.hxx Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Kits/System.Core/RuntimeInit.cxx')
-rw-r--r--Public/Kits/System.Core/RuntimeInit.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Public/Kits/System.Core/RuntimeInit.cxx b/Public/Kits/System.Core/RuntimeInit.cxx
new file mode 100644
index 00000000..b6022bef
--- /dev/null
+++ b/Public/Kits/System.Core/RuntimeInit.cxx
@@ -0,0 +1,12 @@
+/** ===========================================
+ (C) Mahrouss Logic
+ ===========================================*/
+
+#include <System.Core/HCoreHeap.hxx>
+
+/// @brief Inits the C runtime
+/// @return if it was succesful or not.
+DWORD HcInitRuntime(VOID) {
+ kInstanceObject = HcGetProcessObject();
+ return 0;
+} \ No newline at end of file