From e2d61770d9593e85100e4965ba991e43a7621ac2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 8 Aug 2025 16:10:59 -0500 Subject: [PATCH] cpukit/score: Move SPDX line to top of file The RTEMS Software Engineering Guide specifies that the SPDX license annotation shouldbe the first line of the file and not part of the copyright/license comment block. --- cpukit/score/src/configstackspacesize.c | 4 ++-- cpukit/score/src/memoryallocate.c | 4 ++-- cpukit/score/src/memorydirtyfreeareas.c | 4 ++-- cpukit/score/src/memoryfill.c | 4 ++-- cpukit/score/src/memorynoinit.c | 4 ++-- cpukit/score/src/memoryzerobeforeuse.c | 4 ++-- cpukit/score/src/memoryzerofreeareas.c | 4 ++-- cpukit/score/src/objectallocate.c | 4 ++-- cpukit/score/src/once.c | 4 ++-- cpukit/score/src/threadidledefault.c | 4 ++-- cpukit/score/src/watchdogtimeslicedefault.c | 4 ++-- cpukit/score/src/wkspaceisunifieddefault.c | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/cpukit/score/src/configstackspacesize.c b/cpukit/score/src/configstackspacesize.c index 21c69a0304..21b6d7f919 100644 --- a/cpukit/score/src/configstackspacesize.c +++ b/cpukit/score/src/configstackspacesize.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -7,8 +9,6 @@ * rtems_configuration_get_stack_space_size(). */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2014, 2019 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/score/src/memoryallocate.c b/cpukit/score/src/memoryallocate.c index 791826ca6e..29c51702b3 100644 --- a/cpukit/score/src/memoryallocate.c +++ b/cpukit/score/src/memoryallocate.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2018, 2019 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/score/src/memorydirtyfreeareas.c b/cpukit/score/src/memorydirtyfreeareas.c index 885c2a503c..fac93e19ab 100644 --- a/cpukit/score/src/memorydirtyfreeareas.c +++ b/cpukit/score/src/memorydirtyfreeareas.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020, 2022 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/score/src/memoryfill.c b/cpukit/score/src/memoryfill.c index e9550d52d6..82a6ad8920 100644 --- a/cpukit/score/src/memoryfill.c +++ b/cpukit/score/src/memoryfill.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2019 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/score/src/memorynoinit.c b/cpukit/score/src/memorynoinit.c index 22c537820d..fcdb621465 100644 --- a/cpukit/score/src/memorynoinit.c +++ b/cpukit/score/src/memorynoinit.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2022 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/score/src/memoryzerobeforeuse.c b/cpukit/score/src/memoryzerobeforeuse.c index 6893600db9..3fa8043c4f 100644 --- a/cpukit/score/src/memoryzerobeforeuse.c +++ b/cpukit/score/src/memoryzerobeforeuse.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/score/src/memoryzerofreeareas.c b/cpukit/score/src/memoryzerofreeareas.c index 08e11c41d4..324983d489 100644 --- a/cpukit/score/src/memoryzerofreeareas.c +++ b/cpukit/score/src/memoryzerofreeareas.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020, 2022 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c index 7f3f651ea0..e9d379d40b 100644 --- a/cpukit/score/src/objectallocate.c +++ b/cpukit/score/src/objectallocate.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2014 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/score/src/once.c b/cpukit/score/src/once.c index a395197c3a..cabe3484c9 100644 --- a/cpukit/score/src/once.c +++ b/cpukit/score/src/once.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2019 embedded brains GmbH & Co. KG * Copyright (C) 2019 Sebastian Huber * diff --git a/cpukit/score/src/threadidledefault.c b/cpukit/score/src/threadidledefault.c index bb9d476018..a877ef9959 100644 --- a/cpukit/score/src/threadidledefault.c +++ b/cpukit/score/src/threadidledefault.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/score/src/watchdogtimeslicedefault.c b/cpukit/score/src/watchdogtimeslicedefault.c index 4b6adf6cba..cb273137c5 100644 --- a/cpukit/score/src/watchdogtimeslicedefault.c +++ b/cpukit/score/src/watchdogtimeslicedefault.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without diff --git a/cpukit/score/src/wkspaceisunifieddefault.c b/cpukit/score/src/wkspaceisunifieddefault.c index ee1cdf1676..aef9fb0006 100644 --- a/cpukit/score/src/wkspaceisunifieddefault.c +++ b/cpukit/score/src/wkspaceisunifieddefault.c @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + /** * @file * @@ -8,8 +10,6 @@ */ /* - * SPDX-License-Identifier: BSD-2-Clause - * * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without