Skip to content

Commit

Permalink
Update SPDX-License-Identifier
Browse files Browse the repository at this point in the history
Project now uses 'Apache-2.0 WITH LLVM-exception'
  • Loading branch information
GregAC committed Jul 4, 2023
1 parent 3d4163c commit b23afc1
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

---- Exceptions to the Apache 2.0 License ----
---- LLVM Exceptions to the Apache 2.0 License ----

As an exception, if, as a result of your compiling your source code, portions of
this Software are embedded into an Object form of such source code, you may
Expand Down
4 changes: 2 additions & 2 deletions riscv-sw/build-flow/Makefile.include
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2021 Gregory Chadwick <[email protected]>
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

RISCV_SW_PATH = $(dir $(abspath $(lastword $(MAKEFILE_LIST))))

Expand Down
4 changes: 2 additions & 2 deletions riscv-sw/build-flow/crt0.s
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2021 Gregory Chadwick <[email protected]>
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

.section .text.start

Expand Down
4 changes: 2 additions & 2 deletions riscv-sw/build-flow/link.ld
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Copyright 2021 Gregory Chadwick <[email protected]>
Licensed under the Apache License, Version 2.0, see LICENSE for details.
SPDX-License-Identifier: Apache-2.0 */
Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */

OUTPUT_ARCH(riscv)

Expand Down
4 changes: 2 additions & 2 deletions riscv-sw/examples/hello_world/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2021 Gregory Chadwick <[email protected]>
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

PROG_NAME = hello_world

Expand Down
4 changes: 2 additions & 2 deletions riscv-sw/examples/hello_world/hello_world.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Gregory Chadwick <[email protected]>
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception


#include <stdint.h>
Expand Down
4 changes: 2 additions & 2 deletions rrs-cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Gregory Chadwick <[email protected]>
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

use clap::{clap_app, ArgMatches};
use rrs_lib::instruction_executor::{InstructionExecutor, InstructionTrap};
Expand Down
4 changes: 2 additions & 2 deletions rrs-lib/src/csrs.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Gregory Chadwick <[email protected]>
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

use super::CSR;
use num_enum::{IntoPrimitive, TryFromPrimitive};
Expand Down
4 changes: 2 additions & 2 deletions rrs-lib/src/instruction_executor.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Gregory Chadwick <[email protected]>
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

//! An [InstructionProcessor] that executes instructions.
//!
Expand Down
4 changes: 2 additions & 2 deletions rrs-lib/src/instruction_formats.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Gregory Chadwick <[email protected]>
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

//! Structures and constants for instruction decoding
//!
Expand Down
4 changes: 2 additions & 2 deletions rrs-lib/src/instruction_string_outputter.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Gregory Chadwick <[email protected]>
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

//! An [InstructionProcessor] that outputs a string of the instruction disassembly
//!
Expand Down
4 changes: 2 additions & 2 deletions rrs-lib/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Gregory Chadwick <[email protected]>
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

//! RISC-V instruction set simulator library
//!
Expand Down
4 changes: 2 additions & 2 deletions rrs-lib/src/memories.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Gregory Chadwick <[email protected]>
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

//! Various [Memory] implementations useful for an ISS and utility functions
Expand Down
4 changes: 2 additions & 2 deletions rrs-lib/src/process_instruction.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 Gregory Chadwick <[email protected]>
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License Version 2.0, with LLVM Exceptions, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

use super::instruction_formats;
use super::InstructionProcessor;
Expand Down

0 comments on commit b23afc1

Please sign in to comment.