summaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-29 17:19:57 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-29 17:19:57 +0200
commit81027667166d9624ee12f45f011426678d1bbbf4 (patch)
treed12fd352d23ae9c9a167c2c1b8b98c2c9cac2df7 /public
parent3167f59dbb401d6a79b1524537e04218baf49ee3 (diff)
feat: Improve libSystem's architecture and implementation.
fix: Fix NeKit's Ref, and ErrorOr classes. fix: Fix userland tools. next: - Finish the latest tickets and then release nekernel 0.0.3 Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public')
-rw-r--r--public/frameworks/CoreFoundation.fwrk/headers/Object.h2
-rw-r--r--public/tools/ld.dyn/src/CommandLine.cc4
-rw-r--r--public/tools/ld.fwrk/src/CommandLine.cc4
-rw-r--r--public/tools/manual/src/CommandLine.cc4
-rw-r--r--public/tools/mk.fwrk/src/CommandLine.cc2
-rw-r--r--public/tools/mk.hefs/src/CommandLine.cc4
-rw-r--r--public/tools/mk.nefs/src/CommandLine.cc4
-rw-r--r--public/tools/ping/src/CommandLine.cc2
8 files changed, 13 insertions, 13 deletions
diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Object.h b/public/frameworks/CoreFoundation.fwrk/headers/Object.h
index 1692f20e..5cb2050a 100644
--- a/public/frameworks/CoreFoundation.fwrk/headers/Object.h
+++ b/public/frameworks/CoreFoundation.fwrk/headers/Object.h
@@ -19,6 +19,6 @@ class CFObject {
explicit CFObject() = default;
virtual ~CFObject() = default;
- SCI_COPY_DEFAULT(CFObject);
+ LIBSYS_COPY_DEFAULT(CFObject);
};
} // namespace CF \ No newline at end of file
diff --git a/public/tools/ld.dyn/src/CommandLine.cc b/public/tools/ld.dyn/src/CommandLine.cc
index e76c34a7..70a0dbd9 100644
--- a/public/tools/ld.dyn/src/CommandLine.cc
+++ b/public/tools/ld.dyn/src/CommandLine.cc
@@ -11,8 +11,8 @@
#define DYNLIB_FLAG "-dyn"
SInt32 _NeMain(SInt32 argc, Char* argv[]) {
- SCI_UNUSED(argc);
- SCI_UNUSED(argv);
+ LIBSYS_UNUSED(argc);
+ LIBSYS_UNUSED(argv);
PrintOut(nullptr, "%s", "ld.dyn: Dynamic Loader.\n");
PrintOut(nullptr, "%s", "ld.dyn: © 2024-2025 Amlal El Mahrouss, All rights reserved.\n");
diff --git a/public/tools/ld.fwrk/src/CommandLine.cc b/public/tools/ld.fwrk/src/CommandLine.cc
index e7a6e5ca..853a4ef7 100644
--- a/public/tools/ld.fwrk/src/CommandLine.cc
+++ b/public/tools/ld.fwrk/src/CommandLine.cc
@@ -9,8 +9,8 @@
/// @brief This program loads a code framework into Kernel's memory.
SInt32 _NeMain(SInt32 argc, Char* argv[]) {
- SCI_UNUSED(argc);
- SCI_UNUSED(argv);
+ LIBSYS_UNUSED(argc);
+ LIBSYS_UNUSED(argv);
PrintOut(nullptr, "%s", "ld.fwrk: Framework Loader.\n");
PrintOut(nullptr, "%s", "ld.fwrk: © 2024-2025 Amlal El Mahrouss, All rights reserved.\n");
diff --git a/public/tools/manual/src/CommandLine.cc b/public/tools/manual/src/CommandLine.cc
index 0704384a..68594c09 100644
--- a/public/tools/manual/src/CommandLine.cc
+++ b/public/tools/manual/src/CommandLine.cc
@@ -1,8 +1,8 @@
#include <libSystem/System.h>
SInt32 _NeMain(SInt32 argc, Char* argv[]) {
- SCI_UNUSED(argc);
- SCI_UNUSED(argv);
+ LIBSYS_UNUSED(argc);
+ LIBSYS_UNUSED(argv);
if (argc < 2) {
PrintOut(nullptr, "HELP: manual <tutorial_name>\n");
diff --git a/public/tools/mk.fwrk/src/CommandLine.cc b/public/tools/mk.fwrk/src/CommandLine.cc
index 4ef7240a..423dc12f 100644
--- a/public/tools/mk.fwrk/src/CommandLine.cc
+++ b/public/tools/mk.fwrk/src/CommandLine.cc
@@ -7,7 +7,7 @@
#include <Framework.h>
#include <Steps.h>
-#include <libSystem/ProcessCodes.h>
+#include <libSystem/Err.h>
#include <CoreFoundation.fwrk/headers/Array.h>
diff --git a/public/tools/mk.hefs/src/CommandLine.cc b/public/tools/mk.hefs/src/CommandLine.cc
index 711009d5..0b38386a 100644
--- a/public/tools/mk.hefs/src/CommandLine.cc
+++ b/public/tools/mk.hefs/src/CommandLine.cc
@@ -9,8 +9,8 @@
/// @brief Placeholder program.
SInt32 _NeMain(SInt32 argc, Char* argv[]) {
- SCI_UNUSED(argc);
- SCI_UNUSED(argv);
+ LIBSYS_UNUSED(argc);
+ LIBSYS_UNUSED(argv);
return EXIT_FAILURE;
}
diff --git a/public/tools/mk.nefs/src/CommandLine.cc b/public/tools/mk.nefs/src/CommandLine.cc
index 711009d5..0b38386a 100644
--- a/public/tools/mk.nefs/src/CommandLine.cc
+++ b/public/tools/mk.nefs/src/CommandLine.cc
@@ -9,8 +9,8 @@
/// @brief Placeholder program.
SInt32 _NeMain(SInt32 argc, Char* argv[]) {
- SCI_UNUSED(argc);
- SCI_UNUSED(argv);
+ LIBSYS_UNUSED(argc);
+ LIBSYS_UNUSED(argv);
return EXIT_FAILURE;
}
diff --git a/public/tools/ping/src/CommandLine.cc b/public/tools/ping/src/CommandLine.cc
index f5c82b80..580d7973 100644
--- a/public/tools/ping/src/CommandLine.cc
+++ b/public/tools/ping/src/CommandLine.cc
@@ -1,7 +1,7 @@
#include <libSystem/System.h>
SInt32 _NeMain(SInt32 argc, Char* argv[]) {
- SCI_UNUSED(argc);
+ LIBSYS_UNUSED(argc);
if (argc < 2) {
PrintOut(nullptr, "HELP: ping <hostname>\n");