From 4f6b54d44be3900dd03547aea6b4ea9309241490 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 26 Feb 2026 21:36:11 +0100 Subject: feat: FileMgr: do not support Swap file types on OpenHeFS. chore: LaunchKit: launcher codebase tweaks. Signed-off-by: Amlal El Mahrouss --- src/launch/LaunchKit/Foundation.h | 8 +++++--- src/launch/src/CRuntimeZero.S | 6 +++--- src/launch/src/RuntimeMain.cpp | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) (limited to 'src/launch') 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; using StatusRef = CF::CFRef; -} // 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 /// @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(libsys_syscall_arg_1(libsys_hash_64("__launch_register_service"))); -- cgit v1.2.3