summaryrefslogtreecommitdiffhomepage
path: root/src/launch
diff options
context:
space:
mode:
Diffstat (limited to 'src/launch')
-rw-r--r--src/launch/LaunchKit/Foundation.h8
-rw-r--r--src/launch/src/CRuntimeZero.S6
-rw-r--r--src/launch/src/RuntimeMain.cpp2
3 files changed, 9 insertions, 7 deletions
diff --git a/src/launch/LaunchKit/Foundation.h b/src/launch/LaunchKit/Foundation.h
index 1fc7ce09..acf79955 100644
--- a/src/launch/LaunchKit/Foundation.h
+++ b/src/launch/LaunchKit/Foundation.h
@@ -1,4 +1,4 @@
-// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// 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
@@ -14,9 +14,11 @@
#define NELAUNCH_INFO(MSG) PrintOut(nullptr, "INFO: [LAUNCH] %s\n", MSG)
#define NELAUNCH_WARN(MSG) PrintOut(nullptr, "WARN: [LAUNCH] %s\n", MSG)
-namespace LaunchKit {
+namespace Launch {
+
using AnyRef = CF::CFRef<VoidPtr>;
using StatusRef = CF::CFRef<SInt32>;
-} // namespace LaunchKit
+
+} // namespace Launch
#endif
diff --git a/src/launch/src/CRuntimeZero.S b/src/launch/src/CRuntimeZero.S
index bc075dea..9ace3bbf 100644
--- a/src/launch/src/CRuntimeZero.S
+++ b/src/launch/src/CRuntimeZero.S
@@ -1,10 +1,10 @@
-// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// 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
.text
-.extern nelaunch_startup_fn
+.extern launch_startup_fn
.extern ThrExitMainThread
.globl _NeMain
@@ -15,7 +15,7 @@ _NeMain:
push %rbp
movq %rsp, %rbp
- callq nelaunch_startup_fn
+ callq launch_startup_fn
movq %rcx, 0
diff --git a/src/launch/src/RuntimeMain.cpp b/src/launch/src/RuntimeMain.cpp
index 40a6a4df..39c5f0f4 100644
--- a/src/launch/src/RuntimeMain.cpp
+++ b/src/launch/src/RuntimeMain.cpp
@@ -7,7 +7,7 @@
#include <libSystem/SystemKit/Syscall.h>
/// @note This called by _NeMain from its own runtime.
-IMPORT_C SInt32 nelaunch_startup_fn(Void) {
+IMPORT_C SInt32 launch_startup_fn(Void) {
/// Start LaunchHelpers.fwrk services, and make the launcher manageable too (via mgmt.launch)
UInt32* ret =
static_cast<UInt32*>(libsys_syscall_arg_1(libsys_hash_64("__launch_register_service")));