diff options
Diffstat (limited to 'SDK/Developer/CorePEFRuntime')
| -rw-r--r-- | SDK/Developer/CorePEFRuntime/.gitkeep | 0 | ||||
| -rw-r--r-- | SDK/Developer/CorePEFRuntime/Sources/PEFStart.c | 23 |
2 files changed, 23 insertions, 0 deletions
diff --git a/SDK/Developer/CorePEFRuntime/.gitkeep b/SDK/Developer/CorePEFRuntime/.gitkeep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/SDK/Developer/CorePEFRuntime/.gitkeep diff --git a/SDK/Developer/CorePEFRuntime/Sources/PEFStart.c b/SDK/Developer/CorePEFRuntime/Sources/PEFStart.c new file mode 100644 index 00000000..31b0d7bd --- /dev/null +++ b/SDK/Developer/CorePEFRuntime/Sources/PEFStart.c @@ -0,0 +1,23 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#include <Headers/Defines.h> + +/// @brief Application entrypoint. +/// @param void +/// @return void +CA_EXTERN_C VoidType AppMain(VoidType); + +/// @brief Process entrypoint. +/// @param void +/// @return void +CA_EXTERN_C VoidType __ImageStart(VoidType) +{ + kSharedApplication = RtGetAppPointer(); + CA_MUST_PASS(kSharedApplication); + + AppMain(); +} |
