Skip to content

Commit

Permalink
Add licensing info to hal-adapters crate
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hamlin <[email protected]>
  • Loading branch information
protoben committed Dec 23, 2023
1 parent a7d9c69 commit 603e408
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/sel4-hal-adapters/Cargo.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#
# Copyright 2023, Colias Group, LLC
# Copyright 2023, Galois, Inc.
#
# SPDX-License-Identifier: BSD-2-Clause
#

{ mk, versions, localCrates, smoltcpWith, serdeWith, authors }:

mk {
Expand Down
7 changes: 7 additions & 0 deletions crates/sel4-hal-adapters/src/embedded_hal/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//
// Copyright 2023, Colias Group, LLC
// Copyright 2023, Galois, Inc.
//
// SPDX-License-Identifier: BSD-2-Clause
//

#![no_std]

use num_enum::{IntoPrimitive, TryFromPrimitive};
Expand Down
7 changes: 7 additions & 0 deletions crates/sel4-hal-adapters/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//
// Copyright 2023, Colias Group, LLC
// Copyright 2023, Galois, Inc.
//
// SPDX-License-Identifier: BSD-2-Clause
//

#![no_std]
#![feature(never_type)]
#![feature(strict_provenance)]
Expand Down
7 changes: 7 additions & 0 deletions crates/sel4-hal-adapters/src/smoltcp/mod.rs
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
//
// Copyright 2023, Colias Group, LLC
// Copyright 2023, Galois, Inc.
//
// SPDX-License-Identifier: BSD-2-Clause
//

pub mod phy;
7 changes: 7 additions & 0 deletions crates/sel4-hal-adapters/src/smoltcp/phy/device.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//
// Copyright 2023, Colias Group, LLC
// Copyright 2023, Galois, Inc.
//
// SPDX-License-Identifier: BSD-2-Clause
//

//! Client-side [`smoltcp::phy::Device`] implementation
pub use sel4_shared_ring_buffer::*;
7 changes: 7 additions & 0 deletions crates/sel4-hal-adapters/src/smoltcp/phy/handler.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//
// Copyright 2023, Colias Group, LLC
// Copyright 2023, Galois, Inc.
//
// SPDX-License-Identifier: BSD-2-Clause
//

//! A generic microkit handler for implementors of [`smoltcp::phy::Device`].
use smoltcp::{
Expand Down
7 changes: 7 additions & 0 deletions crates/sel4-hal-adapters/src/smoltcp/phy/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//
// Copyright 2023, Colias Group, LLC
// Copyright 2023, Galois, Inc.
//
// SPDX-License-Identifier: BSD-2-Clause
//

mod handler;
pub use handler::*;

Expand Down

0 comments on commit 603e408

Please sign in to comment.