summaryrefslogtreecommitdiffhomepage
path: root/src/libPOSIXWrapper
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-08 20:04:58 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-08 20:04:58 +0100
commit60dd6dc956cbc9db70b5c2ad2996ca5a2b863e61 (patch)
tree2897f115d4c8ca59db397e19801883ece3f8c466 /src/libPOSIXWrapper
parent5201ce2c1f1bc69c86223a9bc46e661a565b2739 (diff)
[CHORE] Kernel modules updates.kernel-level-tweaks
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/libPOSIXWrapper')
-rw-r--r--src/libPOSIXWrapper/.keep0
-rw-r--r--src/libPOSIXWrapper/POSIXKit/.keep0
-rw-r--r--src/libPOSIXWrapper/POSIXKit/unistd.h9
-rw-r--r--src/libPOSIXWrapper/libPOSIX.json24
-rw-r--r--src/libPOSIXWrapper/src/.keep0
5 files changed, 33 insertions, 0 deletions
diff --git a/src/libPOSIXWrapper/.keep b/src/libPOSIXWrapper/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/libPOSIXWrapper/.keep
diff --git a/src/libPOSIXWrapper/POSIXKit/.keep b/src/libPOSIXWrapper/POSIXKit/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/libPOSIXWrapper/POSIXKit/.keep
diff --git a/src/libPOSIXWrapper/POSIXKit/unistd.h b/src/libPOSIXWrapper/POSIXKit/unistd.h
new file mode 100644
index 00000000..a2be3a30
--- /dev/null
+++ b/src/libPOSIXWrapper/POSIXKit/unistd.h
@@ -0,0 +1,9 @@
+#ifndef LIBPOSIX_POSIXKIT_UNISTD_H
+#define LIBPOSIX_POSIXKIT_UNISTD_H
+
+#include <libSystem/SystemKit/System.h>
+
+/// @file Unistd.h
+/// @brief POSIX Standard Header for NeKernel.
+
+#endif // LIBPOSIX_POSIXKIT_UNISTD_H
diff --git a/src/libPOSIXWrapper/libPOSIX.json b/src/libPOSIXWrapper/libPOSIX.json
new file mode 100644
index 00000000..a38d1db9
--- /dev/null
+++ b/src/libPOSIXWrapper/libPOSIX.json
@@ -0,0 +1,24 @@
+{
+ "compiler_path": "x86_64-w64-mingw32-gcc",
+ "compiler_std": "c++20",
+ "headers_path": ["../", "./"],
+ "sources_path": ["src/*.cpp"],
+ "output_name": "libPOSIX.dll",
+ "compiler_flags": [
+ "-ffreestanding",
+ "-shared",
+ "-std=c++20",
+ "-fno-rtti",
+ "-fno-exceptions",
+ "-Wl,--subsystem=17"
+ ],
+ "cpp_macros": [
+ "__NEOSKRNL__",
+ "__POSIX_AMD64__",
+ "__POSIX_SOURCE__",
+ "kPosixVersionHighest=0x0100",
+ "kPosixVersionLowest=0x0100",
+ "kPosixVersion=0x0100"
+ ],
+ "description": "The NeKernel POSIX port."
+}
diff --git a/src/libPOSIXWrapper/src/.keep b/src/libPOSIXWrapper/src/.keep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/libPOSIXWrapper/src/.keep