Skip to content

Commit c576801

Browse files
Add SPDX headers to uefi-test-runner
1 parent 0667e74 commit c576801

37 files changed

+74
-0
lines changed

uefi-test-runner/examples/hello_world.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
// ANCHOR: all
24
// ANCHOR: features
35
#![no_main]

uefi-test-runner/examples/loaded_image.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
// ANCHOR: all
24
#![no_main]
35
#![no_std]

uefi-test-runner/examples/shell_params.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
// ANCHOR: all
24
// ANCHOR: features
35
#![no_main]

uefi-test-runner/examples/sierpinski.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
// ANCHOR: all
24
#![no_main]
35
#![no_std]

uefi-test-runner/examples/timestamp.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
// ANCHOR: all
24
// ANCHOR: features
35
#![no_main]

uefi-test-runner/src/bin/shell_launcher.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
//! This application launches the UEFI shell app and runs the main
24
//! uefi-test-running app inside that shell. This allows testing of protocols
35
//! that require the shell.

uefi-test-runner/src/boot/memory.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
use alloc::vec::Vec;
24
use uefi::boot::{self, AllocateType};
35
use uefi::mem::memory_map::{MemoryMap, MemoryMapMut, MemoryType};

uefi-test-runner/src/boot/misc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
use core::ffi::c_void;
24
use core::ptr::{self, NonNull};
35

uefi-test-runner/src/boot/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
use alloc::string::ToString;
24
use uefi::boot::{LoadImageSource, SearchType};
35
use uefi::fs::FileSystem;

uefi-test-runner/src/fs/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
13
//! Tests functionality from the `uefi::fs` module. See function [`test`].
24
35
use alloc::string::{String, ToString};

0 commit comments

Comments
 (0)