From b2c7b8604ed3a4c209a15a9ffd718a43163dd9b4 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 28 Mar 2024 20:54:33 +0100 Subject: NewKernel: Add PowerPC partition type inside EPM, add Leak() FileStream method. and documentation. SystemLib: Start implementing the API. Signed-off-by: Amlal El Mahrouss --- Public/Developer/System.Core/Sources/Start.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Public/Developer/System.Core/Sources/Start.c (limited to 'Public/Developer/System.Core/Sources/Start.c') 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 + +/// @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; +} -- cgit v1.2.3