From be29b406526c931a606d4d4de545f71e62bc893a Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 25 Mar 2024 16:43:00 +0100 Subject: Kernel: A lot of preliminary changes before AHCI and SMP support. --- Public/SDK/System.Core/Sources/LibEntrypoint.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Public/SDK/System.Core/Sources/LibEntrypoint.cxx (limited to 'Public/SDK/System.Core/Sources/LibEntrypoint.cxx') diff --git a/Public/SDK/System.Core/Sources/LibEntrypoint.cxx b/Public/SDK/System.Core/Sources/LibEntrypoint.cxx new file mode 100644 index 00000000..b874ef55 --- /dev/null +++ b/Public/SDK/System.Core/Sources/LibEntrypoint.cxx @@ -0,0 +1,14 @@ +/** =========================================== + (C) Mahrouss Logic + ===========================================*/ + +#include + +/// @brief Inits the DLL. +/// @return if it was succesful or not. +DWordType __DllMain(VoidType) { + kApplicationObject = HcGetInstanceObject(); + CA_MUST_PASS(kApplicationObject); + + return 0; +} \ No newline at end of file -- cgit v1.2.3