Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 055095c

Browse files
committed
Add default license notice to all Rust files
1 parent 55c73f1 commit 055095c

File tree

842 files changed

+2526
-0
lines changed

Some content is hidden

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

842 files changed

+2526
-0
lines changed

arch/cortex-m/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Tock Contributors
2+
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3+
14
//! Generic support for all Cortex-M platforms.
25
36
#![crate_name = "cortexm"]

arch/cortex-m/src/mpu.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Tock Contributors
2+
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3+
14
//! Implementation of the memory protection unit for the Cortex-M0+, Cortex-M3,
25
//! Cortex-M4, and Cortex-M7
36

arch/cortex-m/src/nvic.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Tock Contributors
2+
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3+
14
//! Cortex-M NVIC
25
//!
36
//! Most NVIC configuration is in the NVIC registers:

arch/cortex-m/src/scb.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Tock Contributors
2+
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3+
14
//! ARM System Control Block
25
//!
36
//! <http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/CIHFDJCA.html>

arch/cortex-m/src/support.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Tock Contributors
2+
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3+
14
use core::ops::FnOnce;
25

36
#[cfg(all(target_arch = "arm", target_os = "none"))]

arch/cortex-m/src/syscall.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Tock Contributors
2+
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3+
14
//! Implementation of the architecture-specific portions of the kernel-userland
25
//! system call interface.
36

arch/cortex-m/src/systick.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Tock Contributors
2+
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3+
14
//! ARM Cortex-M SysTick peripheral.
25
36
use kernel::utilities::registers::interfaces::{Readable, Writeable};

arch/cortex-m0/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Tock Contributors
2+
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3+
14
//! Shared implementations for ARM Cortex-M0 MCUs.
25
36
#![crate_name = "cortexm0"]

arch/cortex-m0p/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Tock Contributors
2+
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3+
14
//! Shared implementations for ARM Cortex-M0+ MCUs.
25
36
#![crate_name = "cortexm0p"]

arch/cortex-m3/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Tock Contributors
2+
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
3+
14
//! Shared implementations for ARM Cortex-M3 MCUs.
25
36
#![crate_name = "cortexm3"]

0 commit comments

Comments
 (0)