diff --git a/src/arch/x86_64/asm.rs b/src/arch/x86_64/asm.rs index e06e3a01..0ed57930 100644 --- a/src/arch/x86_64/asm.rs +++ b/src/arch/x86_64/asm.rs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2020 Google LLC + use core::arch::global_asm; global_asm!(include_str!("ram32.s"), options(att_syntax, raw)); diff --git a/src/arch/x86_64/gdt.rs b/src/arch/x86_64/gdt.rs index 82119954..4846ca02 100644 --- a/src/arch/x86_64/gdt.rs +++ b/src/arch/x86_64/gdt.rs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2020 Google LLC + use core::mem::size_of; bitflags::bitflags! { diff --git a/src/arch/x86_64/paging.rs b/src/arch/x86_64/paging.rs index d185dfd4..d4789741 100644 --- a/src/arch/x86_64/paging.rs +++ b/src/arch/x86_64/paging.rs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2020 Google LLC + use x86_64::{ registers::control::Cr3, structures::paging::{PageSize, PageTable, PageTableFlags, PhysFrame, Size2MiB}, diff --git a/src/arch/x86_64/ram32.s b/src/arch/x86_64/ram32.s index c3ea8d67..fa69d094 100644 --- a/src/arch/x86_64/ram32.s +++ b/src/arch/x86_64/ram32.s @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright 2020 Google LLC + .section .text32, "ax" .global ram32_start .code32 diff --git a/src/arch/x86_64/sse.rs b/src/arch/x86_64/sse.rs index a2d5f12c..5e38d68a 100644 --- a/src/arch/x86_64/sse.rs +++ b/src/arch/x86_64/sse.rs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2020 Google LLC + use x86_64::registers::control::{Cr0, Cr0Flags, Cr4, Cr4Flags}; // Enable SSE2 for XMM registers (needed for EFI calling) diff --git a/src/pvh.rs b/src/pvh.rs index 5cd4fa65..ed7c8ad8 100644 --- a/src/pvh.rs +++ b/src/pvh.rs @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2020 Google LLC + use core::mem::size_of; use crate::{