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 22:49:49 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 22:53:45 +0100
commitd562c97291a69d1ce73e89ba300209a49d419173 (patch)
tree7ee625bb1ef115f3fae9cf60e0586880dc8ba3c7 /Public/Developer/System.Core/Sources/Start.c
parentb2c7b8604ed3a4c209a15a9ffd718a43163dd9b4 (diff)
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 <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Developer/System.Core/Sources/Start.c')
-rw-r--r--Public/Developer/System.Core/Sources/Start.c7
1 files changed, 4 insertions, 3 deletions
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 <System.Core/Headers/Heap.h>
+/// @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;
}