summaryrefslogtreecommitdiffhomepage
path: root/SDK/Libraries/CorePEFRuntime
diff options
context:
space:
mode:
Diffstat (limited to 'SDK/Libraries/CorePEFRuntime')
-rw-r--r--SDK/Libraries/CorePEFRuntime/.gitkeep0
-rw-r--r--SDK/Libraries/CorePEFRuntime/Private.xml3
-rw-r--r--SDK/Libraries/CorePEFRuntime/Sources/PEFStart.c23
3 files changed, 26 insertions, 0 deletions
diff --git a/SDK/Libraries/CorePEFRuntime/.gitkeep b/SDK/Libraries/CorePEFRuntime/.gitkeep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/SDK/Libraries/CorePEFRuntime/.gitkeep
diff --git a/SDK/Libraries/CorePEFRuntime/Private.xml b/SDK/Libraries/CorePEFRuntime/Private.xml
new file mode 100644
index 00000000..7ee426c0
--- /dev/null
+++ b/SDK/Libraries/CorePEFRuntime/Private.xml
@@ -0,0 +1,3 @@
+<SourceDeploy>
+ <Ignore/>
+</SourceDeploy> \ No newline at end of file
diff --git a/SDK/Libraries/CorePEFRuntime/Sources/PEFStart.c b/SDK/Libraries/CorePEFRuntime/Sources/PEFStart.c
new file mode 100644
index 00000000..e9a45f09
--- /dev/null
+++ b/SDK/Libraries/CorePEFRuntime/Sources/PEFStart.c
@@ -0,0 +1,23 @@
+/* -------------------------------------------
+
+ Copyright SoftwareLabs
+
+------------------------------------------- */
+
+#include <Headers/Defines.h>
+
+/// @brief Application entrypoint.
+/// @param void
+/// @return void
+CS_EXTERN_C VoidType AppMain(VoidType);
+
+/// @brief Process entrypoint.
+/// @param void
+/// @return void
+CS_EXTERN_C VoidType __ImageStart(VoidType)
+{
+ kSharedApplication = RtGetAppPointer();
+ CS_MUST_PASS(kSharedApplication);
+
+ AppMain();
+}