From 0e05e9fd34bd036e9043f20939c53edf967465ce Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 25 Jan 2026 03:07:52 +0100 Subject: feat: CF: Add alias for CFDictionary (CFDict). fix: kernel: CodeMgr improvements and fixes. Signed-off-by: Amlal El Mahrouss --- src/launch/src/AppMain.cc | 27 --------------------------- src/launch/src/Main.cc | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 src/launch/src/AppMain.cc create mode 100644 src/launch/src/Main.cc (limited to 'src/launch') diff --git a/src/launch/src/AppMain.cc b/src/launch/src/AppMain.cc deleted file mode 100644 index bb38c773..00000000 --- a/src/launch/src/AppMain.cc +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org) -// Licensed under the Apache License, Version 2.0 (see LICENSE file) -// Official repository: https://github.com/nekernel-org/nekernel - -#include -#include -#include - -/// @note This called by _NeMain from its own runtime. -IMPORT_C SInt32 nelaunch_startup_fn(Void) { - /// Start LaunchHelpers.fwrk services, and make the launcher manageable too (via mgmt.launch) - UInt32* ret = - static_cast(libsys_syscall_arg_1(libsys_hash_64("__launch_register_service"))); - - if (ret) { - switch (*ret) { - case kErrorSuccess: { - libsys_syscall_arg_1(libsys_hash_64("__launch_listen_as_super")); - return *ret; - } - default: - break; - } - } - - return kErrorExecutable; -} diff --git a/src/launch/src/Main.cc b/src/launch/src/Main.cc new file mode 100644 index 00000000..bb38c773 --- /dev/null +++ b/src/launch/src/Main.cc @@ -0,0 +1,27 @@ +// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (see LICENSE file) +// Official repository: https://github.com/nekernel-org/nekernel + +#include +#include +#include + +/// @note This called by _NeMain from its own runtime. +IMPORT_C SInt32 nelaunch_startup_fn(Void) { + /// Start LaunchHelpers.fwrk services, and make the launcher manageable too (via mgmt.launch) + UInt32* ret = + static_cast(libsys_syscall_arg_1(libsys_hash_64("__launch_register_service"))); + + if (ret) { + switch (*ret) { + case kErrorSuccess: { + libsys_syscall_arg_1(libsys_hash_64("__launch_listen_as_super")); + return *ret; + } + default: + break; + } + } + + return kErrorExecutable; +} -- cgit v1.2.3