summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-11 19:22:58 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-11 19:23:15 +0100
commit6498165c295fab8352d8bcb37095ef81190dda20 (patch)
tree059e6e3c361e1c08047a175c5d8863abe57f73e1 /src
parentaaf43eec4e4212578d0e900b546695c42bc203c0 (diff)
[CHORE] Add SPDX header for DDK.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src')
-rw-r--r--src/libDDK/src/Allocator.cpp6
-rw-r--r--src/libDDK/src/CxxABI.cpp6
-rw-r--r--src/libDDK/src/Device.cpp12
-rw-r--r--src/libDDK/src/DriverBase.cpp1
-rw-r--r--src/libDDK/src/IO.cpp14
-rw-r--r--src/libDDK/src/KernelCall.cpp14
-rw-r--r--src/libDDK/src/String.cpp12
-rw-r--r--src/libDDK/src/Version.cpp12
8 files changed, 31 insertions, 46 deletions
diff --git a/src/libDDK/src/Allocator.cpp b/src/libDDK/src/Allocator.cpp
index 982f2cb1..f350ab22 100644
--- a/src/libDDK/src/Allocator.cpp
+++ b/src/libDDK/src/Allocator.cpp
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2024-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/nekernel
-
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/ne-foss-org/ne_kernel
#include <DriverKit/DriverKit.h>
diff --git a/src/libDDK/src/CxxABI.cpp b/src/libDDK/src/CxxABI.cpp
index 9d32a494..f1fc5034 100644
--- a/src/libDDK/src/CxxABI.cpp
+++ b/src/libDDK/src/CxxABI.cpp
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2024-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/nekernel
-
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/ne-foss-org/ne_kernel
#include <DriverKit/DriverKit.h>
diff --git a/src/libDDK/src/Device.cpp b/src/libDDK/src/Device.cpp
index a4494263..6390f05c 100644
--- a/src/libDDK/src/Device.cpp
+++ b/src/libDDK/src/Device.cpp
@@ -1,10 +1,8 @@
-/* ========================================
-
- Copyright Amlal El Mahrouss.
-
- Purpose: DDK Text I/O.
-
-======================================== */
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/ne-foss-org/ne_kernel
#include <DriverKit/Device.h>
#include <DriverKit/String.h>
diff --git a/src/libDDK/src/DriverBase.cpp b/src/libDDK/src/DriverBase.cpp
index 6c3166f4..37b138a0 100644
--- a/src/libDDK/src/DriverBase.cpp
+++ b/src/libDDK/src/DriverBase.cpp
@@ -3,7 +3,6 @@
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel
-
#include <DriverKit/ObjectKit/Base.h>
diff --git a/src/libDDK/src/IO.cpp b/src/libDDK/src/IO.cpp
index 89bfa583..fc247e15 100644
--- a/src/libDDK/src/IO.cpp
+++ b/src/libDDK/src/IO.cpp
@@ -1,12 +1,8 @@
-/* ========================================
-
- libDDK - Device Driver Kit
- Copyright 2025 - Amlal El Mahrouss and NeKernel Authors.
-
- File: ddk_io.c
- Purpose: DDK Text I/O.
-
-======================================== */
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/ne-foss-org/ne_kernel
#include <DriverKit/IO.h>
diff --git a/src/libDDK/src/KernelCall.cpp b/src/libDDK/src/KernelCall.cpp
index f7197062..bbaded64 100644
--- a/src/libDDK/src/KernelCall.cpp
+++ b/src/libDDK/src/KernelCall.cpp
@@ -1,12 +1,8 @@
-/* ========================================
-
- DDK
- Copyright Amlal El Mahrouss.
-
- Author: Amlal El Mahrouss
- Purpose: DDK kernel dispatch system.
-
-======================================== */
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/ne-foss-org/ne_kernel
#include <DriverKit/DriverKit.h>
#include <stdarg.h>
diff --git a/src/libDDK/src/String.cpp b/src/libDDK/src/String.cpp
index 6d838676..7aee7495 100644
--- a/src/libDDK/src/String.cpp
+++ b/src/libDDK/src/String.cpp
@@ -1,10 +1,8 @@
-/* ========================================
-
- Copyright Amlal El Mahrouss.
-
- Purpose: DDK String API.
-
-======================================== */
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/ne-foss-org/ne_kernel
#include <DriverKit/String.h>
diff --git a/src/libDDK/src/Version.cpp b/src/libDDK/src/Version.cpp
index f99734d3..5e60fbc4 100644
--- a/src/libDDK/src/Version.cpp
+++ b/src/libDDK/src/Version.cpp
@@ -1,10 +1,8 @@
-/* ========================================
-
- Copyright Amlal El Mahrouss.
-
- Purpose: DDK version system.
-
-======================================== */
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/ne-foss-org/ne_kernel
#include <DriverKit/DriverKit.h>