Add license/copyright notices to top of each source file (where applicable)
This commit is contained in:
@@ -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::{
|
use crate::{
|
||||||
consts::{Addr, RegId, RegValue},
|
consts::{Addr, RegId, RegValue},
|
||||||
decode::Instruction,
|
decode::Instruction,
|
||||||
|
|||||||
@@ -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};
|
use crate::consts::{DWord, RegId, Word};
|
||||||
|
|
||||||
const MASK_REGISTER: Word = 0x1f;
|
const MASK_REGISTER: Word = 0x1f;
|
||||||
|
|||||||
@@ -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;
|
use once_cell::sync::Lazy;
|
||||||
|
|
||||||
mod gen_tools;
|
mod gen_tools;
|
||||||
|
|||||||
@@ -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 std::hint::unreachable_unchecked;
|
||||||
|
|
||||||
use crate::instructions::{OpcodeHandler, Splitter};
|
use crate::instructions::{OpcodeHandler, Splitter};
|
||||||
|
|||||||
@@ -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::{
|
use crate::{
|
||||||
consts::{Addr, DWord},
|
consts::{Addr, DWord},
|
||||||
core::{Core, InstructionResult},
|
core::{Core, InstructionResult},
|
||||||
|
|||||||
@@ -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::{
|
use std::{
|
||||||
error::Error,
|
error::Error,
|
||||||
fs::File,
|
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::{
|
use std::sync::{
|
||||||
Arc,
|
Arc,
|
||||||
atomic::{AtomicU8, AtomicU16, AtomicU32, AtomicU64, Ordering::Relaxed},
|
atomic::{AtomicU8, AtomicU16, AtomicU32, AtomicU64, Ordering::Relaxed},
|
||||||
|
|||||||
Reference in New Issue
Block a user