summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/System.Core/Sources/Start.c
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 20:54:33 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 20:54:33 +0100
commitb2c7b8604ed3a4c209a15a9ffd718a43163dd9b4 (patch)
tree851d79e3a9b1c676b48ec8dfcd2b989f4da45c9b /Public/Developer/System.Core/Sources/Start.c
parent215518ae55a54973a1ae18f572ca5bf0ac2a499e (diff)
NewKernel: Add PowerPC partition type inside EPM, add Leak() FileStream method. and documentation.
SystemLib: Start implementing the API. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Developer/System.Core/Sources/Start.c')
-rw-r--r--Public/Developer/System.Core/Sources/Start.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/Public/Developer/System.Core/Sources/Start.c b/Public/Developer/System.Core/Sources/Start.c
new file mode 100644
index 00000000..25a29e18
--- /dev/null
+++ b/Public/Developer/System.Core/Sources/Start.c
@@ -0,0 +1,14 @@
+/** ===========================================
+ (C) Mahrouss Logic
+ ===========================================*/
+
+#include <System.Core/Headers/Heap.h>
+
+/// @brief Inits the library.
+/// @return if it was succesful or not.
+CA_EXTERN_C DWordType __start(VoidType) {
+ kApplicationObject = RtGetAppObject();
+ CA_MUST_PASS(kApplicationObject);
+
+ return 0;
+}