From 83d870e58457a1d335a1d9b9966a6a1887cc297b Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 24 Nov 2025 03:02:43 +0100 Subject: feat! breaking changes on kernel sources. Signed-off-by: Amlal El Mahrouss --- dev/launch/src/.keep | 0 dev/launch/src/AppMain.cc | 28 ---------------------------- dev/launch/src/CRuntimeZero.S | 23 ----------------------- 3 files changed, 51 deletions(-) delete mode 100644 dev/launch/src/.keep delete mode 100644 dev/launch/src/AppMain.cc delete mode 100644 dev/launch/src/CRuntimeZero.S (limited to 'dev/launch/src') diff --git a/dev/launch/src/.keep b/dev/launch/src/.keep deleted file mode 100644 index e69de29b..00000000 diff --git a/dev/launch/src/AppMain.cc b/dev/launch/src/AppMain.cc deleted file mode 100644 index 10e9ff2b..00000000 --- a/dev/launch/src/AppMain.cc +++ /dev/null @@ -1,28 +0,0 @@ -/* ======================================== - - Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - - ======================================== */ - -#include -#include -#include - -/// @note This called by _NeMain from its own runtime. -extern "C" SInt32 nelaunch_startup_fn(Void) { - /// Start LaunchHelpers.fwrk services, and make the launcher manageable too (via mgmt.launch) - UInt32* ret = (UInt32*) libsys_syscall_arg_1(libsys_hash_64("__launch_register_launch_service")); - - if (ret) { - switch (*ret) { - case kErrorSuccess: { - libsys_syscall_arg_1(libsys_hash_64("__launch_listen_as_root")); - return *ret; - } - default: - break; - } - } - - return kErrorExecutable; -} diff --git a/dev/launch/src/CRuntimeZero.S b/dev/launch/src/CRuntimeZero.S deleted file mode 100644 index 4f983b46..00000000 --- a/dev/launch/src/CRuntimeZero.S +++ /dev/null @@ -1,23 +0,0 @@ -/* ======================================== - - Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - - ======================================== */ - -.text - -.extern nelaunch_startup_fn -.extern ThrExitMainThread -.globl _NeMain - -_NeMain: - push %rbp - movq %rsp, %rbp - - callq nelaunch_startup_fn - - movq %rcx, 0 - - callq ThrExitMainThread - - popq %rbp -- cgit v1.2.3