From 7e5be1572c043484293ee0cdd840dd41f54e87ee Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 29 Mar 2024 17:01:55 +0100 Subject: Kernel and SystemLib: See below. What has been done: - Rename most System.Core to SystemLib. - Reworked it's API and the concept of ObjectRef to become the ApplicationRef object. - Remove unused ODF and XIFF file format from tree, ODF will be part of the text editing program. - Update Readme for SystemLib. - Add Support folder on NewFS partitions. What is next: - NewFS filesystem support. - Program loading. - Preemptive scheduler on non-SMP systems using timers. Signed-off-by: Amlal El Mahrouss --- Public/Developer/SystemLib/Sources/ApplicationStart.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Public/Developer/SystemLib/Sources/ApplicationStart.c (limited to 'Public/Developer/SystemLib/Sources/ApplicationStart.c') diff --git a/Public/Developer/SystemLib/Sources/ApplicationStart.c b/Public/Developer/SystemLib/Sources/ApplicationStart.c new file mode 100644 index 00000000..5b91ba18 --- /dev/null +++ b/Public/Developer/SystemLib/Sources/ApplicationStart.c @@ -0,0 +1,14 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#include + +/// @brief Inits the system library. +/// @return if it was succesful or not. +CA_EXTERN_C VoidType __start(VoidType) { + kSharedApplication = RtGetAppObject(); + CA_MUST_PASS(kSharedApplication); +} -- cgit v1.2.3