diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-07 18:12:25 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-07 18:12:25 +0200 |
| commit | 537cadbf78695a01ea1c00a0a5a4b6b70ddac8c3 (patch) | |
| tree | 293cd2e60b377729805f1252c37dd28bb332ee6d /public/frameworks | |
| parent | d9e1479799ef2d7594c9c9f7dc2724353a01faff (diff) | |
feat: `ne_launch` and `LaunchHelpers.fwrk`: PID zero of NeKernel.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public/frameworks')
8 files changed, 26 insertions, 0 deletions
diff --git a/public/frameworks/LaunchHelpers.fwrk/.keep b/public/frameworks/LaunchHelpers.fwrk/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/public/frameworks/LaunchHelpers.fwrk/.keep diff --git a/public/frameworks/LaunchHelpers.fwrk/LaunchHelpers.json b/public/frameworks/LaunchHelpers.fwrk/LaunchHelpers.json new file mode 100644 index 00000000..9ec17332 --- /dev/null +++ b/public/frameworks/LaunchHelpers.fwrk/LaunchHelpers.json @@ -0,0 +1,19 @@ +{ + "compiler_path": "clang++", + "compiler_std": "c++20", + "headers_path": [ + "./", + "../../../dev/kernel", + "../../../public/frameworks/", + "../../../dev/", + "./" + ], + "sources_path": [], + "output_name": "./dist/libLaunchHelpers.fwrk.dylib", + "cpp_macros": [ + "kSampleFWVersion=0x0100", + "kSampleFWVersionHighest=0x0100", + "kSampleFWVersionLowest=0x0100", + "__NE_SDK__" + ] +}
\ No newline at end of file diff --git a/public/frameworks/LaunchHelpers.fwrk/dist/.keep b/public/frameworks/LaunchHelpers.fwrk/dist/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/public/frameworks/LaunchHelpers.fwrk/dist/.keep diff --git a/public/frameworks/LaunchHelpers.fwrk/headers/.keep b/public/frameworks/LaunchHelpers.fwrk/headers/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/public/frameworks/LaunchHelpers.fwrk/headers/.keep diff --git a/public/frameworks/LaunchHelpers.fwrk/src/.keep b/public/frameworks/LaunchHelpers.fwrk/src/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/public/frameworks/LaunchHelpers.fwrk/src/.keep diff --git a/public/frameworks/LaunchHelpers.fwrk/src/DylibMain.cc b/public/frameworks/LaunchHelpers.fwrk/src/DylibMain.cc new file mode 100644 index 00000000..99eebd26 --- /dev/null +++ b/public/frameworks/LaunchHelpers.fwrk/src/DylibMain.cc @@ -0,0 +1,5 @@ +#include <libSystem/SystemKit/System.h> + +SInt32 _DylibAttach(SInt32 argc, Char* argv[]) { + return EXIT_FAILURE; +}
\ No newline at end of file diff --git a/public/frameworks/LaunchHelpers.fwrk/xml/.keep b/public/frameworks/LaunchHelpers.fwrk/xml/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/public/frameworks/LaunchHelpers.fwrk/xml/.keep diff --git a/public/frameworks/LaunchHelpers.fwrk/xml/app.xml b/public/frameworks/LaunchHelpers.fwrk/xml/app.xml new file mode 100644 index 00000000..6bc3a3f4 --- /dev/null +++ b/public/frameworks/LaunchHelpers.fwrk/xml/app.xml @@ -0,0 +1,2 @@ +<PropertyList> +<PLEntry Type="CFString" Name="LibraryName" Len="18" Value="LaunchHelpers.fwrk" /></PropertyList>
\ No newline at end of file |
