From 424a7db10bfb450421402e443f477531b60c09c6 Mon Sep 17 00:00:00 2001 From: Jose Martins Date: Fri, 20 Jan 2023 23:01:07 +0000 Subject: [PATCH] license: change from GPL-2.0 to Apache-2.0 Signed-off-by: Jose Martins --- COPYING | 355 ------------------ LICENSE | 201 ++++++++++ Makefile | 2 +- configs/example/config.c | 16 +- scripts/config_defs_gen.c | 2 +- scripts/platform_defs_gen.c | 2 +- src/arch/armv8/aarch32/aborts.c | 2 +- src/arch/armv8/aarch32/arch_sub.mk | 2 +- src/arch/armv8/aarch32/boot.S | 2 +- src/arch/armv8/aarch32/exceptions.S | 2 +- src/arch/armv8/aarch32/inc/arch/spinlock.h | 2 +- .../armv8/aarch32/inc/arch/subarch/sysregs.h | 2 +- src/arch/armv8/aarch32/inc/arch/subarch/vm.h | 2 +- src/arch/armv8/aarch32/objects.mk | 2 +- src/arch/armv8/aarch32/vm.c | 2 +- src/arch/armv8/aarch64/aborts.c | 2 +- src/arch/armv8/aarch64/arch_sub.mk | 2 +- src/arch/armv8/aarch64/boot.S | 2 +- src/arch/armv8/aarch64/exceptions.S | 2 +- src/arch/armv8/aarch64/inc/arch/spinlock.h | 2 +- .../armv8/aarch64/inc/arch/subarch/sysregs.h | 2 +- src/arch/armv8/aarch64/inc/arch/subarch/vm.h | 2 +- src/arch/armv8/aarch64/objects.mk | 2 +- src/arch/armv8/aarch64/vm.c | 2 +- src/arch/armv8/aborts.c | 2 +- src/arch/armv8/arch.mk | 2 +- src/arch/armv8/armv8-a/aarch32/boot.S | 2 +- src/arch/armv8/armv8-a/aarch32/inc/arch/bao.h | 2 +- src/arch/armv8/armv8-a/aarch32/objects.mk | 2 +- src/arch/armv8/armv8-a/aarch32/relocate.S | 2 +- src/arch/armv8/armv8-a/aarch32/vmm.c | 2 +- src/arch/armv8/armv8-a/aarch64/boot.S | 2 +- src/arch/armv8/armv8-a/aarch64/inc/arch/bao.h | 2 +- src/arch/armv8/armv8-a/aarch64/objects.mk | 2 +- src/arch/armv8/armv8-a/aarch64/relocate.S | 2 +- src/arch/armv8/armv8-a/aarch64/vmm.c | 2 +- src/arch/armv8/armv8-a/cpu.c | 2 +- src/arch/armv8/armv8-a/inc/arch/iommu.h | 2 +- src/arch/armv8/armv8-a/inc/arch/mem.h | 2 +- src/arch/armv8/armv8-a/inc/arch/page_table.h | 2 +- src/arch/armv8/armv8-a/inc/arch/profile/cpu.h | 2 +- src/arch/armv8/armv8-a/inc/arch/smc.h | 2 +- src/arch/armv8/armv8-a/inc/arch/smmuv2.h | 2 +- src/arch/armv8/armv8-a/inc/arch/tlb.h | 2 +- src/arch/armv8/armv8-a/iommu.c | 2 +- src/arch/armv8/armv8-a/mem.c | 2 +- src/arch/armv8/armv8-a/objects.mk | 2 +- src/arch/armv8/armv8-a/page_table.c | 2 +- src/arch/armv8/armv8-a/pagetables.S | 2 +- src/arch/armv8/armv8-a/profile.mk | 2 +- src/arch/armv8/armv8-a/psci.c | 2 +- src/arch/armv8/armv8-a/smc.c | 2 +- src/arch/armv8/armv8-a/smmuv2.c | 2 +- src/arch/armv8/armv8-a/vm.c | 2 +- src/arch/armv8/armv8-a/vmm.c | 2 +- src/arch/armv8/armv8-r/aarch32/boot.S | 2 +- src/arch/armv8/armv8-r/aarch32/objects.mk | 2 +- src/arch/armv8/armv8-r/aarch64/boot.S | 2 +- src/arch/armv8/armv8-r/aarch64/objects.mk | 2 +- src/arch/armv8/armv8-r/cpu.c | 2 +- src/arch/armv8/armv8-r/inc/arch/bao.h | 2 +- src/arch/armv8/armv8-r/inc/arch/mem.h | 2 +- src/arch/armv8/armv8-r/inc/arch/profile/cpu.h | 2 +- src/arch/armv8/armv8-r/mem.c | 2 +- src/arch/armv8/armv8-r/mpu.c | 2 +- src/arch/armv8/armv8-r/objects.mk | 2 +- src/arch/armv8/armv8-r/profile.mk | 2 +- src/arch/armv8/armv8-r/psci.c | 2 +- src/arch/armv8/armv8-r/vm.c | 2 +- src/arch/armv8/armv8-r/vmm.c | 2 +- src/arch/armv8/asm_defs.c | 2 +- src/arch/armv8/cache.c | 2 +- src/arch/armv8/cpu.c | 2 +- src/arch/armv8/gic.c | 2 +- src/arch/armv8/gicv2.c | 2 +- src/arch/armv8/gicv3.c | 2 +- src/arch/armv8/inc/arch/aborts.h | 2 +- src/arch/armv8/inc/arch/cache.h | 2 +- src/arch/armv8/inc/arch/cpu.h | 2 +- src/arch/armv8/inc/arch/fences.h | 2 +- src/arch/armv8/inc/arch/generic_timer.h | 2 +- src/arch/armv8/inc/arch/gic.h | 2 +- src/arch/armv8/inc/arch/gicv2.h | 2 +- src/arch/armv8/inc/arch/gicv3.h | 2 +- src/arch/armv8/inc/arch/hypercall.h | 2 +- src/arch/armv8/inc/arch/interrupts.h | 2 +- src/arch/armv8/inc/arch/platform.h | 2 +- src/arch/armv8/inc/arch/psci.h | 2 +- src/arch/armv8/inc/arch/smcc.h | 2 +- src/arch/armv8/inc/arch/sysregs.h | 2 +- src/arch/armv8/inc/arch/vgic.h | 2 +- src/arch/armv8/inc/arch/vgicv2.h | 2 +- src/arch/armv8/inc/arch/vgicv3.h | 2 +- src/arch/armv8/inc/arch/vm.h | 2 +- src/arch/armv8/inc/arch/vmm.h | 2 +- src/arch/armv8/interrupts.c | 2 +- src/arch/armv8/objects.mk | 2 +- src/arch/armv8/platform.c | 2 +- src/arch/armv8/psci.c | 2 +- src/arch/armv8/vgic.c | 2 +- src/arch/armv8/vgicv2.c | 2 +- src/arch/armv8/vgicv3.c | 2 +- src/arch/armv8/vm.c | 2 +- src/arch/armv8/vmm.c | 2 +- src/arch/riscv/arch.mk | 2 +- src/arch/riscv/asm_defs.c | 2 +- src/arch/riscv/boot.S | 2 +- src/arch/riscv/cache.c | 2 +- src/arch/riscv/cpu.c | 2 +- src/arch/riscv/exceptions.S | 2 +- src/arch/riscv/inc/arch/bao.h | 2 +- src/arch/riscv/inc/arch/cache.h | 2 +- src/arch/riscv/inc/arch/cpu.h | 2 +- src/arch/riscv/inc/arch/csrs.h | 2 +- src/arch/riscv/inc/arch/encoding.h | 2 +- src/arch/riscv/inc/arch/fences.h | 2 +- src/arch/riscv/inc/arch/hypercall.h | 2 +- src/arch/riscv/inc/arch/instructions.h | 2 +- src/arch/riscv/inc/arch/interrupts.h | 2 +- src/arch/riscv/inc/arch/iommu.h | 2 +- src/arch/riscv/inc/arch/mem.h | 2 +- src/arch/riscv/inc/arch/opcodes.h | 2 +- src/arch/riscv/inc/arch/page_table.h | 2 +- src/arch/riscv/inc/arch/platform.h | 2 +- src/arch/riscv/inc/arch/plic.h | 2 +- src/arch/riscv/inc/arch/sbi.h | 2 +- src/arch/riscv/inc/arch/spinlock.h | 2 +- src/arch/riscv/inc/arch/tlb.h | 2 +- src/arch/riscv/inc/arch/vm.h | 2 +- src/arch/riscv/inc/arch/vmm.h | 2 +- src/arch/riscv/inc/arch/vplic.h | 2 +- src/arch/riscv/interrupts.c | 2 +- src/arch/riscv/iommu.c | 2 +- src/arch/riscv/mem.c | 2 +- src/arch/riscv/objects.mk | 2 +- src/arch/riscv/page_table.c | 2 +- src/arch/riscv/plic.c | 2 +- src/arch/riscv/relocate.S | 2 +- src/arch/riscv/root_pt.S | 2 +- src/arch/riscv/sbi.c | 2 +- src/arch/riscv/sync_exceptions.c | 2 +- src/arch/riscv/vm.c | 2 +- src/arch/riscv/vmm.c | 2 +- src/arch/riscv/vplic.c | 2 +- src/core/cache.c | 2 +- src/core/config.c | 2 +- src/core/console.c | 2 +- src/core/cpu.c | 2 +- src/core/hypercall.c | 2 +- src/core/inc/bao.h | 2 +- src/core/inc/cache.h | 2 +- src/core/inc/config.h | 2 +- src/core/inc/config_defs.h | 2 +- src/core/inc/console.h | 2 +- src/core/inc/cpu.h | 2 +- src/core/inc/emul.h | 2 +- src/core/inc/fences.h | 2 +- src/core/inc/hypercall.h | 2 +- src/core/inc/interrupts.h | 2 +- src/core/inc/io.h | 2 +- src/core/inc/ipc.h | 2 +- src/core/inc/mem.h | 2 +- src/core/inc/objpool.h | 2 +- src/core/inc/page_table.h | 2 +- src/core/inc/platform.h | 2 +- src/core/inc/platform_defs.h | 2 +- src/core/inc/spinlock.h | 2 +- src/core/inc/tlb.h | 2 +- src/core/inc/types.h | 2 +- src/core/inc/vm.h | 2 +- src/core/inc/vmm.h | 2 +- src/core/init.c | 2 +- src/core/interrupts.c | 2 +- src/core/ipc.c | 2 +- src/core/mem.c | 2 +- src/core/mmu/inc/mem_prot/io.h | 2 +- src/core/mmu/inc/mem_prot/mem.h | 2 +- src/core/mmu/inc/mem_prot/vmm.h | 2 +- src/core/mmu/io.c | 2 +- src/core/mmu/mem.c | 2 +- src/core/mmu/objects.mk | 2 +- src/core/mmu/vm.c | 2 +- src/core/mmu/vmm.c | 2 +- src/core/mpu/config.c | 5 + src/core/mpu/inc/mem_prot/io.h | 2 +- src/core/mpu/inc/mem_prot/mem.h | 2 +- src/core/mpu/inc/mem_prot/vmm.h | 2 +- src/core/mpu/io.c | 2 +- src/core/mpu/mem.c | 2 +- src/core/mpu/objects.mk | 2 +- src/core/mpu/vm.c | 2 +- src/core/mpu/vmm.c | 2 +- src/core/objects.mk | 2 +- src/core/objpool.c | 2 +- src/core/vm.c | 2 +- src/core/vmm.c | 2 +- src/lib/bitmap.c | 2 +- src/lib/inc/bit.h | 2 +- src/lib/inc/bitmap.h | 2 +- src/lib/inc/list.h | 2 +- src/lib/inc/printk.h | 2 +- src/lib/inc/string.h | 2 +- src/lib/inc/util.h | 2 +- src/lib/objects.mk | 2 +- src/lib/printk.c | 2 +- src/lib/string.c | 2 +- src/linker.ld | 2 +- src/platform/drivers/8250_uart/8250_uart.c | 2 +- .../drivers/8250_uart/inc/drivers/8250_uart.h | 2 +- src/platform/drivers/8250_uart/objects.mk | 2 +- .../drivers/nxp_uart/inc/drivers/nxp_uart.h | 2 +- src/platform/drivers/nxp_uart/nxp_uart.c | 2 +- src/platform/drivers/nxp_uart/objects.mk | 2 +- .../pl011_uart/inc/drivers/pl011_uart.h | 2 +- src/platform/drivers/pl011_uart/objects.mk | 2 +- src/platform/drivers/pl011_uart/pl011_uart.c | 2 +- .../drivers/sbi_uart/inc/drivers/sbi_uart.h | 2 +- src/platform/drivers/sbi_uart/objects.mk | 2 +- src/platform/drivers/sbi_uart/sbi_uart.c | 2 +- .../drivers/zynq_uart/inc/drivers/zynq_uart.h | 2 +- src/platform/drivers/zynq_uart/objects.mk | 2 +- src/platform/drivers/zynq_uart/zynq_uart.c | 2 +- src/platform/fvp-a-aarch32/platform.mk | 3 + src/platform/fvp-a/fvpa_desc.c | 16 +- src/platform/fvp-a/inc/plat/platform.h | 16 +- src/platform/fvp-a/inc/plat/psci.h | 16 +- src/platform/fvp-a/objects.mk | 16 +- src/platform/fvp-a/platform.mk | 16 +- src/platform/fvp-r-aarch32/platform.mk | 3 + src/platform/fvp-r/fvpr_desc.c | 2 +- src/platform/fvp-r/inc/plat/platform.h | 2 +- src/platform/fvp-r/inc/plat/psci.h | 2 +- src/platform/fvp-r/objects.mk | 2 +- src/platform/fvp-r/platform.mk | 2 +- src/platform/hikey960/hikey960_desc.c | 2 +- src/platform/hikey960/inc/plat/platform.h | 2 +- src/platform/hikey960/inc/plat/psci.h | 2 +- src/platform/hikey960/objects.mk | 2 +- src/platform/hikey960/platform.mk | 2 +- src/platform/imx8qm/imx8qm_desc.c | 2 +- src/platform/imx8qm/inc/plat/platform.h | 2 +- src/platform/imx8qm/inc/plat/psci.h | 2 +- src/platform/imx8qm/objects.mk | 2 +- src/platform/imx8qm/platform.mk | 2 +- .../qemu-aarch64-virt/inc/plat/platform.h | 2 +- .../qemu-aarch64-virt/inc/plat/psci.h | 2 +- src/platform/qemu-aarch64-virt/objects.mk | 2 +- src/platform/qemu-aarch64-virt/platform.mk | 2 +- src/platform/qemu-aarch64-virt/virt_desc.c | 2 +- .../qemu-riscv64-virt/inc/plat/platform.h | 4 +- src/platform/qemu-riscv64-virt/objects.mk | 2 +- src/platform/qemu-riscv64-virt/platform.mk | 2 +- src/platform/qemu-riscv64-virt/virt_desc.c | 2 +- src/platform/rpi4/inc/plat/platform.h | 2 +- src/platform/rpi4/inc/plat/psci.h | 2 +- src/platform/rpi4/objects.mk | 2 +- src/platform/rpi4/platform.mk | 2 +- src/platform/rpi4/rpi4_desc.c | 2 +- src/platform/tx2/inc/plat/platform.h | 2 +- src/platform/tx2/inc/plat/psci.h | 2 +- src/platform/tx2/objects.mk | 2 +- src/platform/tx2/platform.mk | 2 +- src/platform/tx2/tx2_desc.c | 2 +- src/platform/ultra96/inc/plat/platform.h | 2 +- src/platform/ultra96/inc/plat/psci.h | 2 +- src/platform/ultra96/objects.mk | 2 +- src/platform/ultra96/platform.mk | 2 +- src/platform/ultra96/ultra96_desc.c | 2 +- src/platform/zcu102/inc/plat/platform.h | 4 +- src/platform/zcu102/inc/plat/psci.h | 2 +- src/platform/zcu102/objects.mk | 2 +- src/platform/zcu102/platform.mk | 2 +- src/platform/zcu102/zcu102_desc.c | 2 +- src/platform/zcu104/inc/plat/platform.h | 2 +- src/platform/zcu104/inc/plat/psci.h | 2 +- src/platform/zcu104/objects.mk | 2 +- src/platform/zcu104/platform.mk | 2 +- src/platform/zcu104/zcu104_desc.c | 2 +- 278 files changed, 497 insertions(+), 704 deletions(-) delete mode 100644 COPYING create mode 100644 LICENSE diff --git a/COPYING b/COPYING deleted file mode 100644 index 4ffd66a7f..000000000 --- a/COPYING +++ /dev/null @@ -1,355 +0,0 @@ - -This hypervisor is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License version 2 as published by -the Free Software Foundation, with a special exception, both described below. - -------------------------------------------------------------------------- - - EXCEPTION - -This copyright does *not* cover guest operating systems or bare-metal -application executing over the hypervisor and using its services through the -provided interfaces (hypercalls or others). This is considered normal use of -the hypervisor and does *not* fall under the heading of "derived work". - ------------------------------------------------------------------------- - - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..261eeb9e9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/Makefile b/Makefile index 1e904280f..9eec05518 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. SHELL:=bash diff --git a/configs/example/config.c b/configs/example/config.c index e89da47e5..016d91284 100644 --- a/configs/example/config.c +++ b/configs/example/config.c @@ -1,16 +1,6 @@ -/** - * Bao, a Lightweight Static Partitioning Hypervisor - * - * Copyright (c) Bao Project (www.bao-project.org), 2019- - * - * Authors: - * Jose Martins - * - * Bao is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License version 2 as published by the Free - * Software Foundation, with a special exception exempting guest code from such - * license. See the COPYING file in the top-level directory for details. - * +/** + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/scripts/config_defs_gen.c b/scripts/config_defs_gen.c index 2ff34866e..c70dabc52 100644 --- a/scripts/config_defs_gen.c +++ b/scripts/config_defs_gen.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/scripts/platform_defs_gen.c b/scripts/platform_defs_gen.c index 69cc94f1a..e78f8c00c 100644 --- a/scripts/platform_defs_gen.c +++ b/scripts/platform_defs_gen.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/arch/armv8/aarch32/aborts.c b/src/arch/armv8/aarch32/aborts.c index 6b59d3157..9e310d836 100644 --- a/src/arch/armv8/aarch32/aborts.c +++ b/src/arch/armv8/aarch32/aborts.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch32/arch_sub.mk b/src/arch/armv8/aarch32/arch_sub.mk index 89c1f1d94..7cba82007 100644 --- a/src/arch/armv8/aarch32/arch_sub.mk +++ b/src/arch/armv8/aarch32/arch_sub.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. CROSS_COMPILE ?= arm-none-eabi- diff --git a/src/arch/armv8/aarch32/boot.S b/src/arch/armv8/aarch32/boot.S index 8dd2f8602..3134ce6bd 100644 --- a/src/arch/armv8/aarch32/boot.S +++ b/src/arch/armv8/aarch32/boot.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch32/exceptions.S b/src/arch/armv8/aarch32/exceptions.S index 2e98c73e4..4bf54a7b1 100644 --- a/src/arch/armv8/aarch32/exceptions.S +++ b/src/arch/armv8/aarch32/exceptions.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch32/inc/arch/spinlock.h b/src/arch/armv8/aarch32/inc/arch/spinlock.h index 70e71d9ec..685ba0171 100644 --- a/src/arch/armv8/aarch32/inc/arch/spinlock.h +++ b/src/arch/armv8/aarch32/inc/arch/spinlock.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch32/inc/arch/subarch/sysregs.h b/src/arch/armv8/aarch32/inc/arch/subarch/sysregs.h index e76aaae4f..9845f5086 100644 --- a/src/arch/armv8/aarch32/inc/arch/subarch/sysregs.h +++ b/src/arch/armv8/aarch32/inc/arch/subarch/sysregs.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch32/inc/arch/subarch/vm.h b/src/arch/armv8/aarch32/inc/arch/subarch/vm.h index a389a739d..1eac9a631 100644 --- a/src/arch/armv8/aarch32/inc/arch/subarch/vm.h +++ b/src/arch/armv8/aarch32/inc/arch/subarch/vm.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch32/objects.mk b/src/arch/armv8/aarch32/objects.mk index 19a4a45d7..13841f445 100644 --- a/src/arch/armv8/aarch32/objects.mk +++ b/src/arch/armv8/aarch32/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. cpu-objs-y+=$(ARCH_SUB)/boot.o diff --git a/src/arch/armv8/aarch32/vm.c b/src/arch/armv8/aarch32/vm.c index 0a7d8bf2d..1957c9ad2 100644 --- a/src/arch/armv8/aarch32/vm.c +++ b/src/arch/armv8/aarch32/vm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch64/aborts.c b/src/arch/armv8/aarch64/aborts.c index 7bff13e99..c8888c5b9 100644 --- a/src/arch/armv8/aarch64/aborts.c +++ b/src/arch/armv8/aarch64/aborts.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch64/arch_sub.mk b/src/arch/armv8/aarch64/arch_sub.mk index 48cf73d4a..8d42116eb 100644 --- a/src/arch/armv8/aarch64/arch_sub.mk +++ b/src/arch/armv8/aarch64/arch_sub.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. CROSS_COMPILE ?= aarch64-none-elf- diff --git a/src/arch/armv8/aarch64/boot.S b/src/arch/armv8/aarch64/boot.S index e971a363c..01ccdd91d 100644 --- a/src/arch/armv8/aarch64/boot.S +++ b/src/arch/armv8/aarch64/boot.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch64/exceptions.S b/src/arch/armv8/aarch64/exceptions.S index d009f3947..c4c4a7095 100644 --- a/src/arch/armv8/aarch64/exceptions.S +++ b/src/arch/armv8/aarch64/exceptions.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch64/inc/arch/spinlock.h b/src/arch/armv8/aarch64/inc/arch/spinlock.h index 28b457ae1..e73b55b2c 100644 --- a/src/arch/armv8/aarch64/inc/arch/spinlock.h +++ b/src/arch/armv8/aarch64/inc/arch/spinlock.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch64/inc/arch/subarch/sysregs.h b/src/arch/armv8/aarch64/inc/arch/subarch/sysregs.h index 68123cb64..8fb64496a 100644 --- a/src/arch/armv8/aarch64/inc/arch/subarch/sysregs.h +++ b/src/arch/armv8/aarch64/inc/arch/subarch/sysregs.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch64/inc/arch/subarch/vm.h b/src/arch/armv8/aarch64/inc/arch/subarch/vm.h index 95a5ea9c3..176f0a3de 100644 --- a/src/arch/armv8/aarch64/inc/arch/subarch/vm.h +++ b/src/arch/armv8/aarch64/inc/arch/subarch/vm.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aarch64/objects.mk b/src/arch/armv8/aarch64/objects.mk index 19a4a45d7..13841f445 100644 --- a/src/arch/armv8/aarch64/objects.mk +++ b/src/arch/armv8/aarch64/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. cpu-objs-y+=$(ARCH_SUB)/boot.o diff --git a/src/arch/armv8/aarch64/vm.c b/src/arch/armv8/aarch64/vm.c index 775701fc6..1fd594275 100644 --- a/src/arch/armv8/aarch64/vm.c +++ b/src/arch/armv8/aarch64/vm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/aborts.c b/src/arch/armv8/aborts.c index 291c25c17..c3bfc4b44 100644 --- a/src/arch/armv8/aborts.c +++ b/src/arch/armv8/aborts.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/arch.mk b/src/arch/armv8/arch.mk index 247eac916..c42158b25 100644 --- a/src/arch/armv8/arch.mk +++ b/src/arch/armv8/arch.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. ARCH_SUB?=aarch64 diff --git a/src/arch/armv8/armv8-a/aarch32/boot.S b/src/arch/armv8/armv8-a/aarch32/boot.S index c90466fb2..48ceb0698 100644 --- a/src/arch/armv8/armv8-a/aarch32/boot.S +++ b/src/arch/armv8/armv8-a/aarch32/boot.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/aarch32/inc/arch/bao.h b/src/arch/armv8/armv8-a/aarch32/inc/arch/bao.h index 1e8857b8c..13f05e832 100644 --- a/src/arch/armv8/armv8-a/aarch32/inc/arch/bao.h +++ b/src/arch/armv8/armv8-a/aarch32/inc/arch/bao.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/aarch32/objects.mk b/src/arch/armv8/armv8-a/aarch32/objects.mk index 36101643f..67e73600b 100644 --- a/src/arch/armv8/armv8-a/aarch32/objects.mk +++ b/src/arch/armv8/armv8-a/aarch32/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. cpu-objs-y+=$(ARCH_PROFILE)/$(ARCH_SUB)/boot.o diff --git a/src/arch/armv8/armv8-a/aarch32/relocate.S b/src/arch/armv8/armv8-a/aarch32/relocate.S index 796be6d65..405ef157f 100644 --- a/src/arch/armv8/armv8-a/aarch32/relocate.S +++ b/src/arch/armv8/armv8-a/aarch32/relocate.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/aarch32/vmm.c b/src/arch/armv8/armv8-a/aarch32/vmm.c index a672ee58c..ed0bdeb7f 100644 --- a/src/arch/armv8/armv8-a/aarch32/vmm.c +++ b/src/arch/armv8/armv8-a/aarch32/vmm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/arch/armv8/armv8-a/aarch64/boot.S b/src/arch/armv8/armv8-a/aarch64/boot.S index ba168c518..9fccadbe5 100644 --- a/src/arch/armv8/armv8-a/aarch64/boot.S +++ b/src/arch/armv8/armv8-a/aarch64/boot.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/aarch64/inc/arch/bao.h b/src/arch/armv8/armv8-a/aarch64/inc/arch/bao.h index 4bfeea7d7..9efbf8881 100644 --- a/src/arch/armv8/armv8-a/aarch64/inc/arch/bao.h +++ b/src/arch/armv8/armv8-a/aarch64/inc/arch/bao.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/aarch64/objects.mk b/src/arch/armv8/armv8-a/aarch64/objects.mk index ba23e8754..dbaa34f0c 100644 --- a/src/arch/armv8/armv8-a/aarch64/objects.mk +++ b/src/arch/armv8/armv8-a/aarch64/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. cpu-objs-y+=$(ARCH_PROFILE)/$(ARCH_SUB)/boot.o diff --git a/src/arch/armv8/armv8-a/aarch64/relocate.S b/src/arch/armv8/armv8-a/aarch64/relocate.S index ef06fd1b6..b10139224 100644 --- a/src/arch/armv8/armv8-a/aarch64/relocate.S +++ b/src/arch/armv8/armv8-a/aarch64/relocate.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/aarch64/vmm.c b/src/arch/armv8/armv8-a/aarch64/vmm.c index ea1dbea59..26c0daa6c 100644 --- a/src/arch/armv8/armv8-a/aarch64/vmm.c +++ b/src/arch/armv8/armv8-a/aarch64/vmm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/arch/armv8/armv8-a/cpu.c b/src/arch/armv8/armv8-a/cpu.c index 73282510f..f0cb8daca 100644 --- a/src/arch/armv8/armv8-a/cpu.c +++ b/src/arch/armv8/armv8-a/cpu.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/inc/arch/iommu.h b/src/arch/armv8/armv8-a/inc/arch/iommu.h index 64d65e21a..673e1c90a 100644 --- a/src/arch/armv8/armv8-a/inc/arch/iommu.h +++ b/src/arch/armv8/armv8-a/inc/arch/iommu.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/arch/armv8/armv8-a/inc/arch/mem.h b/src/arch/armv8/armv8-a/inc/arch/mem.h index 0d7df1fec..2eb1430d6 100644 --- a/src/arch/armv8/armv8-a/inc/arch/mem.h +++ b/src/arch/armv8/armv8-a/inc/arch/mem.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/inc/arch/page_table.h b/src/arch/armv8/armv8-a/inc/arch/page_table.h index bf8ae4588..bcfd2e4d6 100644 --- a/src/arch/armv8/armv8-a/inc/arch/page_table.h +++ b/src/arch/armv8/armv8-a/inc/arch/page_table.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/inc/arch/profile/cpu.h b/src/arch/armv8/armv8-a/inc/arch/profile/cpu.h index 95ddd3adf..d3cb14017 100644 --- a/src/arch/armv8/armv8-a/inc/arch/profile/cpu.h +++ b/src/arch/armv8/armv8-a/inc/arch/profile/cpu.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/inc/arch/smc.h b/src/arch/armv8/armv8-a/inc/arch/smc.h index daa487cac..f85914bc9 100644 --- a/src/arch/armv8/armv8-a/inc/arch/smc.h +++ b/src/arch/armv8/armv8-a/inc/arch/smc.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/inc/arch/smmuv2.h b/src/arch/armv8/armv8-a/inc/arch/smmuv2.h index 2bf4d2cde..b6e8a2df7 100644 --- a/src/arch/armv8/armv8-a/inc/arch/smmuv2.h +++ b/src/arch/armv8/armv8-a/inc/arch/smmuv2.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/inc/arch/tlb.h b/src/arch/armv8/armv8-a/inc/arch/tlb.h index 591574fad..227a21046 100644 --- a/src/arch/armv8/armv8-a/inc/arch/tlb.h +++ b/src/arch/armv8/armv8-a/inc/arch/tlb.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/iommu.c b/src/arch/armv8/armv8-a/iommu.c index 68da69d76..dc2d3d6c0 100644 --- a/src/arch/armv8/armv8-a/iommu.c +++ b/src/arch/armv8/armv8-a/iommu.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/mem.c b/src/arch/armv8/armv8-a/mem.c index 1f4a90d50..8805a108e 100644 --- a/src/arch/armv8/armv8-a/mem.c +++ b/src/arch/armv8/armv8-a/mem.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/objects.mk b/src/arch/armv8/armv8-a/objects.mk index d3d51c3f8..fb6b74a8f 100644 --- a/src/arch/armv8/armv8-a/objects.mk +++ b/src/arch/armv8/armv8-a/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. cpu-objs-y+=$(ARCH_PROFILE)/pagetables.o diff --git a/src/arch/armv8/armv8-a/page_table.c b/src/arch/armv8/armv8-a/page_table.c index 53ae0fa80..a8a28dd46 100644 --- a/src/arch/armv8/armv8-a/page_table.c +++ b/src/arch/armv8/armv8-a/page_table.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/pagetables.S b/src/arch/armv8/armv8-a/pagetables.S index 521370e76..f9dd4f199 100644 --- a/src/arch/armv8/armv8-a/pagetables.S +++ b/src/arch/armv8/armv8-a/pagetables.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/profile.mk b/src/arch/armv8/armv8-a/profile.mk index 992ec1437..7fbd0e5e2 100644 --- a/src/arch/armv8/armv8-a/profile.mk +++ b/src/arch/armv8/armv8-a/profile.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. arch-cppflags+= diff --git a/src/arch/armv8/armv8-a/psci.c b/src/arch/armv8/armv8-a/psci.c index 2c61d8999..bbe19cd05 100644 --- a/src/arch/armv8/armv8-a/psci.c +++ b/src/arch/armv8/armv8-a/psci.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/smc.c b/src/arch/armv8/armv8-a/smc.c index 5328e8b0c..a4dec34a3 100644 --- a/src/arch/armv8/armv8-a/smc.c +++ b/src/arch/armv8/armv8-a/smc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/smmuv2.c b/src/arch/armv8/armv8-a/smmuv2.c index ab728581c..4a3712cba 100644 --- a/src/arch/armv8/armv8-a/smmuv2.c +++ b/src/arch/armv8/armv8-a/smmuv2.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/vm.c b/src/arch/armv8/armv8-a/vm.c index c22a4805e..6c00db2c8 100644 --- a/src/arch/armv8/armv8-a/vm.c +++ b/src/arch/armv8/armv8-a/vm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-a/vmm.c b/src/arch/armv8/armv8-a/vmm.c index 297aadf6f..62fb4ac73 100644 --- a/src/arch/armv8/armv8-a/vmm.c +++ b/src/arch/armv8/armv8-a/vmm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/aarch32/boot.S b/src/arch/armv8/armv8-r/aarch32/boot.S index fd379b6fe..fa7e69677 100644 --- a/src/arch/armv8/armv8-r/aarch32/boot.S +++ b/src/arch/armv8/armv8-r/aarch32/boot.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/aarch32/objects.mk b/src/arch/armv8/armv8-r/aarch32/objects.mk index d4848b4ea..7d7fb5208 100644 --- a/src/arch/armv8/armv8-r/aarch32/objects.mk +++ b/src/arch/armv8/armv8-r/aarch32/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. cpu-objs-y+=$(ARCH_PROFILE)/$(ARCH_SUB)/boot.o diff --git a/src/arch/armv8/armv8-r/aarch64/boot.S b/src/arch/armv8/armv8-r/aarch64/boot.S index 73997d657..67b13e688 100644 --- a/src/arch/armv8/armv8-r/aarch64/boot.S +++ b/src/arch/armv8/armv8-r/aarch64/boot.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/aarch64/objects.mk b/src/arch/armv8/armv8-r/aarch64/objects.mk index d4848b4ea..7d7fb5208 100644 --- a/src/arch/armv8/armv8-r/aarch64/objects.mk +++ b/src/arch/armv8/armv8-r/aarch64/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. cpu-objs-y+=$(ARCH_PROFILE)/$(ARCH_SUB)/boot.o diff --git a/src/arch/armv8/armv8-r/cpu.c b/src/arch/armv8/armv8-r/cpu.c index d8e49c948..dc16fc75f 100644 --- a/src/arch/armv8/armv8-r/cpu.c +++ b/src/arch/armv8/armv8-r/cpu.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/inc/arch/bao.h b/src/arch/armv8/armv8-r/inc/arch/bao.h index 85dafe153..d3c70c1b7 100644 --- a/src/arch/armv8/armv8-r/inc/arch/bao.h +++ b/src/arch/armv8/armv8-r/inc/arch/bao.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/inc/arch/mem.h b/src/arch/armv8/armv8-r/inc/arch/mem.h index bb07bc482..bcb7acb6c 100644 --- a/src/arch/armv8/armv8-r/inc/arch/mem.h +++ b/src/arch/armv8/armv8-r/inc/arch/mem.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/inc/arch/profile/cpu.h b/src/arch/armv8/armv8-r/inc/arch/profile/cpu.h index ad1837a9a..3cde4a5ed 100644 --- a/src/arch/armv8/armv8-r/inc/arch/profile/cpu.h +++ b/src/arch/armv8/armv8-r/inc/arch/profile/cpu.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/mem.c b/src/arch/armv8/armv8-r/mem.c index 91f7a8fbd..77d047626 100644 --- a/src/arch/armv8/armv8-r/mem.c +++ b/src/arch/armv8/armv8-r/mem.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/mpu.c b/src/arch/armv8/armv8-r/mpu.c index 02d358d91..aad62856d 100644 --- a/src/arch/armv8/armv8-r/mpu.c +++ b/src/arch/armv8/armv8-r/mpu.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/objects.mk b/src/arch/armv8/armv8-r/objects.mk index 3ba2694b1..3e466210d 100644 --- a/src/arch/armv8/armv8-r/objects.mk +++ b/src/arch/armv8/armv8-r/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. cpu-objs-y+=$(ARCH_PROFILE)/cpu.o diff --git a/src/arch/armv8/armv8-r/profile.mk b/src/arch/armv8/armv8-r/profile.mk index 13ca3b942..cef6f4047 100644 --- a/src/arch/armv8/armv8-r/profile.mk +++ b/src/arch/armv8/armv8-r/profile.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. arch-cppflags+= diff --git a/src/arch/armv8/armv8-r/psci.c b/src/arch/armv8/armv8-r/psci.c index cbe42542d..e8658e98e 100644 --- a/src/arch/armv8/armv8-r/psci.c +++ b/src/arch/armv8/armv8-r/psci.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/vm.c b/src/arch/armv8/armv8-r/vm.c index 64e091fd9..a4bb26258 100644 --- a/src/arch/armv8/armv8-r/vm.c +++ b/src/arch/armv8/armv8-r/vm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/armv8-r/vmm.c b/src/arch/armv8/armv8-r/vmm.c index 65d9c211a..6d4f4718e 100644 --- a/src/arch/armv8/armv8-r/vmm.c +++ b/src/arch/armv8/armv8-r/vmm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/asm_defs.c b/src/arch/armv8/asm_defs.c index c578b17c5..80fba3c87 100644 --- a/src/arch/armv8/asm_defs.c +++ b/src/arch/armv8/asm_defs.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/cache.c b/src/arch/armv8/cache.c index 02c52ab05..dee9ed75e 100644 --- a/src/arch/armv8/cache.c +++ b/src/arch/armv8/cache.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/cpu.c b/src/arch/armv8/cpu.c index 3f2564817..b440c779f 100644 --- a/src/arch/armv8/cpu.c +++ b/src/arch/armv8/cpu.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/gic.c b/src/arch/armv8/gic.c index 6ef2172e5..e95075dbd 100644 --- a/src/arch/armv8/gic.c +++ b/src/arch/armv8/gic.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/gicv2.c b/src/arch/armv8/gicv2.c index 784cb451b..7140e1e14 100644 --- a/src/arch/armv8/gicv2.c +++ b/src/arch/armv8/gicv2.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/gicv3.c b/src/arch/armv8/gicv3.c index a408a0bf2..002fc1de1 100644 --- a/src/arch/armv8/gicv3.c +++ b/src/arch/armv8/gicv3.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/aborts.h b/src/arch/armv8/inc/arch/aborts.h index 1a5cd2bff..2f12dd4c7 100644 --- a/src/arch/armv8/inc/arch/aborts.h +++ b/src/arch/armv8/inc/arch/aborts.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/cache.h b/src/arch/armv8/inc/arch/cache.h index 140353b6d..69fff2b94 100644 --- a/src/arch/armv8/inc/arch/cache.h +++ b/src/arch/armv8/inc/arch/cache.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/cpu.h b/src/arch/armv8/inc/arch/cpu.h index 67e17089c..e674ff31d 100644 --- a/src/arch/armv8/inc/arch/cpu.h +++ b/src/arch/armv8/inc/arch/cpu.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/fences.h b/src/arch/armv8/inc/arch/fences.h index f1d018d8a..3c2298e94 100644 --- a/src/arch/armv8/inc/arch/fences.h +++ b/src/arch/armv8/inc/arch/fences.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/generic_timer.h b/src/arch/armv8/inc/arch/generic_timer.h index 6436a5559..57c47207b 100644 --- a/src/arch/armv8/inc/arch/generic_timer.h +++ b/src/arch/armv8/inc/arch/generic_timer.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/gic.h b/src/arch/armv8/inc/arch/gic.h index b8c7d53cf..3105723e3 100644 --- a/src/arch/armv8/inc/arch/gic.h +++ b/src/arch/armv8/inc/arch/gic.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/gicv2.h b/src/arch/armv8/inc/arch/gicv2.h index 923ee4c0f..9f065c537 100644 --- a/src/arch/armv8/inc/arch/gicv2.h +++ b/src/arch/armv8/inc/arch/gicv2.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/gicv3.h b/src/arch/armv8/inc/arch/gicv3.h index 7339d4d7a..508a3b13b 100644 --- a/src/arch/armv8/inc/arch/gicv3.h +++ b/src/arch/armv8/inc/arch/gicv3.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/hypercall.h b/src/arch/armv8/inc/arch/hypercall.h index ec73eca29..b2aefd0e7 100644 --- a/src/arch/armv8/inc/arch/hypercall.h +++ b/src/arch/armv8/inc/arch/hypercall.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/interrupts.h b/src/arch/armv8/inc/arch/interrupts.h index a24390603..ad4e684a1 100644 --- a/src/arch/armv8/inc/arch/interrupts.h +++ b/src/arch/armv8/inc/arch/interrupts.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/platform.h b/src/arch/armv8/inc/arch/platform.h index b4339f494..d63eff812 100644 --- a/src/arch/armv8/inc/arch/platform.h +++ b/src/arch/armv8/inc/arch/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/psci.h b/src/arch/armv8/inc/arch/psci.h index b3919e69d..da4f43819 100644 --- a/src/arch/armv8/inc/arch/psci.h +++ b/src/arch/armv8/inc/arch/psci.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/smcc.h b/src/arch/armv8/inc/arch/smcc.h index f555dae9d..0abbf78cb 100644 --- a/src/arch/armv8/inc/arch/smcc.h +++ b/src/arch/armv8/inc/arch/smcc.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/sysregs.h b/src/arch/armv8/inc/arch/sysregs.h index cb688103f..e0cca58d0 100644 --- a/src/arch/armv8/inc/arch/sysregs.h +++ b/src/arch/armv8/inc/arch/sysregs.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/vgic.h b/src/arch/armv8/inc/arch/vgic.h index 3c3304af1..8a0486c8c 100644 --- a/src/arch/armv8/inc/arch/vgic.h +++ b/src/arch/armv8/inc/arch/vgic.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/vgicv2.h b/src/arch/armv8/inc/arch/vgicv2.h index c37c4f4b2..2d05f428a 100644 --- a/src/arch/armv8/inc/arch/vgicv2.h +++ b/src/arch/armv8/inc/arch/vgicv2.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/vgicv3.h b/src/arch/armv8/inc/arch/vgicv3.h index 2cddf30f6..7dd3e8dff 100644 --- a/src/arch/armv8/inc/arch/vgicv3.h +++ b/src/arch/armv8/inc/arch/vgicv3.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/vm.h b/src/arch/armv8/inc/arch/vm.h index e98c1395c..fd4ac84c9 100644 --- a/src/arch/armv8/inc/arch/vm.h +++ b/src/arch/armv8/inc/arch/vm.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/inc/arch/vmm.h b/src/arch/armv8/inc/arch/vmm.h index 2512fcf06..6b4ad575b 100644 --- a/src/arch/armv8/inc/arch/vmm.h +++ b/src/arch/armv8/inc/arch/vmm.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/interrupts.c b/src/arch/armv8/interrupts.c index 2e96e87c9..68f95aca6 100644 --- a/src/arch/armv8/interrupts.c +++ b/src/arch/armv8/interrupts.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/objects.mk b/src/arch/armv8/objects.mk index a75017d38..798f36214 100644 --- a/src/arch/armv8/objects.mk +++ b/src/arch/armv8/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. cpu-objs-y+=cache.o diff --git a/src/arch/armv8/platform.c b/src/arch/armv8/platform.c index a653fdcac..1e9e57333 100644 --- a/src/arch/armv8/platform.c +++ b/src/arch/armv8/platform.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/psci.c b/src/arch/armv8/psci.c index 399b27d65..a0cb1eebf 100644 --- a/src/arch/armv8/psci.c +++ b/src/arch/armv8/psci.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/vgic.c b/src/arch/armv8/vgic.c index a4fc334f8..fab9c9236 100644 --- a/src/arch/armv8/vgic.c +++ b/src/arch/armv8/vgic.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/vgicv2.c b/src/arch/armv8/vgicv2.c index feb5a0971..c4c940114 100644 --- a/src/arch/armv8/vgicv2.c +++ b/src/arch/armv8/vgicv2.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/vgicv3.c b/src/arch/armv8/vgicv3.c index e86f35f71..4feb12228 100644 --- a/src/arch/armv8/vgicv3.c +++ b/src/arch/armv8/vgicv3.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/vm.c b/src/arch/armv8/vm.c index d2f3b0d72..00ddb58c7 100644 --- a/src/arch/armv8/vm.c +++ b/src/arch/armv8/vm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/armv8/vmm.c b/src/arch/armv8/vmm.c index 5a5a4b4b0..2b55c576b 100644 --- a/src/arch/armv8/vmm.c +++ b/src/arch/armv8/vmm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/arch.mk b/src/arch/riscv/arch.mk index f3af0fd24..2b841e8b2 100644 --- a/src/arch/riscv/arch.mk +++ b/src/arch/riscv/arch.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. CROSS_COMPILE := riscv64-unknown-elf- diff --git a/src/arch/riscv/asm_defs.c b/src/arch/riscv/asm_defs.c index 866b1f448..7c4cbe752 100644 --- a/src/arch/riscv/asm_defs.c +++ b/src/arch/riscv/asm_defs.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/boot.S b/src/arch/riscv/boot.S index 45f865632..c2e1cff38 100644 --- a/src/arch/riscv/boot.S +++ b/src/arch/riscv/boot.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/cache.c b/src/arch/riscv/cache.c index deb9a50d9..ae6492aff 100644 --- a/src/arch/riscv/cache.c +++ b/src/arch/riscv/cache.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/cpu.c b/src/arch/riscv/cpu.c index f113bd1d1..ce0fd692d 100644 --- a/src/arch/riscv/cpu.c +++ b/src/arch/riscv/cpu.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/exceptions.S b/src/arch/riscv/exceptions.S index 6535740d8..55cdde01b 100644 --- a/src/arch/riscv/exceptions.S +++ b/src/arch/riscv/exceptions.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/bao.h b/src/arch/riscv/inc/arch/bao.h index eb2bd39b0..77111e0ad 100644 --- a/src/arch/riscv/inc/arch/bao.h +++ b/src/arch/riscv/inc/arch/bao.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/cache.h b/src/arch/riscv/inc/arch/cache.h index df732e5b9..efe2ed26b 100644 --- a/src/arch/riscv/inc/arch/cache.h +++ b/src/arch/riscv/inc/arch/cache.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/cpu.h b/src/arch/riscv/inc/arch/cpu.h index 566ded99c..1c65092d0 100644 --- a/src/arch/riscv/inc/arch/cpu.h +++ b/src/arch/riscv/inc/arch/cpu.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/csrs.h b/src/arch/riscv/inc/arch/csrs.h index 2a0d6a8f3..8793e0c31 100644 --- a/src/arch/riscv/inc/arch/csrs.h +++ b/src/arch/riscv/inc/arch/csrs.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/encoding.h b/src/arch/riscv/inc/arch/encoding.h index 0ef79d266..73b5289e5 100644 --- a/src/arch/riscv/inc/arch/encoding.h +++ b/src/arch/riscv/inc/arch/encoding.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/fences.h b/src/arch/riscv/inc/arch/fences.h index c4d4fbe0f..de2b90021 100644 --- a/src/arch/riscv/inc/arch/fences.h +++ b/src/arch/riscv/inc/arch/fences.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ #ifndef __FENCES_ARCH_H__ diff --git a/src/arch/riscv/inc/arch/hypercall.h b/src/arch/riscv/inc/arch/hypercall.h index da5161e6e..3342d12e8 100644 --- a/src/arch/riscv/inc/arch/hypercall.h +++ b/src/arch/riscv/inc/arch/hypercall.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/instructions.h b/src/arch/riscv/inc/arch/instructions.h index ca1279634..3034ffbc0 100644 --- a/src/arch/riscv/inc/arch/instructions.h +++ b/src/arch/riscv/inc/arch/instructions.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/interrupts.h b/src/arch/riscv/inc/arch/interrupts.h index 8f0eaa595..5b4e21c2a 100644 --- a/src/arch/riscv/inc/arch/interrupts.h +++ b/src/arch/riscv/inc/arch/interrupts.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/iommu.h b/src/arch/riscv/inc/arch/iommu.h index 92f1dde40..9e101e3b3 100644 --- a/src/arch/riscv/inc/arch/iommu.h +++ b/src/arch/riscv/inc/arch/iommu.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/mem.h b/src/arch/riscv/inc/arch/mem.h index bf8399016..7f1dfcfd0 100644 --- a/src/arch/riscv/inc/arch/mem.h +++ b/src/arch/riscv/inc/arch/mem.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/opcodes.h b/src/arch/riscv/inc/arch/opcodes.h index 7c54d3a78..1bc81eacc 100644 --- a/src/arch/riscv/inc/arch/opcodes.h +++ b/src/arch/riscv/inc/arch/opcodes.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/page_table.h b/src/arch/riscv/inc/arch/page_table.h index 09a539370..0be3fd4b2 100644 --- a/src/arch/riscv/inc/arch/page_table.h +++ b/src/arch/riscv/inc/arch/page_table.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/platform.h b/src/arch/riscv/inc/arch/platform.h index a88a97bca..c9d7e84e5 100644 --- a/src/arch/riscv/inc/arch/platform.h +++ b/src/arch/riscv/inc/arch/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/plic.h b/src/arch/riscv/inc/arch/plic.h index 0fab2f3ba..ab6aeec39 100644 --- a/src/arch/riscv/inc/arch/plic.h +++ b/src/arch/riscv/inc/arch/plic.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/sbi.h b/src/arch/riscv/inc/arch/sbi.h index 276dd3af5..e9809c78d 100644 --- a/src/arch/riscv/inc/arch/sbi.h +++ b/src/arch/riscv/inc/arch/sbi.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/spinlock.h b/src/arch/riscv/inc/arch/spinlock.h index 7f972feb1..0ebc3f4d0 100644 --- a/src/arch/riscv/inc/arch/spinlock.h +++ b/src/arch/riscv/inc/arch/spinlock.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/tlb.h b/src/arch/riscv/inc/arch/tlb.h index 3ebe59a39..56f5e5588 100644 --- a/src/arch/riscv/inc/arch/tlb.h +++ b/src/arch/riscv/inc/arch/tlb.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/vm.h b/src/arch/riscv/inc/arch/vm.h index 12a9289ce..e762a7255 100644 --- a/src/arch/riscv/inc/arch/vm.h +++ b/src/arch/riscv/inc/arch/vm.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/vmm.h b/src/arch/riscv/inc/arch/vmm.h index 0b084799e..dbf17c5de 100644 --- a/src/arch/riscv/inc/arch/vmm.h +++ b/src/arch/riscv/inc/arch/vmm.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/inc/arch/vplic.h b/src/arch/riscv/inc/arch/vplic.h index f6339fb8b..f36bd093e 100644 --- a/src/arch/riscv/inc/arch/vplic.h +++ b/src/arch/riscv/inc/arch/vplic.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/interrupts.c b/src/arch/riscv/interrupts.c index dccb32bf7..aba36ae50 100644 --- a/src/arch/riscv/interrupts.c +++ b/src/arch/riscv/interrupts.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/iommu.c b/src/arch/riscv/iommu.c index 237ffdf41..e1edd1a08 100644 --- a/src/arch/riscv/iommu.c +++ b/src/arch/riscv/iommu.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/mem.c b/src/arch/riscv/mem.c index fa8200bbd..56a8817e5 100644 --- a/src/arch/riscv/mem.c +++ b/src/arch/riscv/mem.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/objects.mk b/src/arch/riscv/objects.mk index 0046853ae..020a810c7 100644 --- a/src/arch/riscv/objects.mk +++ b/src/arch/riscv/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. cpu-objs-y+=boot.o diff --git a/src/arch/riscv/page_table.c b/src/arch/riscv/page_table.c index 10577110a..454dc57e2 100644 --- a/src/arch/riscv/page_table.c +++ b/src/arch/riscv/page_table.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/plic.c b/src/arch/riscv/plic.c index 533a97734..71a3df77d 100644 --- a/src/arch/riscv/plic.c +++ b/src/arch/riscv/plic.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/relocate.S b/src/arch/riscv/relocate.S index d4dae6204..4d1a5d943 100644 --- a/src/arch/riscv/relocate.S +++ b/src/arch/riscv/relocate.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/root_pt.S b/src/arch/riscv/root_pt.S index 0c1b460c7..7b6a32528 100644 --- a/src/arch/riscv/root_pt.S +++ b/src/arch/riscv/root_pt.S @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/sbi.c b/src/arch/riscv/sbi.c index bf41bc671..7a81b7e87 100644 --- a/src/arch/riscv/sbi.c +++ b/src/arch/riscv/sbi.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/sync_exceptions.c b/src/arch/riscv/sync_exceptions.c index 4aea9568d..9bcd1d1c1 100644 --- a/src/arch/riscv/sync_exceptions.c +++ b/src/arch/riscv/sync_exceptions.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/vm.c b/src/arch/riscv/vm.c index e90882486..586a2f056 100644 --- a/src/arch/riscv/vm.c +++ b/src/arch/riscv/vm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/vmm.c b/src/arch/riscv/vmm.c index cdd2a4636..500300130 100644 --- a/src/arch/riscv/vmm.c +++ b/src/arch/riscv/vmm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/arch/riscv/vplic.c b/src/arch/riscv/vplic.c index 0d9dc25a3..87d9294e9 100644 --- a/src/arch/riscv/vplic.c +++ b/src/arch/riscv/vplic.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/cache.c b/src/core/cache.c index d5144d81a..600859d00 100644 --- a/src/core/cache.c +++ b/src/core/cache.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/config.c b/src/core/config.c index 0d369a586..25fcffda3 100644 --- a/src/core/config.c +++ b/src/core/config.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/console.c b/src/core/console.c index 813559594..7a0c25366 100644 --- a/src/core/console.c +++ b/src/core/console.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/cpu.c b/src/core/cpu.c index 5689c24e8..5496825fe 100644 --- a/src/core/cpu.c +++ b/src/core/cpu.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/hypercall.c b/src/core/hypercall.c index d27b0a09e..9806e55e7 100644 --- a/src/core/hypercall.c +++ b/src/core/hypercall.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/bao.h b/src/core/inc/bao.h index c7b028a99..500240af2 100644 --- a/src/core/inc/bao.h +++ b/src/core/inc/bao.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/cache.h b/src/core/inc/cache.h index 3eeecc69e..efc650c7a 100644 --- a/src/core/inc/cache.h +++ b/src/core/inc/cache.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/config.h b/src/core/inc/config.h index 7e49137d1..2e328ef0c 100644 --- a/src/core/inc/config.h +++ b/src/core/inc/config.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/config_defs.h b/src/core/inc/config_defs.h index 3de18cac2..f5c18c990 100755 --- a/src/core/inc/config_defs.h +++ b/src/core/inc/config_defs.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/core/inc/console.h b/src/core/inc/console.h index 7e0cc491d..03808a10e 100644 --- a/src/core/inc/console.h +++ b/src/core/inc/console.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/cpu.h b/src/core/inc/cpu.h index 260f10d37..b5f77cd7f 100644 --- a/src/core/inc/cpu.h +++ b/src/core/inc/cpu.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/emul.h b/src/core/inc/emul.h index 7a4454a59..e2e54a139 100644 --- a/src/core/inc/emul.h +++ b/src/core/inc/emul.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/fences.h b/src/core/inc/fences.h index f79ebf17c..18ca2d8fa 100644 --- a/src/core/inc/fences.h +++ b/src/core/inc/fences.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/hypercall.h b/src/core/inc/hypercall.h index a80387466..a1fbf22e0 100644 --- a/src/core/inc/hypercall.h +++ b/src/core/inc/hypercall.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/interrupts.h b/src/core/inc/interrupts.h index d16a33c6a..44b105844 100644 --- a/src/core/inc/interrupts.h +++ b/src/core/inc/interrupts.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/io.h b/src/core/inc/io.h index 83521ef3d..34ca9c7f8 100644 --- a/src/core/inc/io.h +++ b/src/core/inc/io.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/core/inc/ipc.h b/src/core/inc/ipc.h index 75b35fc3e..a0841e49d 100644 --- a/src/core/inc/ipc.h +++ b/src/core/inc/ipc.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/mem.h b/src/core/inc/mem.h index f2ce00426..4b6d235a3 100644 --- a/src/core/inc/mem.h +++ b/src/core/inc/mem.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/objpool.h b/src/core/inc/objpool.h index 248310a84..cb86cd490 100644 --- a/src/core/inc/objpool.h +++ b/src/core/inc/objpool.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/page_table.h b/src/core/inc/page_table.h index e5faff50d..86188612b 100644 --- a/src/core/inc/page_table.h +++ b/src/core/inc/page_table.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/platform.h b/src/core/inc/platform.h index 340c7ec77..ef8f89b11 100644 --- a/src/core/inc/platform.h +++ b/src/core/inc/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/platform_defs.h b/src/core/inc/platform_defs.h index 6482e9ccc..f15d5b4d1 100755 --- a/src/core/inc/platform_defs.h +++ b/src/core/inc/platform_defs.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/core/inc/spinlock.h b/src/core/inc/spinlock.h index 42e1b0a9c..1bbd728eb 100644 --- a/src/core/inc/spinlock.h +++ b/src/core/inc/spinlock.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/tlb.h b/src/core/inc/tlb.h index a52be405b..260561c78 100644 --- a/src/core/inc/tlb.h +++ b/src/core/inc/tlb.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/types.h b/src/core/inc/types.h index 96bfc7e76..aad834764 100644 --- a/src/core/inc/types.h +++ b/src/core/inc/types.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/vm.h b/src/core/inc/vm.h index 0d2528a00..eff65650c 100644 --- a/src/core/inc/vm.h +++ b/src/core/inc/vm.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/inc/vmm.h b/src/core/inc/vmm.h index 18015f601..b6dcfa125 100644 --- a/src/core/inc/vmm.h +++ b/src/core/inc/vmm.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/init.c b/src/core/init.c index b2f1f0848..00dca238b 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/interrupts.c b/src/core/interrupts.c index 8a163dc31..0f25bafa2 100644 --- a/src/core/interrupts.c +++ b/src/core/interrupts.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/ipc.c b/src/core/ipc.c index 40b26ed5f..5f2f4c03e 100644 --- a/src/core/ipc.c +++ b/src/core/ipc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mem.c b/src/core/mem.c index 6c9399863..583c45f7c 100644 --- a/src/core/mem.c +++ b/src/core/mem.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mmu/inc/mem_prot/io.h b/src/core/mmu/inc/mem_prot/io.h index 7e3cece48..28f6c42e2 100644 --- a/src/core/mmu/inc/mem_prot/io.h +++ b/src/core/mmu/inc/mem_prot/io.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mmu/inc/mem_prot/mem.h b/src/core/mmu/inc/mem_prot/mem.h index 0db99cf48..579581294 100644 --- a/src/core/mmu/inc/mem_prot/mem.h +++ b/src/core/mmu/inc/mem_prot/mem.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mmu/inc/mem_prot/vmm.h b/src/core/mmu/inc/mem_prot/vmm.h index 5f2df323a..06cf4433c 100644 --- a/src/core/mmu/inc/mem_prot/vmm.h +++ b/src/core/mmu/inc/mem_prot/vmm.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/core/mmu/io.c b/src/core/mmu/io.c index 9ac35fbb6..155f7cd45 100644 --- a/src/core/mmu/io.c +++ b/src/core/mmu/io.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mmu/mem.c b/src/core/mmu/mem.c index 65faffdfd..c231f027e 100644 --- a/src/core/mmu/mem.c +++ b/src/core/mmu/mem.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mmu/objects.mk b/src/core/mmu/objects.mk index 631d30a56..1efcd270c 100644 --- a/src/core/mmu/objects.mk +++ b/src/core/mmu/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved core-objs-y+=mmu/mem.o diff --git a/src/core/mmu/vm.c b/src/core/mmu/vm.c index 93107a594..03230db76 100644 --- a/src/core/mmu/vm.c +++ b/src/core/mmu/vm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mmu/vmm.c b/src/core/mmu/vmm.c index 82280db51..017f7f515 100644 --- a/src/core/mmu/vmm.c +++ b/src/core/mmu/vmm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mpu/config.c b/src/core/mpu/config.c index e6c8128ce..c9c29dad0 100644 --- a/src/core/mpu/config.c +++ b/src/core/mpu/config.c @@ -1,3 +1,8 @@ +/** + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) Bao Project and Contributors. All rights reserved. + */ + #include #include diff --git a/src/core/mpu/inc/mem_prot/io.h b/src/core/mpu/inc/mem_prot/io.h index ac5bcb996..36e08c92e 100644 --- a/src/core/mpu/inc/mem_prot/io.h +++ b/src/core/mpu/inc/mem_prot/io.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/core/mpu/inc/mem_prot/mem.h b/src/core/mpu/inc/mem_prot/mem.h index 69a1c117e..fef4ad320 100644 --- a/src/core/mpu/inc/mem_prot/mem.h +++ b/src/core/mpu/inc/mem_prot/mem.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mpu/inc/mem_prot/vmm.h b/src/core/mpu/inc/mem_prot/vmm.h index 765def1af..bdfb85256 100644 --- a/src/core/mpu/inc/mem_prot/vmm.h +++ b/src/core/mpu/inc/mem_prot/vmm.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mpu/io.c b/src/core/mpu/io.c index ef3e932cc..97e9173a4 100644 --- a/src/core/mpu/io.c +++ b/src/core/mpu/io.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mpu/mem.c b/src/core/mpu/mem.c index deea0ba85..578037bd7 100644 --- a/src/core/mpu/mem.c +++ b/src/core/mpu/mem.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mpu/objects.mk b/src/core/mpu/objects.mk index 8f900926b..6b6af44d0 100644 --- a/src/core/mpu/objects.mk +++ b/src/core/mpu/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. core-objs-y+=mpu/mem.o diff --git a/src/core/mpu/vm.c b/src/core/mpu/vm.c index b89cec631..a363fd500 100644 --- a/src/core/mpu/vm.c +++ b/src/core/mpu/vm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/mpu/vmm.c b/src/core/mpu/vmm.c index 1439e80b2..f95a20dd1 100644 --- a/src/core/mpu/vmm.c +++ b/src/core/mpu/vmm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/objects.mk b/src/core/objects.mk index 787844f86..91d0be507 100644 --- a/src/core/objects.mk +++ b/src/core/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. core-objs-y+=init.o diff --git a/src/core/objpool.c b/src/core/objpool.c index 75e00691a..e92b6c67a 100644 --- a/src/core/objpool.c +++ b/src/core/objpool.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/vm.c b/src/core/vm.c index 455ad54a3..bc3a2ca61 100644 --- a/src/core/vm.c +++ b/src/core/vm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/core/vmm.c b/src/core/vmm.c index 46a096a22..a620c3284 100644 --- a/src/core/vmm.c +++ b/src/core/vmm.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/lib/bitmap.c b/src/lib/bitmap.c index 0c90dfd29..30e936992 100644 --- a/src/lib/bitmap.c +++ b/src/lib/bitmap.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/lib/inc/bit.h b/src/lib/inc/bit.h index 7c74a0d26..439390238 100644 --- a/src/lib/inc/bit.h +++ b/src/lib/inc/bit.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/lib/inc/bitmap.h b/src/lib/inc/bitmap.h index 9d39dfa2e..80f29995a 100644 --- a/src/lib/inc/bitmap.h +++ b/src/lib/inc/bitmap.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/lib/inc/list.h b/src/lib/inc/list.h index a8eb2b9cc..9f49206fc 100644 --- a/src/lib/inc/list.h +++ b/src/lib/inc/list.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/lib/inc/printk.h b/src/lib/inc/printk.h index 8c203f9a3..930f36eb9 100644 --- a/src/lib/inc/printk.h +++ b/src/lib/inc/printk.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/lib/inc/string.h b/src/lib/inc/string.h index 3afaa9a03..960ae9edf 100644 --- a/src/lib/inc/string.h +++ b/src/lib/inc/string.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/lib/inc/util.h b/src/lib/inc/util.h index a64293307..cd558dd32 100644 --- a/src/lib/inc/util.h +++ b/src/lib/inc/util.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/lib/objects.mk b/src/lib/objects.mk index 9c8cfa2fb..1f58aa6d0 100644 --- a/src/lib/objects.mk +++ b/src/lib/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. lib-objs-y+=string.o diff --git a/src/lib/printk.c b/src/lib/printk.c index d0b1851f1..aa0d8cec0 100644 --- a/src/lib/printk.c +++ b/src/lib/printk.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/lib/string.c b/src/lib/string.c index a4ce39bd1..c59c003cd 100644 --- a/src/lib/string.c +++ b/src/lib/string.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/linker.ld b/src/linker.ld index 0c13d6942..d239a8d82 100644 --- a/src/linker.ld +++ b/src/linker.ld @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/drivers/8250_uart/8250_uart.c b/src/platform/drivers/8250_uart/8250_uart.c index 5b5e6d258..2b9838951 100644 --- a/src/platform/drivers/8250_uart/8250_uart.c +++ b/src/platform/drivers/8250_uart/8250_uart.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/drivers/8250_uart/inc/drivers/8250_uart.h b/src/platform/drivers/8250_uart/inc/drivers/8250_uart.h index 7ad00c0dd..566957ec2 100644 --- a/src/platform/drivers/8250_uart/inc/drivers/8250_uart.h +++ b/src/platform/drivers/8250_uart/inc/drivers/8250_uart.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/drivers/8250_uart/objects.mk b/src/platform/drivers/8250_uart/objects.mk index c95386891..664df11ab 100644 --- a/src/platform/drivers/8250_uart/objects.mk +++ b/src/platform/drivers/8250_uart/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. drivers-objs-y+=8250_uart/8250_uart.o diff --git a/src/platform/drivers/nxp_uart/inc/drivers/nxp_uart.h b/src/platform/drivers/nxp_uart/inc/drivers/nxp_uart.h index 97767a5a5..b3b24eb71 100644 --- a/src/platform/drivers/nxp_uart/inc/drivers/nxp_uart.h +++ b/src/platform/drivers/nxp_uart/inc/drivers/nxp_uart.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/drivers/nxp_uart/nxp_uart.c b/src/platform/drivers/nxp_uart/nxp_uart.c index 9ef554987..8c96bcb27 100644 --- a/src/platform/drivers/nxp_uart/nxp_uart.c +++ b/src/platform/drivers/nxp_uart/nxp_uart.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/drivers/nxp_uart/objects.mk b/src/platform/drivers/nxp_uart/objects.mk index dd4f6880b..d9b3d1a96 100644 --- a/src/platform/drivers/nxp_uart/objects.mk +++ b/src/platform/drivers/nxp_uart/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. drivers-objs-y+=nxp_uart/nxp_uart.o diff --git a/src/platform/drivers/pl011_uart/inc/drivers/pl011_uart.h b/src/platform/drivers/pl011_uart/inc/drivers/pl011_uart.h index 8c3d6fe22..96ddfb334 100644 --- a/src/platform/drivers/pl011_uart/inc/drivers/pl011_uart.h +++ b/src/platform/drivers/pl011_uart/inc/drivers/pl011_uart.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/drivers/pl011_uart/objects.mk b/src/platform/drivers/pl011_uart/objects.mk index 0c810dfb5..f4fea5c7d 100644 --- a/src/platform/drivers/pl011_uart/objects.mk +++ b/src/platform/drivers/pl011_uart/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. drivers-objs-y+=pl011_uart/pl011_uart.o diff --git a/src/platform/drivers/pl011_uart/pl011_uart.c b/src/platform/drivers/pl011_uart/pl011_uart.c index 037381da6..e65bc777b 100644 --- a/src/platform/drivers/pl011_uart/pl011_uart.c +++ b/src/platform/drivers/pl011_uart/pl011_uart.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/drivers/sbi_uart/inc/drivers/sbi_uart.h b/src/platform/drivers/sbi_uart/inc/drivers/sbi_uart.h index 3e3ec18ef..334b2d188 100644 --- a/src/platform/drivers/sbi_uart/inc/drivers/sbi_uart.h +++ b/src/platform/drivers/sbi_uart/inc/drivers/sbi_uart.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/drivers/sbi_uart/objects.mk b/src/platform/drivers/sbi_uart/objects.mk index 5d2947ef1..cfad0d7d7 100644 --- a/src/platform/drivers/sbi_uart/objects.mk +++ b/src/platform/drivers/sbi_uart/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. drivers-objs-y+=sbi_uart/sbi_uart.o diff --git a/src/platform/drivers/sbi_uart/sbi_uart.c b/src/platform/drivers/sbi_uart/sbi_uart.c index 0b4ea9d7b..1965ea2e4 100644 --- a/src/platform/drivers/sbi_uart/sbi_uart.c +++ b/src/platform/drivers/sbi_uart/sbi_uart.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/drivers/zynq_uart/inc/drivers/zynq_uart.h b/src/platform/drivers/zynq_uart/inc/drivers/zynq_uart.h index 7e91832ea..49e40586d 100644 --- a/src/platform/drivers/zynq_uart/inc/drivers/zynq_uart.h +++ b/src/platform/drivers/zynq_uart/inc/drivers/zynq_uart.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/drivers/zynq_uart/objects.mk b/src/platform/drivers/zynq_uart/objects.mk index 1347bce1c..a9e9c8476 100644 --- a/src/platform/drivers/zynq_uart/objects.mk +++ b/src/platform/drivers/zynq_uart/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. drivers-objs-y+=zynq_uart/zynq_uart.o diff --git a/src/platform/drivers/zynq_uart/zynq_uart.c b/src/platform/drivers/zynq_uart/zynq_uart.c index 27abaa2cb..4aff84800 100644 --- a/src/platform/drivers/zynq_uart/zynq_uart.c +++ b/src/platform/drivers/zynq_uart/zynq_uart.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/fvp-a-aarch32/platform.mk b/src/platform/fvp-a-aarch32/platform.mk index 4be5717f5..162e8283e 100644 --- a/src/platform/fvp-a-aarch32/platform.mk +++ b/src/platform/fvp-a-aarch32/platform.mk @@ -1,2 +1,5 @@ +## SPDX-License-Identifier: Apache-2.0 +## Copyright (c) Bao Project and Contributors. All rights reserved. + ARCH_SUB:=aarch32 include $(current_directory)/../fvp-a/platform.mk diff --git a/src/platform/fvp-a/fvpa_desc.c b/src/platform/fvp-a/fvpa_desc.c index 1d70cecf3..7cad46adc 100644 --- a/src/platform/fvp-a/fvpa_desc.c +++ b/src/platform/fvp-a/fvpa_desc.c @@ -1,16 +1,6 @@ -/** - * Bao, a Lightweight Static Partitioning Hypervisor - * - * Copyright (c) Bao Project (www.bao-project.org), 2019- - * - * Authors: - * Sandro Pinto - * - * Bao is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License version 2 as published by the Free - * Software Foundation, with a special exception exempting guest code from such - * license. See the COPYING file in the top-level directory for details. - * +/** + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) Bao Project and Contributors. All rights reserved. */ #include diff --git a/src/platform/fvp-a/inc/plat/platform.h b/src/platform/fvp-a/inc/plat/platform.h index 1fe8b7226..a54520860 100644 --- a/src/platform/fvp-a/inc/plat/platform.h +++ b/src/platform/fvp-a/inc/plat/platform.h @@ -1,16 +1,6 @@ -/** - * Bao, a Lightweight Static Partitioning Hypervisor - * - * Copyright (c) Bao Project (www.bao-project.org), 2019- - * - * Authors: - * Sandro Pinto - * - * Bao is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License version 2 as published by the Free - * Software Foundation, with a special exception exempting guest code from such - * license. See the COPYING file in the top-level directory for details. - * +/** + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) Bao Project and Contributors. All rights reserved. */ #ifndef __PLAT_PLATFORM_H__ diff --git a/src/platform/fvp-a/inc/plat/psci.h b/src/platform/fvp-a/inc/plat/psci.h index f80994df2..d9a46fe33 100644 --- a/src/platform/fvp-a/inc/plat/psci.h +++ b/src/platform/fvp-a/inc/plat/psci.h @@ -1,16 +1,6 @@ -/** - * Bao, a Lightweight Static Partitioning Hypervisor - * - * Copyright (c) Bao Project (www.bao-project.org), 2019- - * - * Authors: - * Sandro Pinto - * - * Bao is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License version 2 as published by the Free - * Software Foundation, with a special exception exempting guest code from such - * license. See the COPYING file in the top-level directory for details. - * +/** + * SPDX-License-Identifier: Apache-2.0 + * Copyright (c) Bao Project and Contributors. All rights reserved. */ #ifndef __PLAT_PSCI_H__ diff --git a/src/platform/fvp-a/objects.mk b/src/platform/fvp-a/objects.mk index 210f05932..dca063623 100644 --- a/src/platform/fvp-a/objects.mk +++ b/src/platform/fvp-a/objects.mk @@ -1,16 +1,4 @@ -## - # Bao, a Lightweight Static Partitioning Hypervisor - # - # Copyright (c) Bao Project (www.bao-project.org), 2019- - # - # Authors: - # Sandro Pinto - # - # Bao is free software; you can redistribute it and/or modify it under the - # terms of the GNU General Public License version 2 as published by the Free - # Software Foundation, with a special exception exempting guest code from such - # license. See the COPYING file in the top-level directory for details. - # -## +## SPDX-License-Identifier: Apache-2.0 +## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=fvpa_desc.o diff --git a/src/platform/fvp-a/platform.mk b/src/platform/fvp-a/platform.mk index efa46386b..09ff550c2 100644 --- a/src/platform/fvp-a/platform.mk +++ b/src/platform/fvp-a/platform.mk @@ -1,17 +1,5 @@ -## - # Bao, a Lightweight Static Partitioning Hypervisor - # - # Copyright (c) Bao Project (www.bao-project.org), 2019- - # - # Authors: - # Sandro Pinto - # - # Bao is free software; you can redistribute it and/or modify it under the - # terms of the GNU General Public License version 2 as published by the Free - # Software Foundation, with a special exception exempting guest code from such - # license. See the COPYING file in the top-level directory for details. - # -## +## SPDX-License-Identifier: Apache-2.0 +## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition ARCH:=armv8 diff --git a/src/platform/fvp-r-aarch32/platform.mk b/src/platform/fvp-r-aarch32/platform.mk index 228c8ce44..8b7334c40 100644 --- a/src/platform/fvp-r-aarch32/platform.mk +++ b/src/platform/fvp-r-aarch32/platform.mk @@ -1,2 +1,5 @@ +## SPDX-License-Identifier: Apache-2.0 +## Copyright (c) Bao Project and Contributors. All rights reserved. + ARCH_SUB:=aarch32 include $(current_directory)/../fvp-r/platform.mk diff --git a/src/platform/fvp-r/fvpr_desc.c b/src/platform/fvp-r/fvpr_desc.c index c86bc26bc..25733b94c 100644 --- a/src/platform/fvp-r/fvpr_desc.c +++ b/src/platform/fvp-r/fvpr_desc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/fvp-r/inc/plat/platform.h b/src/platform/fvp-r/inc/plat/platform.h index a2c830f0a..a54520860 100644 --- a/src/platform/fvp-r/inc/plat/platform.h +++ b/src/platform/fvp-r/inc/plat/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/fvp-r/inc/plat/psci.h b/src/platform/fvp-r/inc/plat/psci.h index 70369d4fc..ca8a64df5 100644 --- a/src/platform/fvp-r/inc/plat/psci.h +++ b/src/platform/fvp-r/inc/plat/psci.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/fvp-r/objects.mk b/src/platform/fvp-r/objects.mk index fe740b767..19adfade6 100644 --- a/src/platform/fvp-r/objects.mk +++ b/src/platform/fvp-r/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=fvpr_desc.o diff --git a/src/platform/fvp-r/platform.mk b/src/platform/fvp-r/platform.mk index 38ce3abf9..99ea988cb 100644 --- a/src/platform/fvp-r/platform.mk +++ b/src/platform/fvp-r/platform.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition diff --git a/src/platform/hikey960/hikey960_desc.c b/src/platform/hikey960/hikey960_desc.c index 67a72d286..287b76fe0 100644 --- a/src/platform/hikey960/hikey960_desc.c +++ b/src/platform/hikey960/hikey960_desc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/hikey960/inc/plat/platform.h b/src/platform/hikey960/inc/plat/platform.h index 2278f2770..7f31217dd 100644 --- a/src/platform/hikey960/inc/plat/platform.h +++ b/src/platform/hikey960/inc/plat/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/platform/hikey960/inc/plat/psci.h b/src/platform/hikey960/inc/plat/psci.h index cc68ffaf1..6fec7c190 100644 --- a/src/platform/hikey960/inc/plat/psci.h +++ b/src/platform/hikey960/inc/plat/psci.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/hikey960/objects.mk b/src/platform/hikey960/objects.mk index 70eefc1f9..bac5ddfdd 100644 --- a/src/platform/hikey960/objects.mk +++ b/src/platform/hikey960/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=hikey960_desc.o diff --git a/src/platform/hikey960/platform.mk b/src/platform/hikey960/platform.mk index 72d6c5522..727966394 100644 --- a/src/platform/hikey960/platform.mk +++ b/src/platform/hikey960/platform.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition diff --git a/src/platform/imx8qm/imx8qm_desc.c b/src/platform/imx8qm/imx8qm_desc.c index 4aba85566..ce8f2e8cf 100644 --- a/src/platform/imx8qm/imx8qm_desc.c +++ b/src/platform/imx8qm/imx8qm_desc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/imx8qm/inc/plat/platform.h b/src/platform/imx8qm/inc/plat/platform.h index be430a75c..6b65ee272 100644 --- a/src/platform/imx8qm/inc/plat/platform.h +++ b/src/platform/imx8qm/inc/plat/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/imx8qm/inc/plat/psci.h b/src/platform/imx8qm/inc/plat/psci.h index 985629d23..71a8115c7 100644 --- a/src/platform/imx8qm/inc/plat/psci.h +++ b/src/platform/imx8qm/inc/plat/psci.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/imx8qm/objects.mk b/src/platform/imx8qm/objects.mk index c59aaeada..a33d4e6d2 100644 --- a/src/platform/imx8qm/objects.mk +++ b/src/platform/imx8qm/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=imx8qm_desc.o diff --git a/src/platform/imx8qm/platform.mk b/src/platform/imx8qm/platform.mk index c1415eee2..1c4dc235d 100644 --- a/src/platform/imx8qm/platform.mk +++ b/src/platform/imx8qm/platform.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition diff --git a/src/platform/qemu-aarch64-virt/inc/plat/platform.h b/src/platform/qemu-aarch64-virt/inc/plat/platform.h index 2278f2770..7f31217dd 100644 --- a/src/platform/qemu-aarch64-virt/inc/plat/platform.h +++ b/src/platform/qemu-aarch64-virt/inc/plat/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/platform/qemu-aarch64-virt/inc/plat/psci.h b/src/platform/qemu-aarch64-virt/inc/plat/psci.h index 713263bec..5abb22c66 100644 --- a/src/platform/qemu-aarch64-virt/inc/plat/psci.h +++ b/src/platform/qemu-aarch64-virt/inc/plat/psci.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/qemu-aarch64-virt/objects.mk b/src/platform/qemu-aarch64-virt/objects.mk index 353e15f3b..eb1af521a 100644 --- a/src/platform/qemu-aarch64-virt/objects.mk +++ b/src/platform/qemu-aarch64-virt/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=virt_desc.o diff --git a/src/platform/qemu-aarch64-virt/platform.mk b/src/platform/qemu-aarch64-virt/platform.mk index f6c231ed3..126ee1aab 100644 --- a/src/platform/qemu-aarch64-virt/platform.mk +++ b/src/platform/qemu-aarch64-virt/platform.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition diff --git a/src/platform/qemu-aarch64-virt/virt_desc.c b/src/platform/qemu-aarch64-virt/virt_desc.c index aed89624a..55d877a3a 100644 --- a/src/platform/qemu-aarch64-virt/virt_desc.c +++ b/src/platform/qemu-aarch64-virt/virt_desc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/qemu-riscv64-virt/inc/plat/platform.h b/src/platform/qemu-riscv64-virt/inc/plat/platform.h index c07cd7941..7aae715a1 100644 --- a/src/platform/qemu-riscv64-virt/inc/plat/platform.h +++ b/src/platform/qemu-riscv64-virt/inc/plat/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ @@ -8,4 +8,4 @@ #include -#endif \ No newline at end of file +#endif diff --git a/src/platform/qemu-riscv64-virt/objects.mk b/src/platform/qemu-riscv64-virt/objects.mk index 353e15f3b..eb1af521a 100644 --- a/src/platform/qemu-riscv64-virt/objects.mk +++ b/src/platform/qemu-riscv64-virt/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=virt_desc.o diff --git a/src/platform/qemu-riscv64-virt/platform.mk b/src/platform/qemu-riscv64-virt/platform.mk index 13c1924dc..3f5dea71e 100644 --- a/src/platform/qemu-riscv64-virt/platform.mk +++ b/src/platform/qemu-riscv64-virt/platform.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition diff --git a/src/platform/qemu-riscv64-virt/virt_desc.c b/src/platform/qemu-riscv64-virt/virt_desc.c index b5f6eeab4..67311ec1e 100644 --- a/src/platform/qemu-riscv64-virt/virt_desc.c +++ b/src/platform/qemu-riscv64-virt/virt_desc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/rpi4/inc/plat/platform.h b/src/platform/rpi4/inc/plat/platform.h index 36809a2b9..4d557d970 100644 --- a/src/platform/rpi4/inc/plat/platform.h +++ b/src/platform/rpi4/inc/plat/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ diff --git a/src/platform/rpi4/inc/plat/psci.h b/src/platform/rpi4/inc/plat/psci.h index 1ffcf5a0a..e793fa32f 100644 --- a/src/platform/rpi4/inc/plat/psci.h +++ b/src/platform/rpi4/inc/plat/psci.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/rpi4/objects.mk b/src/platform/rpi4/objects.mk index d632abf06..ddd04a532 100644 --- a/src/platform/rpi4/objects.mk +++ b/src/platform/rpi4/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=rpi4_desc.o diff --git a/src/platform/rpi4/platform.mk b/src/platform/rpi4/platform.mk index 9eaf5eebe..98da6f87f 100644 --- a/src/platform/rpi4/platform.mk +++ b/src/platform/rpi4/platform.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition diff --git a/src/platform/rpi4/rpi4_desc.c b/src/platform/rpi4/rpi4_desc.c index f85021fc8..a06b0be62 100644 --- a/src/platform/rpi4/rpi4_desc.c +++ b/src/platform/rpi4/rpi4_desc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/tx2/inc/plat/platform.h b/src/platform/tx2/inc/plat/platform.h index e126711ed..0f98ba051 100644 --- a/src/platform/tx2/inc/plat/platform.h +++ b/src/platform/tx2/inc/plat/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/tx2/inc/plat/psci.h b/src/platform/tx2/inc/plat/psci.h index 6791296f7..b271f9abf 100644 --- a/src/platform/tx2/inc/plat/psci.h +++ b/src/platform/tx2/inc/plat/psci.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/tx2/objects.mk b/src/platform/tx2/objects.mk index 556f75c56..baf3d43f3 100644 --- a/src/platform/tx2/objects.mk +++ b/src/platform/tx2/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=tx2_desc.o diff --git a/src/platform/tx2/platform.mk b/src/platform/tx2/platform.mk index 5dc274ea8..327446069 100644 --- a/src/platform/tx2/platform.mk +++ b/src/platform/tx2/platform.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition diff --git a/src/platform/tx2/tx2_desc.c b/src/platform/tx2/tx2_desc.c index bbd5a1950..4f51bdbc5 100644 --- a/src/platform/tx2/tx2_desc.c +++ b/src/platform/tx2/tx2_desc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/ultra96/inc/plat/platform.h b/src/platform/ultra96/inc/plat/platform.h index 5541f5e33..7c5893789 100644 --- a/src/platform/ultra96/inc/plat/platform.h +++ b/src/platform/ultra96/inc/plat/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/ultra96/inc/plat/psci.h b/src/platform/ultra96/inc/plat/psci.h index cd1b5ecad..4855665b7 100644 --- a/src/platform/ultra96/inc/plat/psci.h +++ b/src/platform/ultra96/inc/plat/psci.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/ultra96/objects.mk b/src/platform/ultra96/objects.mk index f2d350a64..11ccd6801 100644 --- a/src/platform/ultra96/objects.mk +++ b/src/platform/ultra96/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=ultra96_desc.o diff --git a/src/platform/ultra96/platform.mk b/src/platform/ultra96/platform.mk index 0fec035d9..f2e21b4c6 100644 --- a/src/platform/ultra96/platform.mk +++ b/src/platform/ultra96/platform.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition diff --git a/src/platform/ultra96/ultra96_desc.c b/src/platform/ultra96/ultra96_desc.c index 72fb41ef8..0771fb0a9 100644 --- a/src/platform/ultra96/ultra96_desc.c +++ b/src/platform/ultra96/ultra96_desc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/zcu102/inc/plat/platform.h b/src/platform/zcu102/inc/plat/platform.h index def1ff9df..e4af8fcf8 100644 --- a/src/platform/zcu102/inc/plat/platform.h +++ b/src/platform/zcu102/inc/plat/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved */ @@ -8,4 +8,4 @@ #include -#endif \ No newline at end of file +#endif diff --git a/src/platform/zcu102/inc/plat/psci.h b/src/platform/zcu102/inc/plat/psci.h index cd1b5ecad..4855665b7 100644 --- a/src/platform/zcu102/inc/plat/psci.h +++ b/src/platform/zcu102/inc/plat/psci.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/zcu102/objects.mk b/src/platform/zcu102/objects.mk index 0b603e716..ce9eba683 100644 --- a/src/platform/zcu102/objects.mk +++ b/src/platform/zcu102/objects.mk @@ -1,3 +1,3 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=zcu102_desc.o diff --git a/src/platform/zcu102/platform.mk b/src/platform/zcu102/platform.mk index 84d76430c..6b0f34ccf 100644 --- a/src/platform/zcu102/platform.mk +++ b/src/platform/zcu102/platform.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition diff --git a/src/platform/zcu102/zcu102_desc.c b/src/platform/zcu102/zcu102_desc.c index 68cba4f2d..69116f4d6 100644 --- a/src/platform/zcu102/zcu102_desc.c +++ b/src/platform/zcu102/zcu102_desc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/zcu104/inc/plat/platform.h b/src/platform/zcu104/inc/plat/platform.h index 5541f5e33..7c5893789 100644 --- a/src/platform/zcu104/inc/plat/platform.h +++ b/src/platform/zcu104/inc/plat/platform.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/zcu104/inc/plat/psci.h b/src/platform/zcu104/inc/plat/psci.h index cd1b5ecad..4855665b7 100644 --- a/src/platform/zcu104/inc/plat/psci.h +++ b/src/platform/zcu104/inc/plat/psci.h @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */ diff --git a/src/platform/zcu104/objects.mk b/src/platform/zcu104/objects.mk index 5f0d94b7b..f5080ed49 100644 --- a/src/platform/zcu104/objects.mk +++ b/src/platform/zcu104/objects.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. boards-objs-y+=zcu104_desc.o diff --git a/src/platform/zcu104/platform.mk b/src/platform/zcu104/platform.mk index b7cdd8ecd..c3c35206b 100644 --- a/src/platform/zcu104/platform.mk +++ b/src/platform/zcu104/platform.mk @@ -1,4 +1,4 @@ -## SPDX-License-Identifier: GPL-2.0 +## SPDX-License-Identifier: Apache-2.0 ## Copyright (c) Bao Project and Contributors. All rights reserved. # Architecture definition diff --git a/src/platform/zcu104/zcu104_desc.c b/src/platform/zcu104/zcu104_desc.c index e4baf7efa..7b17f2932 100644 --- a/src/platform/zcu104/zcu104_desc.c +++ b/src/platform/zcu104/zcu104_desc.c @@ -1,5 +1,5 @@ /** - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: Apache-2.0 * Copyright (c) Bao Project and Contributors. All rights reserved. */