From 6a3920895b27620158af9ab4e3b87aecc1062282 Mon Sep 17 00:00:00 2001 From: taitep Date: Sat, 27 Dec 2025 12:44:55 +0100 Subject: Relicense to BSD 2-Clause to align better with the RISC-V community --- src/basic_uart.rs | 2 +- src/core.rs | 2 +- src/core/commands.rs | 6 ++++++ src/decode.rs | 2 +- src/exceptions.rs | 2 +- src/execload.rs | 2 +- src/gdb.rs | 6 ++++++ src/instructions.rs | 2 +- src/instructions/macros.rs | 2 +- src/instructions/rvi.rs | 2 +- src/instructions/rvi/mem.rs | 2 +- src/main.rs | 2 +- src/mem.rs | 2 +- 13 files changed, 23 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/basic_uart.rs b/src/basic_uart.rs index 4632b11..d7a11be 100644 --- a/src/basic_uart.rs +++ b/src/basic_uart.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. diff --git a/src/core.rs b/src/core.rs index bb37520..8d51947 100644 --- a/src/core.rs +++ b/src/core.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. diff --git a/src/core/commands.rs b/src/core/commands.rs index 3fe913b..37ed28e 100644 --- a/src/core/commands.rs +++ b/src/core/commands.rs @@ -1,3 +1,9 @@ +// Copyright (c) 2025 taitep +// SPDX-License-Identifier: BSD-2-Clause +// +// This file is part of TRVE (https://gitea.taitep.se/taitep/trve) +// See LICENSE file in the project root for full license text. + use crate::gdb; pub enum CoreCmd { diff --git a/src/decode.rs b/src/decode.rs index d2e8a80..d520151 100644 --- a/src/decode.rs +++ b/src/decode.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. diff --git a/src/exceptions.rs b/src/exceptions.rs index 3c1d4bd..9a84edc 100644 --- a/src/exceptions.rs +++ b/src/exceptions.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. diff --git a/src/execload.rs b/src/execload.rs index 70c1d65..6caa797 100644 --- a/src/execload.rs +++ b/src/execload.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. diff --git a/src/gdb.rs b/src/gdb.rs index ae2ef9b..2457d47 100644 --- a/src/gdb.rs +++ b/src/gdb.rs @@ -1,3 +1,9 @@ +// Copyright (c) 2025 taitep +// SPDX-License-Identifier: BSD-2-Clause +// +// This file is part of TRVE (https://gitea.taitep.se/taitep/trve) +// See LICENSE file in the project root for full license text. + use std::{ io::{self, BufRead, ErrorKind, Write}, net::{TcpListener, TcpStream}, diff --git a/src/instructions.rs b/src/instructions.rs index 2942995..8e55d37 100644 --- a/src/instructions.rs +++ b/src/instructions.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. diff --git a/src/instructions/macros.rs b/src/instructions/macros.rs index c88114c..98cf63d 100644 --- a/src/instructions/macros.rs +++ b/src/instructions/macros.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. diff --git a/src/instructions/rvi.rs b/src/instructions/rvi.rs index c35098f..5e2faa4 100644 --- a/src/instructions/rvi.rs +++ b/src/instructions/rvi.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. diff --git a/src/instructions/rvi/mem.rs b/src/instructions/rvi/mem.rs index bc02b7f..73e4179 100644 --- a/src/instructions/rvi/mem.rs +++ b/src/instructions/rvi/mem.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. diff --git a/src/main.rs b/src/main.rs index f4f8a56..53c2938 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. diff --git a/src/mem.rs b/src/mem.rs index 45ee356..272641c 100644 --- a/src/mem.rs +++ b/src/mem.rs @@ -1,5 +1,5 @@ // Copyright (c) 2025 taitep -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: BSD-2-Clause // // This file is part of TRVE (https://gitea.taitep.se/taitep/trve) // See LICENSE file in the project root for full license text. -- cgit v1.2.3