diff options
| author | taitep <taitep@taitep.se> | 2025-12-01 22:06:13 +0100 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-12-01 22:06:13 +0100 |
| commit | e2d521bbe73708da64662478155630d634e00932 (patch) | |
| tree | 921441897bc4c4376b1fa269853c0fe183dda5d8 /src | |
| parent | 6b49b34cc5218d1cedb5aaec6614e5de68ed4889 (diff) | |
Add license/copyright notices to top of each source file (where applicable)
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.rs | 6 | ||||
| -rw-r--r-- | src/decode.rs | 6 | ||||
| -rw-r--r-- | src/instructions.rs | 6 | ||||
| -rw-r--r-- | src/instructions/gen_tools.rs | 6 | ||||
| -rw-r--r-- | src/instructions/rvi.rs | 6 | ||||
| -rw-r--r-- | src/main.rs | 6 | ||||
| -rw-r--r-- | src/mem.rs | 6 |
7 files changed, 42 insertions, 0 deletions
diff --git a/src/core.rs b/src/core.rs index 6570e76..1628216 100644 --- a/src/core.rs +++ b/src/core.rs @@ -1,3 +1,9 @@ +// Copyright (c) 2025 taitep +// SPDX-License-Identifier: MIT +// +// 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::{ consts::{Addr, RegId, RegValue}, decode::Instruction, diff --git a/src/decode.rs b/src/decode.rs index 5e19ab9..112b210 100644 --- a/src/decode.rs +++ b/src/decode.rs @@ -1,3 +1,9 @@ +// Copyright (c) 2025 taitep +// SPDX-License-Identifier: MIT +// +// 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::consts::{DWord, RegId, Word}; const MASK_REGISTER: Word = 0x1f; diff --git a/src/instructions.rs b/src/instructions.rs index fc005e9..2d18a2c 100644 --- a/src/instructions.rs +++ b/src/instructions.rs @@ -1,3 +1,9 @@ +// Copyright (c) 2025 taitep +// SPDX-License-Identifier: MIT +// +// This file is part of TRVE (https://gitea.taitep.se/taitep/trve) +// See LICENSE file in the project root for full license text. + use once_cell::sync::Lazy; mod gen_tools; diff --git a/src/instructions/gen_tools.rs b/src/instructions/gen_tools.rs index ad9ad62..a3d45bc 100644 --- a/src/instructions/gen_tools.rs +++ b/src/instructions/gen_tools.rs @@ -1,3 +1,9 @@ +// Copyright (c) 2025 taitep +// SPDX-License-Identifier: MIT +// +// 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::hint::unreachable_unchecked; use crate::instructions::{OpcodeHandler, Splitter}; diff --git a/src/instructions/rvi.rs b/src/instructions/rvi.rs index 365b133..5597de4 100644 --- a/src/instructions/rvi.rs +++ b/src/instructions/rvi.rs @@ -1,3 +1,9 @@ +// Copyright (c) 2025 taitep +// SPDX-License-Identifier: MIT +// +// 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::{ consts::{Addr, DWord}, core::{Core, InstructionResult}, diff --git a/src/main.rs b/src/main.rs index 6a234cf..8abfe33 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,9 @@ +// Copyright (c) 2025 taitep +// SPDX-License-Identifier: MIT +// +// 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::{ error::Error, fs::File, @@ -1,3 +1,9 @@ +// Copyright (c) 2025 taitep +// SPDX-License-Identifier: MIT +// +// 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::sync::{ Arc, atomic::{AtomicU8, AtomicU16, AtomicU32, AtomicU64, Ordering::Relaxed}, |
