From a0b6edbd42a7765c13a867db2c08eea42adf3daf Mon Sep 17 00:00:00 2001 From: "Lu, Xiaoyu1" Date: Thu, 20 Jun 2024 20:28:50 -0400 Subject: [PATCH] Add copyright header Signed-off-by: Lu, Xiaoyu1 --- devtools/td-layout-config/src/image.rs | 4 ++++ devtools/td-layout-config/src/memory.rs | 4 ++++ td-layout/src/runtime/mod.rs | 4 ++++ td-payload/src/arch/mod.rs | 4 ++++ td-shim-interface/src/td_uefi_pi/pi/guid.rs | 4 ++++ td-shim/src/bin/td-shim/payload_hob.rs | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/devtools/td-layout-config/src/image.rs b/devtools/td-layout-config/src/image.rs index 7696da27..c2db62d0 100644 --- a/devtools/td-layout-config/src/image.rs +++ b/devtools/td-layout-config/src/image.rs @@ -1,3 +1,7 @@ +// Copyright (c) 2024 Intel Corporation +// +// SPDX-License-Identifier: BSD-2-Clause-Patent + use serde::Deserialize; use super::{layout::LayoutConfig, render}; diff --git a/devtools/td-layout-config/src/memory.rs b/devtools/td-layout-config/src/memory.rs index c1882e7f..6b7fe203 100644 --- a/devtools/td-layout-config/src/memory.rs +++ b/devtools/td-layout-config/src/memory.rs @@ -1,3 +1,7 @@ +// Copyright (c) 2024 Intel Corporation +// +// SPDX-License-Identifier: BSD-2-Clause-Patent + use serde::Deserialize; use super::{layout::LayoutConfig, render}; diff --git a/td-layout/src/runtime/mod.rs b/td-layout/src/runtime/mod.rs index 5a79d89b..3dc6ecd8 100644 --- a/td-layout/src/runtime/mod.rs +++ b/td-layout/src/runtime/mod.rs @@ -1,2 +1,6 @@ +// Copyright (c) 2024 Intel Corporation +// +// SPDX-License-Identifier: BSD-2-Clause-Patent + pub mod exec; pub mod linux; diff --git a/td-payload/src/arch/mod.rs b/td-payload/src/arch/mod.rs index 10f6ffe9..7b00f6d0 100644 --- a/td-payload/src/arch/mod.rs +++ b/td-payload/src/arch/mod.rs @@ -1,2 +1,6 @@ +// Copyright (c) 2024 Intel Corporation +// +// SPDX-License-Identifier: BSD-2-Clause-Patent + mod x86_64; pub use self::x86_64::*; diff --git a/td-shim-interface/src/td_uefi_pi/pi/guid.rs b/td-shim-interface/src/td_uefi_pi/pi/guid.rs index 1ec9df16..f801cd73 100644 --- a/td-shim-interface/src/td_uefi_pi/pi/guid.rs +++ b/td-shim-interface/src/td_uefi_pi/pi/guid.rs @@ -1,3 +1,7 @@ +// Copyright (c) 2024 Intel Corporation +// +// SPDX-License-Identifier: BSD-2-Clause-Patent + use core::{convert::TryInto, mem::size_of, ptr::slice_from_raw_parts, str::FromStr}; use scroll::{Pread, Pwrite}; diff --git a/td-shim/src/bin/td-shim/payload_hob.rs b/td-shim/src/bin/td-shim/payload_hob.rs index 7b474490..76ca87f1 100644 --- a/td-shim/src/bin/td-shim/payload_hob.rs +++ b/td-shim/src/bin/td-shim/payload_hob.rs @@ -1,3 +1,7 @@ +// Copyright (c) 2024 Intel Corporation +// +// SPDX-License-Identifier: BSD-2-Clause-Patent + use crate::e820::E820Table; use crate::ipl; use crate::memory;