diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-26 13:44:38 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-26 13:47:32 +0100 |
| commit | 66e4f909bd1a495d3f1c34d2e1b5cd71099ab1ae (patch) | |
| tree | d64cc867d352d190dfd5693262a42b31e28b9239 /Public/Developer/System.Core/Sources/CRT0.cxx | |
| parent | dbe4573f61ae059c9dafb8e7623370121d443451 (diff) | |
Kernel and System.Core: kernel related fixes and :boom: on User API.
- UserHeap.cxx: Document code and fix issue in ke_free_heap_internal.
- Scheduler: Rename ProcessManager to ProcessScheduler.
- The System API has been reworked to improve it's design, such as no
more C++ to improve it's portability.
- Moved containers into it's own API.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Developer/System.Core/Sources/CRT0.cxx')
| -rw-r--r-- | Public/Developer/System.Core/Sources/CRT0.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Public/Developer/System.Core/Sources/CRT0.cxx b/Public/Developer/System.Core/Sources/CRT0.cxx new file mode 100644 index 00000000..a0235e68 --- /dev/null +++ b/Public/Developer/System.Core/Sources/CRT0.cxx @@ -0,0 +1,14 @@ +/** =========================================== + (C) Mahrouss Logic + ===========================================*/ + +#include <System.Core/Headers/Heap.hxx> + +/// @brief Inits the DLL. +/// @return if it was succesful or not. +CA_EXTERN_C DWordType __DllMain(VoidType) { + kApplicationObject = HcGetAppObject(); + CA_MUST_PASS(kApplicationObject); + + return 0; +}
\ No newline at end of file |
