Skip to content

Commit a1759a1

Browse files
committed
wip: adding licenses in progress
1 parent 0fb6547 commit a1759a1

Some content is hidden

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

83 files changed

+343
-179
lines changed

Justfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,6 @@ lint: clippy fmt-check
123123

124124
# Run CI tasks
125125
ci: clean build test lint
126+
127+
apply-license dir:
128+
pipx run reuse annotate {{ dir }} --contributor "Berkus" --copyright "Metta Systems OÜ" --recursive --copyright-prefix spdx

machine/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: 2024 Metta Systems OÜ
2+
# SPDX-FileContributor: Berkus
3+
14
[package]
25
name = "machine"
36
version = "0.0.1"

machine/Makefile.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: 2024 Metta Systems OÜ
2+
# SPDX-FileContributor: Berkus
3+
14
[tasks.kernel-binary]
25
disabled = true
36

machine/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
2+
// SPDX-FileContributor: Berkus
3+
14
//! This build script is used to create lib tests.
25
36
const LINKER_SCRIPT: &str = "machine/src/platform/raspberrypi/linker/kernel.ld";

machine/src/arch/README.md

Lines changed: 5 additions & 0 deletions

machine/src/arch/aarch64/cpu/boot.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
/*
2-
* SPDX-License-Identifier: BlueOak-1.0.0
3-
*
4-
* Based on ideas from Jorge Aparicio, Andre Richter, Phil Oppenheimer, Sergio Benitez.
5-
* Copyright (c) Berkus Decker <[email protected]>
6-
*/
1+
// Copyright (c) Berkus Decker <[email protected]>
2+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
3+
// SPDX-FileContributor: Berkus
4+
//
5+
// SPDX-License-Identifier: BlueOak-1.0.0
76

87
//! Low-level boot of the ARMv8-A processor.
98
//! <http://infocenter.arm.com/help/topic/com.arm.doc.dai0527a/DAI0527A_baremetal_boot_code_for_ARMv8_A_processors.pdf>

machine/src/arch/aarch64/cpu/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
2+
// SPDX-FileContributor: Berkus
3+
14
use aarch64_cpu::asm;
25

36
pub mod boot;

machine/src/arch/aarch64/cpu/smp.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
2+
// SPDX-FileContributor: Berkus
3+
14
#[inline(always)]
25
pub fn core_id() -> u64 {
36
use aarch64_cpu::registers::{Readable, MPIDR_EL1};

machine/src/arch/aarch64/exception/asynchronous.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
// SPDX-License-Identifier: MIT OR Apache-2.0
2-
//
31
// Copyright (c) 2018-2022 Andre Richter <[email protected]>
2+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
3+
// SPDX-FileContributor: Berkus
4+
//
5+
// SPDX-License-Identifier: MIT OR Apache-2.0
46

57
//! Architectural asynchronous exception handling.
68

machine/src/arch/aarch64/exception/mod.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
/*
2-
* SPDX-License-Identifier: BlueOak-1.0.0
3-
* Copyright (c) Berkus Decker <[email protected]>
4-
*/
1+
// Copyright (c) Berkus Decker <[email protected]>
2+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
3+
// SPDX-FileContributor: Berkus
4+
//
5+
// SPDX-License-Identifier: BlueOak-1.0.0
56

67
//! Interrupt handling
78
//!

0 commit comments

Comments
 (0)