Skip to content

Commit

Permalink
crates/sel4-externally-shared: Fix licensing information
Browse files Browse the repository at this point in the history
As part of more a detailed pass.

Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Oct 24, 2023
1 parent d20411a commit 9acd917
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 14 deletions.
4 changes: 2 additions & 2 deletions crates/sel4-externally-shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
# SPDX-License-Identifier: MIT OR Apache-2.0
#

[package]
name = "sel4-externally-shared"
version = "0.1.0"
authors = ["Nick Spinale <[email protected]>"]
edition = "2021"
license = "BSD-2-Clause"
license = "MIT OR Apache-2.0"

[features]
unstable = ["volatile/unstable"]
Expand Down
3 changes: 2 additions & 1 deletion crates/sel4-externally-shared/src/atomics/generic.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//
// Copyright 2023, Colias Group, LLC
// Copyright 2023, Rust project contributors
//
// SPDX-License-Identifier: BSD-2-Clause
// SPDX-License-Identifier: MIT OR Apache-2.0
//

use core::intrinsics;
Expand Down
2 changes: 1 addition & 1 deletion crates/sel4-externally-shared/src/atomics/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
// SPDX-License-Identifier: MIT OR Apache-2.0
//

use core::fmt;
Expand Down
2 changes: 1 addition & 1 deletion crates/sel4-externally-shared/src/atomics/ops.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
// SPDX-License-Identifier: MIT OR Apache-2.0
//

use core::sync::atomic::Ordering;
Expand Down
2 changes: 1 addition & 1 deletion crates/sel4-externally-shared/src/atomics/ordering.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
// SPDX-License-Identifier: MIT OR Apache-2.0
//

use core::sync::atomic::Ordering;
Expand Down
2 changes: 1 addition & 1 deletion crates/sel4-externally-shared/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
// SPDX-License-Identifier: MIT OR Apache-2.0
//

#![no_std]
Expand Down
2 changes: 1 addition & 1 deletion crates/sel4-externally-shared/src/ops/bytewise_ops.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
// SPDX-License-Identifier: MIT OR Apache-2.0
//

#![cfg_attr(not(feature = "unstable"), allow(unused_imports))]
Expand Down
2 changes: 1 addition & 1 deletion crates/sel4-externally-shared/src/ops/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
// SPDX-License-Identifier: MIT OR Apache-2.0
//

pub use volatile::ops::*;
Expand Down
2 changes: 1 addition & 1 deletion crates/sel4-externally-shared/src/ops/normal_ops.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
// SPDX-License-Identifier: MIT OR Apache-2.0
//

use core::ptr;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
// SPDX-License-Identifier: MIT OR Apache-2.0
//

#![cfg_attr(not(feature = "unstable"), allow(dead_code))]
Expand Down
2 changes: 1 addition & 1 deletion crates/sel4-externally-shared/src/ops/zerocopy_ops.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Copyright 2023, Colias Group, LLC
//
// SPDX-License-Identifier: BSD-2-Clause
// SPDX-License-Identifier: MIT OR Apache-2.0
//

use volatile::ops::{Ops, UnitaryOps};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#
# Copyright 2023, Colias Group, LLC
#
# SPDX-License-Identifier: BSD-2-Clause
# SPDX-License-Identifier: MIT OR Apache-2.0
#

{ mk, localCrates, versions, volatileSource }:

mk {
mk rec {
package.name = "sel4-externally-shared";
package.license = "MIT OR Apache-2.0";
nix.reuseFrontmatterArgs.licenseID = package.license;
nix.local.dependencies = with localCrates; [
# volatile
];
Expand Down

0 comments on commit 9acd917

Please sign in to comment.