diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-08 07:16:47 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-08 07:16:47 +0100 |
| commit | cdb770f646ad620a76928981b8a5a618207fc82c (patch) | |
| tree | 566fc6fd4b064c1a019b0018b8e8f9bbfe45e658 | |
| parent | 68d88c5968bd690bfd31bd9ad935b13ea23ced7c (diff) | |
[CHORE] System header additions.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| l--------- | include/Ne | 1 | ||||
| -rw-r--r-- | include/System/Config.h | 14 | ||||
| -rw-r--r-- | include/System/Ne.h (renamed from include/system/ne_kernel.h.in) | 2 | ||||
| -rw-r--r-- | include/system/config.h.in | 17 |
4 files changed, 16 insertions, 18 deletions
diff --git a/include/Ne b/include/Ne new file mode 120000 index 0000000..774f674 --- /dev/null +++ b/include/Ne @@ -0,0 +1 @@ +System
\ No newline at end of file diff --git a/include/System/Config.h b/include/System/Config.h new file mode 100644 index 0000000..3c5f723 --- /dev/null +++ b/include/System/Config.h @@ -0,0 +1,14 @@ +// 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 + +#pragma once + +#define _ARCH __ne_arch + +#define _SUBSYSTEM_NET 0x1000 +#define _SUBSYSTEM_DDK 0x1000 +#define _SUBSYSTEM_SYS 0x1000 +#define _NEKERNEL 202603 + +#include <CoreFoundation.fwrk/headers/Foundation.h> diff --git a/include/system/ne_kernel.h.in b/include/System/Ne.h index 97bc534..7b54607 100644 --- a/include/system/ne_kernel.h.in +++ b/include/System/Ne.h @@ -4,5 +4,5 @@ #pragma once -#include <system/config.h> +#include <System/Config.h> #include <libSystem/SystemKit/System.h> diff --git a/include/system/config.h.in b/include/system/config.h.in deleted file mode 100644 index 749261e..0000000 --- a/include/system/config.h.in +++ /dev/null @@ -1,17 +0,0 @@ -// 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 - -#pragma once - -#define _ARCH @_ARCH_VER@ -#define _SUBSYSTEM_NET @_NET_VER@ -#define _SUBSYSTEM_DDK @_DDK_VER@ -#define _SUBSYSTEM_SYS @_SYS_VER@ -#define _NEKERNEL @_NEKERNEL_VER@ - -class @_ARCH_VTERMINAL@; -class @_ARCH_VDEVICE@; -class @_ARCH_VSOCKET@; -class @_ARCH_VFILE@; - |
