summaryrefslogtreecommitdiffhomepage
path: root/Public/Kits/System.Core/InitRuntime.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 21:01:12 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 21:01:12 +0100
commitde413aa50bac1342e4ac8c7a66697ea3b551c2e4 (patch)
treeeef86262346e556f276727da3d8175ead9c6ff1d /Public/Kits/System.Core/InitRuntime.cxx
parentaf7bb25934e8f6781cb7b34ef345ef9af723a2ff (diff)
Kernel(Secret): Major commit.
- Extensive cleanup of the code, and kernel improvements. - The System API has been reworked to be better designed. What is needed now: - AHCI disk driver. - HCFS/NewFS driver. - EPM layout implementation. - Separate bootloader and kernel.
Diffstat (limited to 'Public/Kits/System.Core/InitRuntime.cxx')
-rw-r--r--Public/Kits/System.Core/InitRuntime.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Public/Kits/System.Core/InitRuntime.cxx b/Public/Kits/System.Core/InitRuntime.cxx
new file mode 100644
index 00000000..01eb2c1f
--- /dev/null
+++ b/Public/Kits/System.Core/InitRuntime.cxx
@@ -0,0 +1,12 @@
+/** ===========================================
+ (C) Mahrouss Logic
+ ===========================================*/
+
+#include <System.Core/Heap.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