diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-24 10:59:49 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-05-24 10:59:49 +0200 |
| commit | 386d9a5bffcd66633e4c3c72eb6cb25722796c92 (patch) | |
| tree | 438158dbf0856bf2563cdc9e4b183e290f4bb03a /public/tools/manual/src | |
| parent | e89d4a1402bdd32b8ad7e2ed04278b7ad54740c3 (diff) | |
feat(kernel): Better syscall routing, also added new tools.
what:
- ping, manual have been added.
- Rework RtlCurrentPID to SchedGetCurrentProcessID.
- Cleanup codebase overall.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public/tools/manual/src')
| -rw-r--r-- | public/tools/manual/src/.keep | 0 | ||||
| -rw-r--r-- | public/tools/manual/src/CommandLine.cc | 13 |
2 files changed, 13 insertions, 0 deletions
diff --git a/public/tools/manual/src/.keep b/public/tools/manual/src/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/public/tools/manual/src/.keep diff --git a/public/tools/manual/src/CommandLine.cc b/public/tools/manual/src/CommandLine.cc new file mode 100644 index 00000000..0d9c4136 --- /dev/null +++ b/public/tools/manual/src/CommandLine.cc @@ -0,0 +1,13 @@ +#include <user/SystemCalls.h> + +SInt32 _NeMain(SInt32 argc, Char* argv[]) { + SCI_UNUSED(argc); + SCI_UNUSED(argv); + + if (argc < 2) { + PrintOut(nullptr, "HELP: manual <tutorial_name>\n"); + return EXIT_FAILURE; + } + + return EXIT_SUCCESS; +}
\ No newline at end of file |
