summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-10 12:06:06 +0100
committerGitHub <noreply@github.com>2026-03-10 12:06:06 +0100
commit3207a534cbb1bbb1a926fc0eecefab2c5541eba8 (patch)
treec95cc94e0f5318415d5dfcd3477c65db071df7b4
parent3030eabdfe1333428eb621a4330a54f83f5d2e7b (diff)
parentb04ea5dfdf87f9ad1004ece99d2a85acc5b44a1e (diff)
Merge pull request #8 from ne-foss-org/ne-system-includes
[CHORE] Update include headers of the NeSystem.
-rw-r--r--.github/workflows/kernel-setup.yml2
-rw-r--r--include/Drivers/Ne.h10
-rw-r--r--include/System/Ne.h17
-rw-r--r--include/System/X11+Fwd.h11
m---------src/kernel0
-rw-r--r--src/reference/SDK.md3
6 files changed, 34 insertions, 9 deletions
diff --git a/.github/workflows/kernel-setup.yml b/.github/workflows/kernel-setup.yml
index e66e895..ea307f4 100644
--- a/.github/workflows/kernel-setup.yml
+++ b/.github/workflows/kernel-setup.yml
@@ -22,5 +22,5 @@ jobs:
- name: Install QEMU-IMG
run: sudo apt update && sudo apt install qemu-utils
- name: Attempt Kernel Setup
- run: mkdir tmp && git clone https://github.com/ne-foss-org/kernel.git tmp/kernel && cd tmp/kernel && sudo ./scripts/setup_x64_project.sh
+ run: mkdir tmp && git clone https://github.com/ne-foss-org/ne_kernel.git tmp/kernel && cd tmp/kernel && sudo ./scripts/setup_x64_project.sh
\ No newline at end of file
diff --git a/include/Drivers/Ne.h b/include/Drivers/Ne.h
new file mode 100644
index 0000000..cee3ab3
--- /dev/null
+++ b/include/Drivers/Ne.h
@@ -0,0 +1,10 @@
+// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (see LICENSE file)
+// Official repository: https://github.com/ne-foss-org/src
+
+#ifndef _NE_DDK_H_
+#define _NE_DDK_H_
+
+#include <libDDK/DriverKit/DriverKit.h>
+
+#endif
diff --git a/include/System/Ne.h b/include/System/Ne.h
index 7b54607..9bacc81 100644
--- a/include/System/Ne.h
+++ b/include/System/Ne.h
@@ -1,8 +1,21 @@
// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
-// Official repository: https://github.com/ne-foss-org/src
+// Official repository: https://github.com/ne-foss-org/ne_system
-#pragma once
+#ifndef _NE_H_
+#define _NE_H_
+
+#define _NE_SYSTEM 202603L
#include <System/Config.h>
+
+// POSIX wrapper
+#include <libPOSIXWrapper/POSIXKit/unistd.h>
+// IPC
+#include <libMsg/MsgKit/Server.h>
+// System calls
#include <libSystem/SystemKit/System.h>
+// Sound mixer
+#include <libSoundSystem/SoundSystemKit/VirtualMixer.h>
+
+#endif // !_NE_H_
diff --git a/include/System/X11+Fwd.h b/include/System/X11+Fwd.h
index 4de1193..e18136c 100644
--- a/include/System/X11+Fwd.h
+++ b/include/System/X11+Fwd.h
@@ -4,12 +4,11 @@
#pragma once
+// NeSystem Header.
#include <System/Ne.h>
-/// @brief This file forward declares X11 types.
-
-typedef SInt32 WINDOW;
-typedef SInt32 CURSOR;
-typedef SInt32 FONT;
-
+// Defs of the X11 protocol.
+#include <System/X11/Imports.h>
+// XDG' extensions of the X11 protocol.
+#include <System/X11/Ext/Imports.h>
diff --git a/src/kernel b/src/kernel
-Subproject ca0b05e5cd1f4ee97df8ccad8d932b36514d874
+Subproject df47a78546330050a58d738ef1de90cfb1f4bca
diff --git a/src/reference/SDK.md b/src/reference/SDK.md
new file mode 100644
index 0000000..86dda20
--- /dev/null
+++ b/src/reference/SDK.md
@@ -0,0 +1,3 @@
+# Getting Started: The SDK.
+
+The SDK resides in /include/, and contains both the DDK and NeKernel SDK.