From 6498165c295fab8352d8bcb37095ef81190dda20 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 11 Mar 2026 19:22:58 +0100 Subject: [CHORE] Add SPDX header for DDK. Signed-off-by: Amlal El Mahrouss --- src/libDDK/src/Allocator.cpp | 6 +++--- src/libDDK/src/CxxABI.cpp | 6 +++--- src/libDDK/src/Device.cpp | 12 +++++------- src/libDDK/src/DriverBase.cpp | 1 - src/libDDK/src/IO.cpp | 14 +++++--------- src/libDDK/src/KernelCall.cpp | 14 +++++--------- src/libDDK/src/String.cpp | 12 +++++------- src/libDDK/src/Version.cpp | 12 +++++------- 8 files changed, 31 insertions(+), 46 deletions(-) (limited to 'src/libDDK') 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 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 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 #include 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 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 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 #include 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 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 -- cgit v1.2.3