Переглянути джерело

general: Format licenses as per SPDX guidelines

Morph 4 роки тому
батько
коміт
fedd983f96
38 змінених файлів з 93 додано та 121 видалено
  1. 2 3
      src/common/address_space.cpp
  2. 2 3
      src/common/address_space.h
  3. 2 2
      src/common/address_space.inc
  4. 3 0
      src/common/multi_level_page_table.cpp
  5. 2 3
      src/common/multi_level_page_table.h
  6. 2 3
      src/common/multi_level_page_table.inc
  7. 3 4
      src/core/hle/service/nvdrv/core/container.cpp
  8. 3 4
      src/core/hle/service/nvdrv/core/container.h
  9. 3 4
      src/core/hle/service/nvdrv/core/nvmap.cpp
  10. 3 4
      src/core/hle/service/nvdrv/core/nvmap.h
  11. 3 4
      src/core/hle/service/nvdrv/core/syncpoint_manager.cpp
  12. 3 4
      src/core/hle/service/nvdrv/core/syncpoint_manager.h
  13. 3 4
      src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
  14. 3 4
      src/core/hle/service/nvdrv/devices/nvhost_as_gpu.h
  15. 3 4
      src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
  16. 3 4
      src/core/hle/service/nvdrv/devices/nvhost_ctrl.h
  17. 3 4
      src/core/hle/service/nvdrv/nvdata.h
  18. 3 4
      src/core/hle/service/nvdrv/nvdrv.cpp
  19. 3 4
      src/core/hle/service/nvdrv/nvdrv.h
  20. 3 4
      src/core/hle/service/nvdrv/nvdrv_interface.cpp
  21. 2 3
      src/video_core/control/channel_state.cpp
  22. 2 3
      src/video_core/control/channel_state.h
  23. 3 0
      src/video_core/control/channel_state_cache.cpp
  24. 2 3
      src/video_core/control/channel_state_cache.h
  25. 2 0
      src/video_core/control/channel_state_cache.inc
  26. 2 3
      src/video_core/control/scheduler.cpp
  27. 2 3
      src/video_core/control/scheduler.h
  28. 2 3
      src/video_core/engines/puller.cpp
  29. 2 3
      src/video_core/engines/puller.h
  30. 2 3
      src/video_core/host1x/control.cpp
  31. 3 4
      src/video_core/host1x/control.h
  32. 2 3
      src/video_core/host1x/host1x.cpp
  33. 2 3
      src/video_core/host1x/host1x.h
  34. 2 3
      src/video_core/host1x/syncpoint_manager.cpp
  35. 2 3
      src/video_core/host1x/syncpoint_manager.h
  36. 2 3
      src/video_core/texture_cache/texture_cache.cpp
  37. 2 4
      src/video_core/texture_cache/texture_cache.h
  38. 2 4
      src/video_core/texture_cache/texture_cache_base.h

+ 2 - 3
src/common/address_space.cpp

@@ -1,6 +1,5 @@
-// Copyright © 2021 Skyline Team and Contributors (https://github.com/skyline-emu/)
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "common/address_space.inc"
 #include "common/address_space.inc"
 
 

+ 2 - 3
src/common/address_space.h

@@ -1,6 +1,5 @@
-// Copyright © 2021 Skyline Team and Contributors (https://github.com/skyline-emu/)
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 2 - 2
src/common/address_space.inc

@@ -1,5 +1,5 @@
-// SPDX-License-Identifier: GPLv3 or later
-// Copyright © 2021 Skyline Team and Contributors (https://github.com/skyline-emu/)
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "common/address_space.h"
 #include "common/address_space.h"
 #include "common/assert.h"
 #include "common/assert.h"

+ 3 - 0
src/common/multi_level_page_table.cpp

