summaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-18 22:09:11 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-18 22:09:11 +0100
commitf29e7e30fde2b994c86024659b41f56b64dce911 (patch)
treeaea2324ca72b09fe32b29aa280fc43d4984956ef /public
parentae9267caf5ec8a247206d660109cd377be6bd6cd (diff)
fix: kernel: OpenHeFS and NeFS fixes, PCI and DriveMgr fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public')
-rw-r--r--public/frameworks/LaunchHelpers.fwrk/headers/.keep0
-rw-r--r--public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h29
-rw-r--r--public/tools/mgmt.launch/src/CommandLine.cc9
3 files changed, 38 insertions, 0 deletions
diff --git a/public/frameworks/LaunchHelpers.fwrk/headers/.keep b/public/frameworks/LaunchHelpers.fwrk/headers/.keep
deleted file mode 100644
index e69de29b..00000000
--- a/public/frameworks/LaunchHelpers.fwrk/headers/.keep
+++ /dev/null
diff --git a/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h b/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h
new file mode 100644
index 00000000..45d53b53
--- /dev/null
+++ b/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h
@@ -0,0 +1,29 @@
+/* -------------------------------------------
+
+ Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
+
+------------------------------------------- */
+
+#pragma once
+
+#include <CoreFoundation.fwrk/headers/Foundation.h>
+#include <CoreFoundation.fwrk/headers/String.h>
+
+namespace LaunchHelpers {
+struct LHLaunchInfo;
+
+/// @brief Launch information structure.
+/// @note This structure is read-only. Modyfing its members wo't have any effect.
+struct LHLaunchInfo final {
+ CF::CFString fExecutablePath;
+ CF::CFString fWorkingDirectory;
+ CF::CFString fArguments;
+ CF::CFString fEnvironment;
+ CF::CFInteger64 fUID{0};
+ CF::CFInteger64 fGID{0};
+};
+
+/// @brief Get launch information.
+/// @return the launch information structure.
+LHLaunchInfo* LHGetLaunchInfo(Void) noexcept;
+} // namespace LaunchHelpers \ No newline at end of file
diff --git a/public/tools/mgmt.launch/src/CommandLine.cc b/public/tools/mgmt.launch/src/CommandLine.cc
index 6015988e..cb4fe547 100644
--- a/public/tools/mgmt.launch/src/CommandLine.cc
+++ b/public/tools/mgmt.launch/src/CommandLine.cc
@@ -1,5 +1,14 @@
+/* -------------------------------------------
+
+ Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
+
+ ------------------------------------------- */
+
#include <libSystem/SystemKit/System.h>
SInt32 _NeMain(SInt32 argc, Char* argv[]) {
+ LIBSYS_UNUSED(argc);
+ LIBSYS_UNUSED(argv);
+
return EXIT_FAILURE;
} \ No newline at end of file