arch/sim: migrate to SPDX identifier

Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2024-11-29 12:22:49 +01:00
committed by Xiang Xiao
parent 7d3fe64a6a
commit eea3d77a6e
112 changed files with 224 additions and 1 deletions
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/sim/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/include/arch.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/include/elf.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/include/inttypes.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/include/irq.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/include/limits.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/include/setjmp.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/include/spinlock.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/include/syscall.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/include/types.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/sim/src/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# arch/sim/src/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/sim/src/cmake/Toolchain.cmake
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/sim/src/cmake/platform.cmake
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/nuttx-names.in
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# arch/sim/src/sim/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_alsa.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_host_v4l2.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_hostfs.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_hosthcisocket.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_hostirq.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_hostmemory.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_hostmisc.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_hostsmp.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_hosttime.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_hostuart.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_hostusrsock.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_i2c.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_libusb.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_linuxi2c.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_linuxspi.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_macho_init.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_rawgadget.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_spi.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_tapdev.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_testset.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_vpnkit.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_x11eventloop.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/sim_x11framebuffer.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/vpnkit/sim_negotiate.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/vpnkit/sim_protocol.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/posix/vpnkit/sim_protocol.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/sim_ajoystick.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/sim_backtrace.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/sim_blockdevice.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/sim_camera.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/sim_checkhostfstypes.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/sim_checkstack.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/sim_copyfullstate.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* arch/sim/src/sim/sim_cpuidlestack.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The

Some files were not shown because too many files have changed in this diff Show More