@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
 #include "common/multi_level_page_table.inc"
 #include "common/multi_level_page_table.inc"
 
 
 namespace Common {
 namespace Common {

+ 2 - 3
src/common/multi_level_page_table.h

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv2 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 2 - 3
src/common/multi_level_page_table.inc

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv2 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
 
 
 #ifdef _WIN32
 #ifdef _WIN32
 #include <windows.h>
 #include <windows.h>

+ 3 - 4
src/core/hle/service/nvdrv/core/container.cpp

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2022 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2022 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "core/hle/service/nvdrv/core/container.h"
 #include "core/hle/service/nvdrv/core/container.h"
 #include "core/hle/service/nvdrv/core/nvmap.h"
 #include "core/hle/service/nvdrv/core/nvmap.h"

+ 3 - 4
src/core/hle/service/nvdrv/core/container.h

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2022 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2022 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 3 - 4
src/core/hle/service/nvdrv/core/nvmap.cpp

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2022 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2022 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "common/alignment.h"
 #include "common/alignment.h"
 #include "common/assert.h"
 #include "common/assert.h"

+ 3 - 4
src/core/hle/service/nvdrv/core/nvmap.h

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2022 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2022 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 3 - 4
src/core/hle/service/nvdrv/core/syncpoint_manager.cpp

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2022 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2022 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "common/assert.h"
 #include "common/assert.h"
 #include "core/hle/service/nvdrv/core/syncpoint_manager.h"
 #include "core/hle/service/nvdrv/core/syncpoint_manager.h"

+ 3 - 4
src/core/hle/service/nvdrv/core/syncpoint_manager.h

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2022 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2022 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 3 - 4
src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team, Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include <cstring>
 #include <cstring>
 #include <utility>
 #include <utility>

+ 3 - 4
src/core/hle/service/nvdrv/devices/nvhost_as_gpu.h

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team, Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 3 - 4
src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team, Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include <bit>
 #include <bit>
 #include <cstdlib>
 #include <cstdlib>

+ 3 - 4
src/core/hle/service/nvdrv/devices/nvhost_ctrl.h

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team, Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 3 - 4
src/core/hle/service/nvdrv/nvdata.h

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 3 - 4
src/core/hle/service/nvdrv/nvdrv.cpp

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include <utility>
 #include <utility>
 
 

+ 3 - 4
src/core/hle/service/nvdrv/nvdrv.h

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 3 - 4
src/core/hle/service/nvdrv/nvdrv_interface.cpp

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include <cinttypes>
 #include <cinttypes>
 #include "common/logging/log.h"
 #include "common/logging/log.h"

+ 2 - 3
src/video_core/control/channel_state.cpp

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "common/assert.h"
 #include "common/assert.h"
 #include "video_core/control/channel_state.h"
 #include "video_core/control/channel_state.h"

+ 2 - 3
src/video_core/control/channel_state.h

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 3 - 0
src/video_core/control/channel_state_cache.cpp

@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
 #include "video_core/control/channel_state_cache.inc"
 #include "video_core/control/channel_state_cache.inc"
 
 
 namespace VideoCommon {
 namespace VideoCommon {

+ 2 - 3
src/video_core/control/channel_state_cache.h

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 2 - 0
src/video_core/control/channel_state_cache.inc

@@ -1,3 +1,5 @@
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include <algorithm>
 #include <algorithm>
 
 

+ 2 - 3
src/video_core/control/scheduler.cpp

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include <memory>
 #include <memory>
 
 

+ 2 - 3
src/video_core/control/scheduler.h

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 2 - 3
src/video_core/engines/puller.cpp

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv2 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "common/assert.h"
 #include "common/assert.h"
 #include "common/logging/log.h"
 #include "common/logging/log.h"

+ 2 - 3
src/video_core/engines/puller.h

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv2 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 2 - 3
src/video_core/host1x/control.cpp

@@ -1,6 +1,5 @@
-// Copyright 2022 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "common/assert.h"
 #include "common/assert.h"
 #include "video_core/host1x/control.h"
 #include "video_core/host1x/control.h"

+ 3 - 4
src/video_core/host1x/control.h

@@ -1,7 +1,6 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team and Skyline Team and Contributors
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-FileCopyrightText: 2021 Skyline Team and Contributors
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 2 - 3
src/video_core/host1x/host1x.cpp

@@ -1,6 +1,5 @@
-// Copyright 2022 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "core/core.h"
 #include "core/core.h"
 #include "video_core/host1x/host1x.h"
 #include "video_core/host1x/host1x.h"

+ 2 - 3
src/video_core/host1x/host1x.h

@@ -1,6 +1,5 @@
-// Copyright 2022 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 2 - 3
src/video_core/host1x/syncpoint_manager.cpp

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "common/microprofile.h"
 #include "common/microprofile.h"
 #include "video_core/host1x/syncpoint_manager.h"
 #include "video_core/host1x/syncpoint_manager.h"

+ 2 - 3
src/video_core/host1x/syncpoint_manager.h

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 2 - 3
src/video_core/texture_cache/texture_cache.cpp

@@ -1,6 +1,5 @@
-// Copyright 2021 yuzu Emulator Project
-// Licensed under GPLv3 or any later version
-// Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #include "video_core/control/channel_state_cache.inc"
 #include "video_core/control/channel_state_cache.inc"
 #include "video_core/texture_cache/texture_cache_base.h"
 #include "video_core/texture_cache/texture_cache_base.h"

+ 2 - 4
src/video_core/texture_cache/texture_cache.h

@@ -1,7 +1,5 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once
 
 

+ 2 - 4
src/video_core/texture_cache/texture_cache_base.h

@@ -1,7 +1,5 @@
-// SPDX-FileCopyrightText: 2021 yuzu emulator team
-// (https://github.com/skyline-emu/)
-// SPDX-License-Identifier: GPL-3.0-or-later Licensed under GPLv3
-// or any later version Refer to the license.txt file included.
+// SPDX-FileCopyrightText: 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
 
 
 #pragma once
 #pragma once