Skip to content

Commit 33c30fc

Browse files
Merge pull request #1532 from nicholasbishop/bishop-spdx
Add SPDX headers
2 parents 20f3f13 + 93062c1 commit 33c30fc

File tree

189 files changed

+459
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+459
-1
lines changed

uefi-macros/src/lib.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
#![recursion_limit = "128"]
24

35
extern crate proc_macro;

uefi-macros/tests/compilation.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
#[test]
24
fn ui() {
35
let t = trybuild::TestCases::new();

uefi-raw/src/capsule.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
//! UEFI update capsules.
24
//!
35
//! Capsules are used to pass information to the firmware, for example to

uefi-raw/src/enums.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 module provides tooling that facilitates dealing with C-style enums
24
//!
35
//! C-style enums and Rust-style enums are quite different. There are things

uefi-raw/src/firmware_storage.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
//! Types related to firmware storage.
24
35
use crate::Guid;

uefi-raw/src/lib.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
//! Raw interface for working with UEFI.
24
//!
35
//! This crate is intended for implementing UEFI services. It is also used for

uefi-raw/src/protocol/block.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 crate::{guid, Guid, Status};
24
use core::ffi::c_void;
35

uefi-raw/src/protocol/console.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
pub mod serial;
24

35
use crate::{guid, Char16, Event, Guid, PhysicalAddress, Status};

uefi-raw/src/protocol/console/serial.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 crate::{guid, Guid, Status};
24
use bitflags::bitflags;
35

uefi-raw/src/protocol/device_path.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
mod device_path_gen;
24

35
use crate::{guid, Char16, Guid};

0 commit comments

Comments
 (0)