Skip to content

Commit

Permalink
misc: Add missing license and copyrights
Browse files Browse the repository at this point in the history
This commit adds missing license notices and copyrighs for code written
by @josephlr.

Signed-off-by: Akira Moroo <retrage01@gmail.com>
  • Loading branch information
retrage committed Jun 24, 2023
1 parent f493883 commit 81fe041
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/arch/x86_64/asm.rs
Original file line number Diff line number Diff line change
@@ -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));
3 changes: 3 additions & 0 deletions src/arch/x86_64/gdt.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020 Google LLC

use core::mem::size_of;

bitflags::bitflags! {
Expand Down
3 changes: 3 additions & 0 deletions src/arch/x86_64/paging.rs
Original file line number Diff line number Diff line change
@@ -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},
Expand Down
3 changes: 3 additions & 0 deletions src/arch/x86_64/ram32.s
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright 2020 Google LLC

.section .text32, "ax"
.global ram32_start
.code32
Expand Down
3 changes: 3 additions & 0 deletions src/arch/x86_64/sse.rs
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
3 changes: 3 additions & 0 deletions src/pvh.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020 Google LLC

use core::mem::size_of;

use crate::{
Expand Down

0 comments on commit 81fe041

Please sign in to comment.