From d562c97291a69d1ce73e89ba300209a49d419173 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 28 Mar 2024 22:49:49 +0100 Subject: Extend Swap HD from 4MIB to 16MIB, Made SystemLib purely C, added SystemCxxLib for that occasion. Update Framebuffer include to define the color utils inside the C++ source file. Signed-off-by: Amlal El Mahrouss --- Public/Developer/System.Core/Sources/Start.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (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 index 25a29e18..24d41a1e 100644 --- a/Public/Developer/System.Core/Sources/Start.c +++ b/Public/Developer/System.Core/Sources/Start.c @@ -4,11 +4,12 @@ #include +/// @brief Main Application object, retrieved from __start symbol. +CA_EXTERN_C ObjectRef kApplicationObject = NULL; + /// @brief Inits the library. /// @return if it was succesful or not. -CA_EXTERN_C DWordType __start(VoidType) { +CA_EXTERN_C VoidType __start(VoidType) { kApplicationObject = RtGetAppObject(); CA_MUST_PASS(kApplicationObject); - - return 0; } -- cgit v1.2.3