diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 9696481b..6636f007 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2020 Andre Richter +# Copyright (c) 2018-2021 Andre Richter require 'rubygems' require 'bundler/setup' diff --git a/01_wait_forever/Makefile b/01_wait_forever/Makefile index 1481f8a4..ef6395f1 100644 --- a/01_wait_forever/Makefile +++ b/01_wait_forever/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/01_wait_forever/src/_arch/aarch64/cpu.S b/01_wait_forever/src/_arch/aarch64/cpu.S index bd80689c..2de0c61c 100644 --- a/01_wait_forever/src/_arch/aarch64/cpu.S +++ b/01_wait_forever/src/_arch/aarch64/cpu.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter .section ".text._start" diff --git a/01_wait_forever/src/_arch/aarch64/cpu.rs b/01_wait_forever/src/_arch/aarch64/cpu.rs index 12837a3b..6d24fe28 100644 --- a/01_wait_forever/src/_arch/aarch64/cpu.rs +++ b/01_wait_forever/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/01_wait_forever/src/bsp.rs b/01_wait_forever/src/bsp.rs index db48385e..8f0d27c8 100644 --- a/01_wait_forever/src/bsp.rs +++ b/01_wait_forever/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/01_wait_forever/src/bsp/raspberrypi.rs b/01_wait_forever/src/bsp/raspberrypi.rs index cdaac740..e7a4b6af 100644 --- a/01_wait_forever/src/bsp/raspberrypi.rs +++ b/01_wait_forever/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/01_wait_forever/src/bsp/raspberrypi/link.ld b/01_wait_forever/src/bsp/raspberrypi/link.ld index c95db067..81f01c11 100644 --- a/01_wait_forever/src/bsp/raspberrypi/link.ld +++ b/01_wait_forever/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/01_wait_forever/src/cpu.rs b/01_wait_forever/src/cpu.rs index fd5c9794..27aea204 100644 --- a/01_wait_forever/src/cpu.rs +++ b/01_wait_forever/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/01_wait_forever/src/main.rs b/01_wait_forever/src/main.rs index 28b68b59..88345353 100644 --- a/01_wait_forever/src/main.rs +++ b/01_wait_forever/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/01_wait_forever/src/panic_wait.rs b/01_wait_forever/src/panic_wait.rs index 1a9bec2a..2887ed17 100644 --- a/01_wait_forever/src/panic_wait.rs +++ b/01_wait_forever/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/02_runtime_init/Makefile b/02_runtime_init/Makefile index 1481f8a4..ef6395f1 100644 --- a/02_runtime_init/Makefile +++ b/02_runtime_init/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/02_runtime_init/README.CN.md b/02_runtime_init/README.CN.md index eb932091..1369031d 100644 --- a/02_runtime_init/README.CN.md +++ b/02_runtime_init/README.CN.md @@ -105,7 +105,7 @@ diff -uNr 01_wait_forever/src/memory.rs 02_runtime_init/src/memory.rs @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Memory Management. + @@ -139,7 +139,7 @@ diff -uNr 01_wait_forever/src/runtime_init.rs 02_runtime_init/src/runtime_init.r @@ -0,0 +1,58 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Rust runtime initialization code. + diff --git a/02_runtime_init/README.md b/02_runtime_init/README.md index 75a6fa1b..206424f9 100644 --- a/02_runtime_init/README.md +++ b/02_runtime_init/README.md @@ -123,7 +123,7 @@ diff -uNr 01_wait_forever/src/bsp/raspberrypi/memory.rs 02_runtime_init/src/bsp/ @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! BSP Memory Management. + @@ -202,7 +202,7 @@ diff -uNr 01_wait_forever/src/memory.rs 02_runtime_init/src/memory.rs @@ -0,0 +1,30 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Memory Management. + @@ -234,11 +234,10 @@ diff -uNr 01_wait_forever/src/memory.rs 02_runtime_init/src/memory.rs diff -uNr 01_wait_forever/src/panic_wait.rs 02_runtime_init/src/panic_wait.rs --- 01_wait_forever/src/panic_wait.rs +++ 02_runtime_init/src/panic_wait.rs -@@ -4,10 +4,10 @@ +@@ -4,9 +4,10 @@ //! A panic handler that infinitely waits. --// use crate::cpu; +use crate::cpu; use core::panic::PanicInfo; @@ -254,7 +253,7 @@ diff -uNr 01_wait_forever/src/runtime_init.rs 02_runtime_init/src/runtime_init.r @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Rust runtime initialization code. + diff --git a/02_runtime_init/src/_arch/aarch64/cpu.S b/02_runtime_init/src/_arch/aarch64/cpu.S index 3ed5c061..449cf502 100644 --- a/02_runtime_init/src/_arch/aarch64/cpu.S +++ b/02_runtime_init/src/_arch/aarch64/cpu.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter .section ".text._start" diff --git a/02_runtime_init/src/_arch/aarch64/cpu.rs b/02_runtime_init/src/_arch/aarch64/cpu.rs index 1d3e871a..6ca5986a 100644 --- a/02_runtime_init/src/_arch/aarch64/cpu.rs +++ b/02_runtime_init/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/02_runtime_init/src/bsp.rs b/02_runtime_init/src/bsp.rs index db48385e..8f0d27c8 100644 --- a/02_runtime_init/src/bsp.rs +++ b/02_runtime_init/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/02_runtime_init/src/bsp/raspberrypi.rs b/02_runtime_init/src/bsp/raspberrypi.rs index e4ecbd1d..f9bd5b88 100644 --- a/02_runtime_init/src/bsp/raspberrypi.rs +++ b/02_runtime_init/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/02_runtime_init/src/bsp/raspberrypi/link.ld b/02_runtime_init/src/bsp/raspberrypi/link.ld index c03bb5e5..573abc5f 100644 --- a/02_runtime_init/src/bsp/raspberrypi/link.ld +++ b/02_runtime_init/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/02_runtime_init/src/bsp/raspberrypi/memory.rs b/02_runtime_init/src/bsp/raspberrypi/memory.rs index 25ba9f15..5c6b1ea5 100644 --- a/02_runtime_init/src/bsp/raspberrypi/memory.rs +++ b/02_runtime_init/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/02_runtime_init/src/cpu.rs b/02_runtime_init/src/cpu.rs index fd5c9794..27aea204 100644 --- a/02_runtime_init/src/cpu.rs +++ b/02_runtime_init/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/02_runtime_init/src/main.rs b/02_runtime_init/src/main.rs index 336824a1..76e7a772 100644 --- a/02_runtime_init/src/main.rs +++ b/02_runtime_init/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/02_runtime_init/src/memory.rs b/02_runtime_init/src/memory.rs index 827b8b85..1f79e0c9 100644 --- a/02_runtime_init/src/memory.rs +++ b/02_runtime_init/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/02_runtime_init/src/panic_wait.rs b/02_runtime_init/src/panic_wait.rs index 560a1724..a1705688 100644 --- a/02_runtime_init/src/panic_wait.rs +++ b/02_runtime_init/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/02_runtime_init/src/runtime_init.rs b/02_runtime_init/src/runtime_init.rs index 0e3702b4..068dde84 100644 --- a/02_runtime_init/src/runtime_init.rs +++ b/02_runtime_init/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/03_hacky_hello_world/Makefile b/03_hacky_hello_world/Makefile index a9b0f82c..90238d09 100644 --- a/03_hacky_hello_world/Makefile +++ b/03_hacky_hello_world/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/03_hacky_hello_world/README.md b/03_hacky_hello_world/README.md index 4fac48da..95760f02 100644 --- a/03_hacky_hello_world/README.md +++ b/03_hacky_hello_world/README.md @@ -56,7 +56,7 @@ diff -uNr 02_runtime_init/src/bsp/raspberrypi/console.rs 03_hacky_hello_world/sr @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! BSP console facilities. + @@ -118,7 +118,7 @@ diff -uNr 02_runtime_init/src/console.rs 03_hacky_hello_world/src/console.rs @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! System console. + @@ -200,7 +200,7 @@ diff -uNr 02_runtime_init/src/print.rs 03_hacky_hello_world/src/print.rs @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Printing facilities. + diff --git a/03_hacky_hello_world/src/_arch/aarch64/cpu.S b/03_hacky_hello_world/src/_arch/aarch64/cpu.S index 3ed5c061..449cf502 100644 --- a/03_hacky_hello_world/src/_arch/aarch64/cpu.S +++ b/03_hacky_hello_world/src/_arch/aarch64/cpu.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter .section ".text._start" diff --git a/03_hacky_hello_world/src/_arch/aarch64/cpu.rs b/03_hacky_hello_world/src/_arch/aarch64/cpu.rs index 1d3e871a..6ca5986a 100644 --- a/03_hacky_hello_world/src/_arch/aarch64/cpu.rs +++ b/03_hacky_hello_world/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/03_hacky_hello_world/src/bsp.rs b/03_hacky_hello_world/src/bsp.rs index db48385e..8f0d27c8 100644 --- a/03_hacky_hello_world/src/bsp.rs +++ b/03_hacky_hello_world/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/03_hacky_hello_world/src/bsp/raspberrypi.rs b/03_hacky_hello_world/src/bsp/raspberrypi.rs index fba4f0a2..ac9d53e9 100644 --- a/03_hacky_hello_world/src/bsp/raspberrypi.rs +++ b/03_hacky_hello_world/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/03_hacky_hello_world/src/bsp/raspberrypi/console.rs b/03_hacky_hello_world/src/bsp/raspberrypi/console.rs index 0b699e62..fca7042e 100644 --- a/03_hacky_hello_world/src/bsp/raspberrypi/console.rs +++ b/03_hacky_hello_world/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/03_hacky_hello_world/src/bsp/raspberrypi/link.ld b/03_hacky_hello_world/src/bsp/raspberrypi/link.ld index c03bb5e5..573abc5f 100644 --- a/03_hacky_hello_world/src/bsp/raspberrypi/link.ld +++ b/03_hacky_hello_world/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/03_hacky_hello_world/src/bsp/raspberrypi/memory.rs b/03_hacky_hello_world/src/bsp/raspberrypi/memory.rs index 25ba9f15..5c6b1ea5 100644 --- a/03_hacky_hello_world/src/bsp/raspberrypi/memory.rs +++ b/03_hacky_hello_world/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/03_hacky_hello_world/src/console.rs b/03_hacky_hello_world/src/console.rs index 3a3b638b..27b79f7d 100644 --- a/03_hacky_hello_world/src/console.rs +++ b/03_hacky_hello_world/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/03_hacky_hello_world/src/cpu.rs b/03_hacky_hello_world/src/cpu.rs index fd5c9794..27aea204 100644 --- a/03_hacky_hello_world/src/cpu.rs +++ b/03_hacky_hello_world/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/03_hacky_hello_world/src/main.rs b/03_hacky_hello_world/src/main.rs index 8b6f4b25..3a4cf64c 100644 --- a/03_hacky_hello_world/src/main.rs +++ b/03_hacky_hello_world/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/03_hacky_hello_world/src/memory.rs b/03_hacky_hello_world/src/memory.rs index 827b8b85..1f79e0c9 100644 --- a/03_hacky_hello_world/src/memory.rs +++ b/03_hacky_hello_world/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/03_hacky_hello_world/src/panic_wait.rs b/03_hacky_hello_world/src/panic_wait.rs index b4d5bc1a..255eedee 100644 --- a/03_hacky_hello_world/src/panic_wait.rs +++ b/03_hacky_hello_world/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/03_hacky_hello_world/src/print.rs b/03_hacky_hello_world/src/print.rs index 77ebd8b4..59ec9e8e 100644 --- a/03_hacky_hello_world/src/print.rs +++ b/03_hacky_hello_world/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/03_hacky_hello_world/src/runtime_init.rs b/03_hacky_hello_world/src/runtime_init.rs index 0e3702b4..068dde84 100644 --- a/03_hacky_hello_world/src/runtime_init.rs +++ b/03_hacky_hello_world/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/04_zero_overhead_abstraction/Makefile b/04_zero_overhead_abstraction/Makefile index a9b0f82c..90238d09 100644 --- a/04_zero_overhead_abstraction/Makefile +++ b/04_zero_overhead_abstraction/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/04_zero_overhead_abstraction/README.md b/04_zero_overhead_abstraction/README.md index ca679c52..00310821 100644 --- a/04_zero_overhead_abstraction/README.md +++ b/04_zero_overhead_abstraction/README.md @@ -29,7 +29,7 @@ diff -uNr 03_hacky_hello_world/src/_arch/aarch64/cpu/smp.rs 04_zero_overhead_abs @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Architectural symmetric multiprocessing. + @@ -114,7 +114,7 @@ diff -uNr 03_hacky_hello_world/src/_arch/aarch64/cpu.S 04_zero_overhead_abstract @@ -1,21 +0,0 @@ -// SPDX-License-Identifier: MIT OR Apache-2.0 -// --// Copyright (c) 2018-2020 Andre Richter +-// Copyright (c) 2018-2021 Andre Richter - -.section ".text._start" - @@ -140,7 +140,7 @@ diff -uNr 03_hacky_hello_world/src/bsp/raspberrypi/cpu.rs 04_zero_overhead_abstr @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! BSP Processor code. + @@ -197,7 +197,7 @@ diff -uNr 03_hacky_hello_world/src/cpu/smp.rs 04_zero_overhead_abstraction/src/c @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Symmetric multiprocessing. + diff --git a/04_zero_overhead_abstraction/src/_arch/aarch64/cpu.rs b/04_zero_overhead_abstraction/src/_arch/aarch64/cpu.rs index 64c5397f..61a68a18 100644 --- a/04_zero_overhead_abstraction/src/_arch/aarch64/cpu.rs +++ b/04_zero_overhead_abstraction/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/04_zero_overhead_abstraction/src/_arch/aarch64/cpu/smp.rs b/04_zero_overhead_abstraction/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/04_zero_overhead_abstraction/src/_arch/aarch64/cpu/smp.rs +++ b/04_zero_overhead_abstraction/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/04_zero_overhead_abstraction/src/bsp.rs b/04_zero_overhead_abstraction/src/bsp.rs index db48385e..8f0d27c8 100644 --- a/04_zero_overhead_abstraction/src/bsp.rs +++ b/04_zero_overhead_abstraction/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/04_zero_overhead_abstraction/src/bsp/raspberrypi.rs b/04_zero_overhead_abstraction/src/bsp/raspberrypi.rs index 0ad1b2ae..fdb7551a 100644 --- a/04_zero_overhead_abstraction/src/bsp/raspberrypi.rs +++ b/04_zero_overhead_abstraction/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/04_zero_overhead_abstraction/src/bsp/raspberrypi/console.rs b/04_zero_overhead_abstraction/src/bsp/raspberrypi/console.rs index 0b699e62..fca7042e 100644 --- a/04_zero_overhead_abstraction/src/bsp/raspberrypi/console.rs +++ b/04_zero_overhead_abstraction/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/04_zero_overhead_abstraction/src/bsp/raspberrypi/cpu.rs b/04_zero_overhead_abstraction/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/04_zero_overhead_abstraction/src/bsp/raspberrypi/cpu.rs +++ b/04_zero_overhead_abstraction/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/04_zero_overhead_abstraction/src/bsp/raspberrypi/link.ld b/04_zero_overhead_abstraction/src/bsp/raspberrypi/link.ld index c03bb5e5..573abc5f 100644 --- a/04_zero_overhead_abstraction/src/bsp/raspberrypi/link.ld +++ b/04_zero_overhead_abstraction/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/04_zero_overhead_abstraction/src/bsp/raspberrypi/memory.rs b/04_zero_overhead_abstraction/src/bsp/raspberrypi/memory.rs index 51cc958a..77fdafd7 100644 --- a/04_zero_overhead_abstraction/src/bsp/raspberrypi/memory.rs +++ b/04_zero_overhead_abstraction/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/04_zero_overhead_abstraction/src/console.rs b/04_zero_overhead_abstraction/src/console.rs index 3a3b638b..27b79f7d 100644 --- a/04_zero_overhead_abstraction/src/console.rs +++ b/04_zero_overhead_abstraction/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/04_zero_overhead_abstraction/src/cpu.rs b/04_zero_overhead_abstraction/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/04_zero_overhead_abstraction/src/cpu.rs +++ b/04_zero_overhead_abstraction/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/04_zero_overhead_abstraction/src/cpu/smp.rs b/04_zero_overhead_abstraction/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/04_zero_overhead_abstraction/src/cpu/smp.rs +++ b/04_zero_overhead_abstraction/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/04_zero_overhead_abstraction/src/main.rs b/04_zero_overhead_abstraction/src/main.rs index da1a257d..22e17922 100644 --- a/04_zero_overhead_abstraction/src/main.rs +++ b/04_zero_overhead_abstraction/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/04_zero_overhead_abstraction/src/memory.rs b/04_zero_overhead_abstraction/src/memory.rs index 827b8b85..1f79e0c9 100644 --- a/04_zero_overhead_abstraction/src/memory.rs +++ b/04_zero_overhead_abstraction/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/04_zero_overhead_abstraction/src/panic_wait.rs b/04_zero_overhead_abstraction/src/panic_wait.rs index b4d5bc1a..255eedee 100644 --- a/04_zero_overhead_abstraction/src/panic_wait.rs +++ b/04_zero_overhead_abstraction/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/04_zero_overhead_abstraction/src/print.rs b/04_zero_overhead_abstraction/src/print.rs index 77ebd8b4..59ec9e8e 100644 --- a/04_zero_overhead_abstraction/src/print.rs +++ b/04_zero_overhead_abstraction/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/04_zero_overhead_abstraction/src/runtime_init.rs b/04_zero_overhead_abstraction/src/runtime_init.rs index 9de28595..ee094686 100644 --- a/04_zero_overhead_abstraction/src/runtime_init.rs +++ b/04_zero_overhead_abstraction/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/05_safe_globals/Makefile b/05_safe_globals/Makefile index a9b0f82c..90238d09 100644 --- a/05_safe_globals/Makefile +++ b/05_safe_globals/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/05_safe_globals/README.md b/05_safe_globals/README.md index 1cbe90b8..a66e7f2b 100644 --- a/05_safe_globals/README.md +++ b/05_safe_globals/README.md @@ -253,7 +253,7 @@ diff -uNr 04_zero_overhead_abstraction/src/synchronization.rs 05_safe_globals/sr @@ -0,0 +1,76 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! Synchronization primitives. +//! diff --git a/05_safe_globals/src/_arch/aarch64/cpu.rs b/05_safe_globals/src/_arch/aarch64/cpu.rs index 64c5397f..61a68a18 100644 --- a/05_safe_globals/src/_arch/aarch64/cpu.rs +++ b/05_safe_globals/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/05_safe_globals/src/_arch/aarch64/cpu/smp.rs b/05_safe_globals/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/05_safe_globals/src/_arch/aarch64/cpu/smp.rs +++ b/05_safe_globals/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/05_safe_globals/src/bsp.rs b/05_safe_globals/src/bsp.rs index db48385e..8f0d27c8 100644 --- a/05_safe_globals/src/bsp.rs +++ b/05_safe_globals/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/05_safe_globals/src/bsp/raspberrypi.rs b/05_safe_globals/src/bsp/raspberrypi.rs index 0ad1b2ae..fdb7551a 100644 --- a/05_safe_globals/src/bsp/raspberrypi.rs +++ b/05_safe_globals/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/05_safe_globals/src/bsp/raspberrypi/console.rs b/05_safe_globals/src/bsp/raspberrypi/console.rs index 074f4fa1..f340d940 100644 --- a/05_safe_globals/src/bsp/raspberrypi/console.rs +++ b/05_safe_globals/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/05_safe_globals/src/bsp/raspberrypi/cpu.rs b/05_safe_globals/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/05_safe_globals/src/bsp/raspberrypi/cpu.rs +++ b/05_safe_globals/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/05_safe_globals/src/bsp/raspberrypi/link.ld b/05_safe_globals/src/bsp/raspberrypi/link.ld index c03bb5e5..573abc5f 100644 --- a/05_safe_globals/src/bsp/raspberrypi/link.ld +++ b/05_safe_globals/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/05_safe_globals/src/bsp/raspberrypi/memory.rs b/05_safe_globals/src/bsp/raspberrypi/memory.rs index 51cc958a..77fdafd7 100644 --- a/05_safe_globals/src/bsp/raspberrypi/memory.rs +++ b/05_safe_globals/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/05_safe_globals/src/console.rs b/05_safe_globals/src/console.rs index 12b31c63..658cf66d 100644 --- a/05_safe_globals/src/console.rs +++ b/05_safe_globals/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/05_safe_globals/src/cpu.rs b/05_safe_globals/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/05_safe_globals/src/cpu.rs +++ b/05_safe_globals/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/05_safe_globals/src/cpu/smp.rs b/05_safe_globals/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/05_safe_globals/src/cpu/smp.rs +++ b/05_safe_globals/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/05_safe_globals/src/main.rs b/05_safe_globals/src/main.rs index 6a57de23..2c29444f 100644 --- a/05_safe_globals/src/main.rs +++ b/05_safe_globals/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/05_safe_globals/src/memory.rs b/05_safe_globals/src/memory.rs index 827b8b85..1f79e0c9 100644 --- a/05_safe_globals/src/memory.rs +++ b/05_safe_globals/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/05_safe_globals/src/panic_wait.rs b/05_safe_globals/src/panic_wait.rs index b4d5bc1a..255eedee 100644 --- a/05_safe_globals/src/panic_wait.rs +++ b/05_safe_globals/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/05_safe_globals/src/print.rs b/05_safe_globals/src/print.rs index 77ebd8b4..59ec9e8e 100644 --- a/05_safe_globals/src/print.rs +++ b/05_safe_globals/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/05_safe_globals/src/runtime_init.rs b/05_safe_globals/src/runtime_init.rs index 9de28595..ee094686 100644 --- a/05_safe_globals/src/runtime_init.rs +++ b/05_safe_globals/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/05_safe_globals/src/synchronization.rs b/05_safe_globals/src/synchronization.rs index 6de32807..f956b5cd 100644 --- a/05_safe_globals/src/synchronization.rs +++ b/05_safe_globals/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/06_drivers_gpio_uart/Makefile b/06_drivers_gpio_uart/Makefile index 06c268de..0fde2eb8 100644 --- a/06_drivers_gpio_uart/Makefile +++ b/06_drivers_gpio_uart/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/06_drivers_gpio_uart/README.md b/06_drivers_gpio_uart/README.md index e3d502b6..33df63e8 100644 --- a/06_drivers_gpio_uart/README.md +++ b/06_drivers_gpio_uart/README.md @@ -210,7 +210,7 @@ diff -uNr 05_safe_globals/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs 06_drivers_g @@ -0,0 +1,221 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! GPIO Driver. + @@ -436,7 +436,7 @@ diff -uNr 05_safe_globals/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs 06_dri @@ -0,0 +1,305 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! PL011 UART driver. + @@ -746,7 +746,7 @@ diff -uNr 05_safe_globals/src/bsp/device_driver/bcm.rs 06_drivers_gpio_uart/src/ @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! BCM driver top level. + @@ -762,7 +762,7 @@ diff -uNr 05_safe_globals/src/bsp/device_driver/common.rs 06_drivers_gpio_uart/s @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! Common device driver code. + @@ -805,7 +805,7 @@ diff -uNr 05_safe_globals/src/bsp/device_driver.rs 06_drivers_gpio_uart/src/bsp/ @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Device driver. + @@ -958,7 +958,7 @@ diff -uNr 05_safe_globals/src/bsp/raspberrypi/driver.rs 06_drivers_gpio_uart/src @@ -0,0 +1,49 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! BSP driver support. + @@ -1137,7 +1137,7 @@ diff -uNr 05_safe_globals/src/driver.rs 06_drivers_gpio_uart/src/driver.rs @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Driver support. + diff --git a/06_drivers_gpio_uart/src/_arch/aarch64/cpu.rs b/06_drivers_gpio_uart/src/_arch/aarch64/cpu.rs index 1d5190ee..0f545a00 100644 --- a/06_drivers_gpio_uart/src/_arch/aarch64/cpu.rs +++ b/06_drivers_gpio_uart/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/06_drivers_gpio_uart/src/_arch/aarch64/cpu/smp.rs b/06_drivers_gpio_uart/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/06_drivers_gpio_uart/src/_arch/aarch64/cpu/smp.rs +++ b/06_drivers_gpio_uart/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/06_drivers_gpio_uart/src/bsp.rs b/06_drivers_gpio_uart/src/bsp.rs index 3a5657ad..25750249 100644 --- a/06_drivers_gpio_uart/src/bsp.rs +++ b/06_drivers_gpio_uart/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/06_drivers_gpio_uart/src/bsp/device_driver.rs b/06_drivers_gpio_uart/src/bsp/device_driver.rs index ce7396f2..2fcbc83e 100644 --- a/06_drivers_gpio_uart/src/bsp/device_driver.rs +++ b/06_drivers_gpio_uart/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/06_drivers_gpio_uart/src/bsp/device_driver/bcm.rs b/06_drivers_gpio_uart/src/bsp/device_driver/bcm.rs index 59071d5d..77613d26 100644 --- a/06_drivers_gpio_uart/src/bsp/device_driver/bcm.rs +++ b/06_drivers_gpio_uart/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/06_drivers_gpio_uart/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/06_drivers_gpio_uart/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index f5abbee8..771151e7 100644 --- a/06_drivers_gpio_uart/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/06_drivers_gpio_uart/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/06_drivers_gpio_uart/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/06_drivers_gpio_uart/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index f17a51ec..de0bf813 100644 --- a/06_drivers_gpio_uart/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/06_drivers_gpio_uart/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/06_drivers_gpio_uart/src/bsp/device_driver/common.rs b/06_drivers_gpio_uart/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/06_drivers_gpio_uart/src/bsp/device_driver/common.rs +++ b/06_drivers_gpio_uart/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/06_drivers_gpio_uart/src/bsp/raspberrypi.rs b/06_drivers_gpio_uart/src/bsp/raspberrypi.rs index 10888d37..c0b639c9 100644 --- a/06_drivers_gpio_uart/src/bsp/raspberrypi.rs +++ b/06_drivers_gpio_uart/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/06_drivers_gpio_uart/src/bsp/raspberrypi/console.rs b/06_drivers_gpio_uart/src/bsp/raspberrypi/console.rs index d1b60dd8..c6bb5263 100644 --- a/06_drivers_gpio_uart/src/bsp/raspberrypi/console.rs +++ b/06_drivers_gpio_uart/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/06_drivers_gpio_uart/src/bsp/raspberrypi/cpu.rs b/06_drivers_gpio_uart/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/06_drivers_gpio_uart/src/bsp/raspberrypi/cpu.rs +++ b/06_drivers_gpio_uart/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/06_drivers_gpio_uart/src/bsp/raspberrypi/driver.rs b/06_drivers_gpio_uart/src/bsp/raspberrypi/driver.rs index fe24dd71..ab910185 100644 --- a/06_drivers_gpio_uart/src/bsp/raspberrypi/driver.rs +++ b/06_drivers_gpio_uart/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/06_drivers_gpio_uart/src/bsp/raspberrypi/link.ld b/06_drivers_gpio_uart/src/bsp/raspberrypi/link.ld index c03bb5e5..573abc5f 100644 --- a/06_drivers_gpio_uart/src/bsp/raspberrypi/link.ld +++ b/06_drivers_gpio_uart/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/06_drivers_gpio_uart/src/bsp/raspberrypi/memory.rs b/06_drivers_gpio_uart/src/bsp/raspberrypi/memory.rs index fae05125..fb47b141 100644 --- a/06_drivers_gpio_uart/src/bsp/raspberrypi/memory.rs +++ b/06_drivers_gpio_uart/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/06_drivers_gpio_uart/src/console.rs b/06_drivers_gpio_uart/src/console.rs index 2644e12c..0a238594 100644 --- a/06_drivers_gpio_uart/src/console.rs +++ b/06_drivers_gpio_uart/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/06_drivers_gpio_uart/src/cpu.rs b/06_drivers_gpio_uart/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/06_drivers_gpio_uart/src/cpu.rs +++ b/06_drivers_gpio_uart/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/06_drivers_gpio_uart/src/cpu/smp.rs b/06_drivers_gpio_uart/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/06_drivers_gpio_uart/src/cpu/smp.rs +++ b/06_drivers_gpio_uart/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/06_drivers_gpio_uart/src/driver.rs b/06_drivers_gpio_uart/src/driver.rs index e2875b87..6e8c5533 100644 --- a/06_drivers_gpio_uart/src/driver.rs +++ b/06_drivers_gpio_uart/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/06_drivers_gpio_uart/src/main.rs b/06_drivers_gpio_uart/src/main.rs index 9e58e80b..c45f7f78 100644 --- a/06_drivers_gpio_uart/src/main.rs +++ b/06_drivers_gpio_uart/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/06_drivers_gpio_uart/src/memory.rs b/06_drivers_gpio_uart/src/memory.rs index 827b8b85..1f79e0c9 100644 --- a/06_drivers_gpio_uart/src/memory.rs +++ b/06_drivers_gpio_uart/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/06_drivers_gpio_uart/src/panic_wait.rs b/06_drivers_gpio_uart/src/panic_wait.rs index 1386e1e2..7980f5de 100644 --- a/06_drivers_gpio_uart/src/panic_wait.rs +++ b/06_drivers_gpio_uart/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/06_drivers_gpio_uart/src/print.rs b/06_drivers_gpio_uart/src/print.rs index 77ebd8b4..59ec9e8e 100644 --- a/06_drivers_gpio_uart/src/print.rs +++ b/06_drivers_gpio_uart/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/06_drivers_gpio_uart/src/runtime_init.rs b/06_drivers_gpio_uart/src/runtime_init.rs index 9de28595..ee094686 100644 --- a/06_drivers_gpio_uart/src/runtime_init.rs +++ b/06_drivers_gpio_uart/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/06_drivers_gpio_uart/src/synchronization.rs b/06_drivers_gpio_uart/src/synchronization.rs index 6de32807..f956b5cd 100644 --- a/06_drivers_gpio_uart/src/synchronization.rs +++ b/06_drivers_gpio_uart/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/07_uart_chainloader/Makefile b/07_uart_chainloader/Makefile index 884a29f7..1fc61b6b 100644 --- a/07_uart_chainloader/Makefile +++ b/07_uart_chainloader/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/07_uart_chainloader/README.md b/07_uart_chainloader/README.md index 8872bc18..1491c84b 100644 --- a/07_uart_chainloader/README.md +++ b/07_uart_chainloader/README.md @@ -512,7 +512,7 @@ diff -uNr 06_drivers_gpio_uart/src/relocate.rs 07_uart_chainloader/src/relocate. @@ -0,0 +1,51 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Relocation code. + diff --git a/07_uart_chainloader/src/_arch/aarch64/cpu.rs b/07_uart_chainloader/src/_arch/aarch64/cpu.rs index bd974d4d..ccafe9ff 100644 --- a/07_uart_chainloader/src/_arch/aarch64/cpu.rs +++ b/07_uart_chainloader/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/07_uart_chainloader/src/_arch/aarch64/cpu/smp.rs b/07_uart_chainloader/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/07_uart_chainloader/src/_arch/aarch64/cpu/smp.rs +++ b/07_uart_chainloader/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/07_uart_chainloader/src/bsp.rs b/07_uart_chainloader/src/bsp.rs index 3a5657ad..25750249 100644 --- a/07_uart_chainloader/src/bsp.rs +++ b/07_uart_chainloader/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/07_uart_chainloader/src/bsp/device_driver.rs b/07_uart_chainloader/src/bsp/device_driver.rs index ce7396f2..2fcbc83e 100644 --- a/07_uart_chainloader/src/bsp/device_driver.rs +++ b/07_uart_chainloader/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/07_uart_chainloader/src/bsp/device_driver/bcm.rs b/07_uart_chainloader/src/bsp/device_driver/bcm.rs index 59071d5d..77613d26 100644 --- a/07_uart_chainloader/src/bsp/device_driver/bcm.rs +++ b/07_uart_chainloader/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/07_uart_chainloader/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/07_uart_chainloader/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index f5abbee8..771151e7 100644 --- a/07_uart_chainloader/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/07_uart_chainloader/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/07_uart_chainloader/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/07_uart_chainloader/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index a17d63ee..1eb98fc4 100644 --- a/07_uart_chainloader/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/07_uart_chainloader/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/07_uart_chainloader/src/bsp/device_driver/common.rs b/07_uart_chainloader/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/07_uart_chainloader/src/bsp/device_driver/common.rs +++ b/07_uart_chainloader/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/07_uart_chainloader/src/bsp/raspberrypi.rs b/07_uart_chainloader/src/bsp/raspberrypi.rs index 10888d37..c0b639c9 100644 --- a/07_uart_chainloader/src/bsp/raspberrypi.rs +++ b/07_uart_chainloader/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/07_uart_chainloader/src/bsp/raspberrypi/console.rs b/07_uart_chainloader/src/bsp/raspberrypi/console.rs index d1b60dd8..c6bb5263 100644 --- a/07_uart_chainloader/src/bsp/raspberrypi/console.rs +++ b/07_uart_chainloader/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/07_uart_chainloader/src/bsp/raspberrypi/cpu.rs b/07_uart_chainloader/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/07_uart_chainloader/src/bsp/raspberrypi/cpu.rs +++ b/07_uart_chainloader/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/07_uart_chainloader/src/bsp/raspberrypi/driver.rs b/07_uart_chainloader/src/bsp/raspberrypi/driver.rs index fe24dd71..ab910185 100644 --- a/07_uart_chainloader/src/bsp/raspberrypi/driver.rs +++ b/07_uart_chainloader/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/07_uart_chainloader/src/bsp/raspberrypi/link.ld b/07_uart_chainloader/src/bsp/raspberrypi/link.ld index a6dc653a..721856cb 100644 --- a/07_uart_chainloader/src/bsp/raspberrypi/link.ld +++ b/07_uart_chainloader/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/07_uart_chainloader/src/bsp/raspberrypi/memory.rs b/07_uart_chainloader/src/bsp/raspberrypi/memory.rs index 0af09903..4b2642e3 100644 --- a/07_uart_chainloader/src/bsp/raspberrypi/memory.rs +++ b/07_uart_chainloader/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/07_uart_chainloader/src/console.rs b/07_uart_chainloader/src/console.rs index e6323a20..2d38cc1d 100644 --- a/07_uart_chainloader/src/console.rs +++ b/07_uart_chainloader/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/07_uart_chainloader/src/cpu.rs b/07_uart_chainloader/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/07_uart_chainloader/src/cpu.rs +++ b/07_uart_chainloader/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/07_uart_chainloader/src/cpu/smp.rs b/07_uart_chainloader/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/07_uart_chainloader/src/cpu/smp.rs +++ b/07_uart_chainloader/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/07_uart_chainloader/src/driver.rs b/07_uart_chainloader/src/driver.rs index e2875b87..6e8c5533 100644 --- a/07_uart_chainloader/src/driver.rs +++ b/07_uart_chainloader/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/07_uart_chainloader/src/main.rs b/07_uart_chainloader/src/main.rs index 6640c754..e71ab16c 100644 --- a/07_uart_chainloader/src/main.rs +++ b/07_uart_chainloader/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/07_uart_chainloader/src/memory.rs b/07_uart_chainloader/src/memory.rs index 827b8b85..1f79e0c9 100644 --- a/07_uart_chainloader/src/memory.rs +++ b/07_uart_chainloader/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/07_uart_chainloader/src/panic_wait.rs b/07_uart_chainloader/src/panic_wait.rs index 1386e1e2..7980f5de 100644 --- a/07_uart_chainloader/src/panic_wait.rs +++ b/07_uart_chainloader/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/07_uart_chainloader/src/print.rs b/07_uart_chainloader/src/print.rs index 77ebd8b4..59ec9e8e 100644 --- a/07_uart_chainloader/src/print.rs +++ b/07_uart_chainloader/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/07_uart_chainloader/src/relocate.rs b/07_uart_chainloader/src/relocate.rs index bbedfa47..85ddab67 100644 --- a/07_uart_chainloader/src/relocate.rs +++ b/07_uart_chainloader/src/relocate.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Relocation code. diff --git a/07_uart_chainloader/src/runtime_init.rs b/07_uart_chainloader/src/runtime_init.rs index 8ed768d4..5e9b7497 100644 --- a/07_uart_chainloader/src/runtime_init.rs +++ b/07_uart_chainloader/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/07_uart_chainloader/src/synchronization.rs b/07_uart_chainloader/src/synchronization.rs index 6de32807..f956b5cd 100644 --- a/07_uart_chainloader/src/synchronization.rs +++ b/07_uart_chainloader/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/08_timestamps/Makefile b/08_timestamps/Makefile index 2f04337e..071167b9 100644 --- a/08_timestamps/Makefile +++ b/08_timestamps/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/08_timestamps/README.md b/08_timestamps/README.md index 9ec2e42f..cf3173bd 100644 --- a/08_timestamps/README.md +++ b/08_timestamps/README.md @@ -173,7 +173,7 @@ diff -uNr 07_uart_chainloader/src/_arch/aarch64/time.rs 08_timestamps/src/_arch/ @@ -0,0 +1,98 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Architectural timer primitives. + @@ -643,7 +643,7 @@ diff -uNr 07_uart_chainloader/src/relocate.rs 08_timestamps/src/relocate.rs @@ -1,51 +0,0 @@ -// SPDX-License-Identifier: MIT OR Apache-2.0 -// --// Copyright (c) 2018-2020 Andre Richter +-// Copyright (c) 2018-2021 Andre Richter - -//! Relocation code. - @@ -720,7 +720,7 @@ diff -uNr 07_uart_chainloader/src/time.rs 08_timestamps/src/time.rs @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! Timer primitives. + diff --git a/08_timestamps/src/_arch/aarch64/cpu.rs b/08_timestamps/src/_arch/aarch64/cpu.rs index eac29d8d..6072751d 100644 --- a/08_timestamps/src/_arch/aarch64/cpu.rs +++ b/08_timestamps/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/08_timestamps/src/_arch/aarch64/cpu/smp.rs b/08_timestamps/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/08_timestamps/src/_arch/aarch64/cpu/smp.rs +++ b/08_timestamps/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/08_timestamps/src/_arch/aarch64/time.rs b/08_timestamps/src/_arch/aarch64/time.rs index af98ddd0..7f1bc696 100644 --- a/08_timestamps/src/_arch/aarch64/time.rs +++ b/08_timestamps/src/_arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural timer primitives. diff --git a/08_timestamps/src/bsp.rs b/08_timestamps/src/bsp.rs index 3a5657ad..25750249 100644 --- a/08_timestamps/src/bsp.rs +++ b/08_timestamps/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/08_timestamps/src/bsp/device_driver.rs b/08_timestamps/src/bsp/device_driver.rs index ce7396f2..2fcbc83e 100644 --- a/08_timestamps/src/bsp/device_driver.rs +++ b/08_timestamps/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/08_timestamps/src/bsp/device_driver/bcm.rs b/08_timestamps/src/bsp/device_driver/bcm.rs index 59071d5d..77613d26 100644 --- a/08_timestamps/src/bsp/device_driver/bcm.rs +++ b/08_timestamps/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/08_timestamps/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/08_timestamps/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index 15bd3b78..41d8b861 100644 --- a/08_timestamps/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/08_timestamps/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/08_timestamps/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/08_timestamps/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index e39bc7cd..66b73463 100644 --- a/08_timestamps/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/08_timestamps/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/08_timestamps/src/bsp/device_driver/common.rs b/08_timestamps/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/08_timestamps/src/bsp/device_driver/common.rs +++ b/08_timestamps/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/08_timestamps/src/bsp/raspberrypi.rs b/08_timestamps/src/bsp/raspberrypi.rs index 10888d37..c0b639c9 100644 --- a/08_timestamps/src/bsp/raspberrypi.rs +++ b/08_timestamps/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/08_timestamps/src/bsp/raspberrypi/console.rs b/08_timestamps/src/bsp/raspberrypi/console.rs index d1b60dd8..c6bb5263 100644 --- a/08_timestamps/src/bsp/raspberrypi/console.rs +++ b/08_timestamps/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/08_timestamps/src/bsp/raspberrypi/cpu.rs b/08_timestamps/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/08_timestamps/src/bsp/raspberrypi/cpu.rs +++ b/08_timestamps/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/08_timestamps/src/bsp/raspberrypi/driver.rs b/08_timestamps/src/bsp/raspberrypi/driver.rs index fe24dd71..ab910185 100644 --- a/08_timestamps/src/bsp/raspberrypi/driver.rs +++ b/08_timestamps/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/08_timestamps/src/bsp/raspberrypi/link.ld b/08_timestamps/src/bsp/raspberrypi/link.ld index c03bb5e5..573abc5f 100644 --- a/08_timestamps/src/bsp/raspberrypi/link.ld +++ b/08_timestamps/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/08_timestamps/src/bsp/raspberrypi/memory.rs b/08_timestamps/src/bsp/raspberrypi/memory.rs index fae05125..fb47b141 100644 --- a/08_timestamps/src/bsp/raspberrypi/memory.rs +++ b/08_timestamps/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/08_timestamps/src/console.rs b/08_timestamps/src/console.rs index e6323a20..2d38cc1d 100644 --- a/08_timestamps/src/console.rs +++ b/08_timestamps/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/08_timestamps/src/cpu.rs b/08_timestamps/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/08_timestamps/src/cpu.rs +++ b/08_timestamps/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/08_timestamps/src/cpu/smp.rs b/08_timestamps/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/08_timestamps/src/cpu/smp.rs +++ b/08_timestamps/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/08_timestamps/src/driver.rs b/08_timestamps/src/driver.rs index e2875b87..6e8c5533 100644 --- a/08_timestamps/src/driver.rs +++ b/08_timestamps/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/08_timestamps/src/main.rs b/08_timestamps/src/main.rs index 2c9f1fb7..4dad2571 100644 --- a/08_timestamps/src/main.rs +++ b/08_timestamps/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/08_timestamps/src/memory.rs b/08_timestamps/src/memory.rs index 827b8b85..1f79e0c9 100644 --- a/08_timestamps/src/memory.rs +++ b/08_timestamps/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/08_timestamps/src/panic_wait.rs b/08_timestamps/src/panic_wait.rs index 1386e1e2..7980f5de 100644 --- a/08_timestamps/src/panic_wait.rs +++ b/08_timestamps/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/08_timestamps/src/print.rs b/08_timestamps/src/print.rs index 8b6f3f98..1ea96b6a 100644 --- a/08_timestamps/src/print.rs +++ b/08_timestamps/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/08_timestamps/src/runtime_init.rs b/08_timestamps/src/runtime_init.rs index 9de28595..ee094686 100644 --- a/08_timestamps/src/runtime_init.rs +++ b/08_timestamps/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/08_timestamps/src/synchronization.rs b/08_timestamps/src/synchronization.rs index 6de32807..f956b5cd 100644 --- a/08_timestamps/src/synchronization.rs +++ b/08_timestamps/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/08_timestamps/src/time.rs b/08_timestamps/src/time.rs index cd3ceec3..4f2f4e38 100644 --- a/08_timestamps/src/time.rs +++ b/08_timestamps/src/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Timer primitives. diff --git a/09_hw_debug_JTAG/Makefile b/09_hw_debug_JTAG/Makefile index 5f49b1af..9254018c 100644 --- a/09_hw_debug_JTAG/Makefile +++ b/09_hw_debug_JTAG/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/09_hw_debug_JTAG/src/_arch/aarch64/cpu.rs b/09_hw_debug_JTAG/src/_arch/aarch64/cpu.rs index eac29d8d..6072751d 100644 --- a/09_hw_debug_JTAG/src/_arch/aarch64/cpu.rs +++ b/09_hw_debug_JTAG/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/09_hw_debug_JTAG/src/_arch/aarch64/cpu/smp.rs b/09_hw_debug_JTAG/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/09_hw_debug_JTAG/src/_arch/aarch64/cpu/smp.rs +++ b/09_hw_debug_JTAG/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/09_hw_debug_JTAG/src/_arch/aarch64/time.rs b/09_hw_debug_JTAG/src/_arch/aarch64/time.rs index af98ddd0..7f1bc696 100644 --- a/09_hw_debug_JTAG/src/_arch/aarch64/time.rs +++ b/09_hw_debug_JTAG/src/_arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural timer primitives. diff --git a/09_hw_debug_JTAG/src/bsp.rs b/09_hw_debug_JTAG/src/bsp.rs index 3a5657ad..25750249 100644 --- a/09_hw_debug_JTAG/src/bsp.rs +++ b/09_hw_debug_JTAG/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/09_hw_debug_JTAG/src/bsp/device_driver.rs b/09_hw_debug_JTAG/src/bsp/device_driver.rs index ce7396f2..2fcbc83e 100644 --- a/09_hw_debug_JTAG/src/bsp/device_driver.rs +++ b/09_hw_debug_JTAG/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/09_hw_debug_JTAG/src/bsp/device_driver/bcm.rs b/09_hw_debug_JTAG/src/bsp/device_driver/bcm.rs index 59071d5d..77613d26 100644 --- a/09_hw_debug_JTAG/src/bsp/device_driver/bcm.rs +++ b/09_hw_debug_JTAG/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/09_hw_debug_JTAG/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/09_hw_debug_JTAG/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index 15bd3b78..41d8b861 100644 --- a/09_hw_debug_JTAG/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/09_hw_debug_JTAG/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/09_hw_debug_JTAG/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/09_hw_debug_JTAG/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index e39bc7cd..66b73463 100644 --- a/09_hw_debug_JTAG/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/09_hw_debug_JTAG/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/09_hw_debug_JTAG/src/bsp/device_driver/common.rs b/09_hw_debug_JTAG/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/09_hw_debug_JTAG/src/bsp/device_driver/common.rs +++ b/09_hw_debug_JTAG/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/09_hw_debug_JTAG/src/bsp/raspberrypi.rs b/09_hw_debug_JTAG/src/bsp/raspberrypi.rs index 10888d37..c0b639c9 100644 --- a/09_hw_debug_JTAG/src/bsp/raspberrypi.rs +++ b/09_hw_debug_JTAG/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/09_hw_debug_JTAG/src/bsp/raspberrypi/console.rs b/09_hw_debug_JTAG/src/bsp/raspberrypi/console.rs index d1b60dd8..c6bb5263 100644 --- a/09_hw_debug_JTAG/src/bsp/raspberrypi/console.rs +++ b/09_hw_debug_JTAG/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/09_hw_debug_JTAG/src/bsp/raspberrypi/cpu.rs b/09_hw_debug_JTAG/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/09_hw_debug_JTAG/src/bsp/raspberrypi/cpu.rs +++ b/09_hw_debug_JTAG/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/09_hw_debug_JTAG/src/bsp/raspberrypi/driver.rs b/09_hw_debug_JTAG/src/bsp/raspberrypi/driver.rs index fe24dd71..ab910185 100644 --- a/09_hw_debug_JTAG/src/bsp/raspberrypi/driver.rs +++ b/09_hw_debug_JTAG/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/09_hw_debug_JTAG/src/bsp/raspberrypi/link.ld b/09_hw_debug_JTAG/src/bsp/raspberrypi/link.ld index c03bb5e5..573abc5f 100644 --- a/09_hw_debug_JTAG/src/bsp/raspberrypi/link.ld +++ b/09_hw_debug_JTAG/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/09_hw_debug_JTAG/src/bsp/raspberrypi/memory.rs b/09_hw_debug_JTAG/src/bsp/raspberrypi/memory.rs index fae05125..fb47b141 100644 --- a/09_hw_debug_JTAG/src/bsp/raspberrypi/memory.rs +++ b/09_hw_debug_JTAG/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/09_hw_debug_JTAG/src/console.rs b/09_hw_debug_JTAG/src/console.rs index e6323a20..2d38cc1d 100644 --- a/09_hw_debug_JTAG/src/console.rs +++ b/09_hw_debug_JTAG/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/09_hw_debug_JTAG/src/cpu.rs b/09_hw_debug_JTAG/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/09_hw_debug_JTAG/src/cpu.rs +++ b/09_hw_debug_JTAG/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/09_hw_debug_JTAG/src/cpu/smp.rs b/09_hw_debug_JTAG/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/09_hw_debug_JTAG/src/cpu/smp.rs +++ b/09_hw_debug_JTAG/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/09_hw_debug_JTAG/src/driver.rs b/09_hw_debug_JTAG/src/driver.rs index e2875b87..6e8c5533 100644 --- a/09_hw_debug_JTAG/src/driver.rs +++ b/09_hw_debug_JTAG/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/09_hw_debug_JTAG/src/main.rs b/09_hw_debug_JTAG/src/main.rs index 2c9f1fb7..4dad2571 100644 --- a/09_hw_debug_JTAG/src/main.rs +++ b/09_hw_debug_JTAG/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/09_hw_debug_JTAG/src/memory.rs b/09_hw_debug_JTAG/src/memory.rs index 827b8b85..1f79e0c9 100644 --- a/09_hw_debug_JTAG/src/memory.rs +++ b/09_hw_debug_JTAG/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/09_hw_debug_JTAG/src/panic_wait.rs b/09_hw_debug_JTAG/src/panic_wait.rs index 1386e1e2..7980f5de 100644 --- a/09_hw_debug_JTAG/src/panic_wait.rs +++ b/09_hw_debug_JTAG/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/09_hw_debug_JTAG/src/print.rs b/09_hw_debug_JTAG/src/print.rs index 8b6f3f98..1ea96b6a 100644 --- a/09_hw_debug_JTAG/src/print.rs +++ b/09_hw_debug_JTAG/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/09_hw_debug_JTAG/src/runtime_init.rs b/09_hw_debug_JTAG/src/runtime_init.rs index 9de28595..ee094686 100644 --- a/09_hw_debug_JTAG/src/runtime_init.rs +++ b/09_hw_debug_JTAG/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/09_hw_debug_JTAG/src/synchronization.rs b/09_hw_debug_JTAG/src/synchronization.rs index 6de32807..f956b5cd 100644 --- a/09_hw_debug_JTAG/src/synchronization.rs +++ b/09_hw_debug_JTAG/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/09_hw_debug_JTAG/src/time.rs b/09_hw_debug_JTAG/src/time.rs index cd3ceec3..4f2f4e38 100644 --- a/09_hw_debug_JTAG/src/time.rs +++ b/09_hw_debug_JTAG/src/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Timer primitives. diff --git a/10_privilege_level/Makefile b/10_privilege_level/Makefile index 5f49b1af..9254018c 100644 --- a/10_privilege_level/Makefile +++ b/10_privilege_level/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/10_privilege_level/README.md b/10_privilege_level/README.md index 84ccf924..fab88598 100644 --- a/10_privilege_level/README.md +++ b/10_privilege_level/README.md @@ -306,7 +306,7 @@ diff -uNr 09_hw_debug_JTAG/src/_arch/aarch64/exception/asynchronous.rs 10_privil @@ -0,0 +1,74 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Architectural asynchronous exception handling. + @@ -385,7 +385,7 @@ diff -uNr 09_hw_debug_JTAG/src/_arch/aarch64/exception.rs 10_privilege_level/src @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Architectural synchronous and asynchronous exception handling. + @@ -413,7 +413,7 @@ diff -uNr 09_hw_debug_JTAG/src/exception/asynchronous.rs 10_privilege_level/src/ @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! Asynchronous exception handling. + @@ -428,7 +428,7 @@ diff -uNr 09_hw_debug_JTAG/src/exception.rs 10_privilege_level/src/exception.rs @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! Synchronous and asynchronous exception handling. + diff --git a/10_privilege_level/src/_arch/aarch64/cpu.rs b/10_privilege_level/src/_arch/aarch64/cpu.rs index e546dd60..3846968b 100644 --- a/10_privilege_level/src/_arch/aarch64/cpu.rs +++ b/10_privilege_level/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/10_privilege_level/src/_arch/aarch64/cpu/smp.rs b/10_privilege_level/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/10_privilege_level/src/_arch/aarch64/cpu/smp.rs +++ b/10_privilege_level/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/10_privilege_level/src/_arch/aarch64/exception.rs b/10_privilege_level/src/_arch/aarch64/exception.rs index ebfef8c8..b6ee28b8 100644 --- a/10_privilege_level/src/_arch/aarch64/exception.rs +++ b/10_privilege_level/src/_arch/aarch64/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural synchronous and asynchronous exception handling. diff --git a/10_privilege_level/src/_arch/aarch64/exception/asynchronous.rs b/10_privilege_level/src/_arch/aarch64/exception/asynchronous.rs index f660544c..445f490e 100644 --- a/10_privilege_level/src/_arch/aarch64/exception/asynchronous.rs +++ b/10_privilege_level/src/_arch/aarch64/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural asynchronous exception handling. diff --git a/10_privilege_level/src/_arch/aarch64/time.rs b/10_privilege_level/src/_arch/aarch64/time.rs index af98ddd0..7f1bc696 100644 --- a/10_privilege_level/src/_arch/aarch64/time.rs +++ b/10_privilege_level/src/_arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural timer primitives. diff --git a/10_privilege_level/src/bsp.rs b/10_privilege_level/src/bsp.rs index 3a5657ad..25750249 100644 --- a/10_privilege_level/src/bsp.rs +++ b/10_privilege_level/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/10_privilege_level/src/bsp/device_driver.rs b/10_privilege_level/src/bsp/device_driver.rs index ce7396f2..2fcbc83e 100644 --- a/10_privilege_level/src/bsp/device_driver.rs +++ b/10_privilege_level/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/10_privilege_level/src/bsp/device_driver/bcm.rs b/10_privilege_level/src/bsp/device_driver/bcm.rs index 59071d5d..77613d26 100644 --- a/10_privilege_level/src/bsp/device_driver/bcm.rs +++ b/10_privilege_level/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/10_privilege_level/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/10_privilege_level/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index 15bd3b78..41d8b861 100644 --- a/10_privilege_level/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/10_privilege_level/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/10_privilege_level/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/10_privilege_level/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index e39bc7cd..66b73463 100644 --- a/10_privilege_level/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/10_privilege_level/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/10_privilege_level/src/bsp/device_driver/common.rs b/10_privilege_level/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/10_privilege_level/src/bsp/device_driver/common.rs +++ b/10_privilege_level/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/10_privilege_level/src/bsp/raspberrypi.rs b/10_privilege_level/src/bsp/raspberrypi.rs index 10888d37..c0b639c9 100644 --- a/10_privilege_level/src/bsp/raspberrypi.rs +++ b/10_privilege_level/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/10_privilege_level/src/bsp/raspberrypi/console.rs b/10_privilege_level/src/bsp/raspberrypi/console.rs index d1b60dd8..c6bb5263 100644 --- a/10_privilege_level/src/bsp/raspberrypi/console.rs +++ b/10_privilege_level/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/10_privilege_level/src/bsp/raspberrypi/cpu.rs b/10_privilege_level/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/10_privilege_level/src/bsp/raspberrypi/cpu.rs +++ b/10_privilege_level/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/10_privilege_level/src/bsp/raspberrypi/driver.rs b/10_privilege_level/src/bsp/raspberrypi/driver.rs index fe24dd71..ab910185 100644 --- a/10_privilege_level/src/bsp/raspberrypi/driver.rs +++ b/10_privilege_level/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/10_privilege_level/src/bsp/raspberrypi/link.ld b/10_privilege_level/src/bsp/raspberrypi/link.ld index c03bb5e5..573abc5f 100644 --- a/10_privilege_level/src/bsp/raspberrypi/link.ld +++ b/10_privilege_level/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/10_privilege_level/src/bsp/raspberrypi/memory.rs b/10_privilege_level/src/bsp/raspberrypi/memory.rs index fae05125..fb47b141 100644 --- a/10_privilege_level/src/bsp/raspberrypi/memory.rs +++ b/10_privilege_level/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/10_privilege_level/src/console.rs b/10_privilege_level/src/console.rs index e6323a20..2d38cc1d 100644 --- a/10_privilege_level/src/console.rs +++ b/10_privilege_level/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/10_privilege_level/src/cpu.rs b/10_privilege_level/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/10_privilege_level/src/cpu.rs +++ b/10_privilege_level/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/10_privilege_level/src/cpu/smp.rs b/10_privilege_level/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/10_privilege_level/src/cpu/smp.rs +++ b/10_privilege_level/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/10_privilege_level/src/driver.rs b/10_privilege_level/src/driver.rs index e2875b87..6e8c5533 100644 --- a/10_privilege_level/src/driver.rs +++ b/10_privilege_level/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/10_privilege_level/src/exception.rs b/10_privilege_level/src/exception.rs index d2e62179..432c606b 100644 --- a/10_privilege_level/src/exception.rs +++ b/10_privilege_level/src/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronous and asynchronous exception handling. diff --git a/10_privilege_level/src/exception/asynchronous.rs b/10_privilege_level/src/exception/asynchronous.rs index 3c75f90a..fbdba957 100644 --- a/10_privilege_level/src/exception/asynchronous.rs +++ b/10_privilege_level/src/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Asynchronous exception handling. diff --git a/10_privilege_level/src/main.rs b/10_privilege_level/src/main.rs index 1cc057ac..faa42f90 100644 --- a/10_privilege_level/src/main.rs +++ b/10_privilege_level/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/10_privilege_level/src/memory.rs b/10_privilege_level/src/memory.rs index 827b8b85..1f79e0c9 100644 --- a/10_privilege_level/src/memory.rs +++ b/10_privilege_level/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/10_privilege_level/src/panic_wait.rs b/10_privilege_level/src/panic_wait.rs index 1386e1e2..7980f5de 100644 --- a/10_privilege_level/src/panic_wait.rs +++ b/10_privilege_level/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/10_privilege_level/src/print.rs b/10_privilege_level/src/print.rs index 8b6f3f98..1ea96b6a 100644 --- a/10_privilege_level/src/print.rs +++ b/10_privilege_level/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/10_privilege_level/src/runtime_init.rs b/10_privilege_level/src/runtime_init.rs index 9de28595..ee094686 100644 --- a/10_privilege_level/src/runtime_init.rs +++ b/10_privilege_level/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/10_privilege_level/src/synchronization.rs b/10_privilege_level/src/synchronization.rs index 6de32807..f956b5cd 100644 --- a/10_privilege_level/src/synchronization.rs +++ b/10_privilege_level/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/10_privilege_level/src/time.rs b/10_privilege_level/src/time.rs index cd3ceec3..4f2f4e38 100644 --- a/10_privilege_level/src/time.rs +++ b/10_privilege_level/src/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Timer primitives. diff --git a/11_virtual_mem_part1_identity_mapping/Makefile b/11_virtual_mem_part1_identity_mapping/Makefile index 5f49b1af..9254018c 100644 --- a/11_virtual_mem_part1_identity_mapping/Makefile +++ b/11_virtual_mem_part1_identity_mapping/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/11_virtual_mem_part1_identity_mapping/README.md b/11_virtual_mem_part1_identity_mapping/README.md index 0533361b..c8c35972 100644 --- a/11_virtual_mem_part1_identity_mapping/README.md +++ b/11_virtual_mem_part1_identity_mapping/README.md @@ -306,7 +306,7 @@ diff -uNr 10_privilege_level/src/_arch/aarch64/memory/mmu.rs 11_virtual_mem_part @@ -0,0 +1,333 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! Memory Management Unit Driver. +//! @@ -665,7 +665,7 @@ diff -uNr 10_privilege_level/src/bsp/raspberrypi/memory/mmu.rs 11_virtual_mem_pa @@ -0,0 +1,88 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +//! BSP Memory Management Unit. + @@ -918,7 +918,7 @@ diff -uNr 10_privilege_level/src/memory/mmu.rs 11_virtual_mem_part1_identity_map @@ -0,0 +1,199 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! Memory Management Unit. +//! diff --git a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/cpu.rs b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/cpu.rs index e546dd60..3846968b 100644 --- a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/cpu.rs +++ b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/cpu/smp.rs b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/cpu/smp.rs +++ b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/exception.rs b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/exception.rs index ebfef8c8..b6ee28b8 100644 --- a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/exception.rs +++ b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural synchronous and asynchronous exception handling. diff --git a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/exception/asynchronous.rs b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/exception/asynchronous.rs index f660544c..445f490e 100644 --- a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/exception/asynchronous.rs +++ b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural asynchronous exception handling. diff --git a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/memory/mmu.rs b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/memory/mmu.rs index ff653a09..aeacbe8e 100644 --- a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/memory/mmu.rs +++ b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management Unit Driver. //! diff --git a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/time.rs b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/time.rs index af98ddd0..7f1bc696 100644 --- a/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/time.rs +++ b/11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural timer primitives. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp.rs b/11_virtual_mem_part1_identity_mapping/src/bsp.rs index 5add2e38..3d758767 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver.rs index ce7396f2..2fcbc83e 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm.rs index 59071d5d..77613d26 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index 15bd3b78..41d8b861 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index e39bc7cd..66b73463 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/common.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/common.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi.rs index 10888d37..c0b639c9 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/console.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/console.rs index d1b60dd8..c6bb5263 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/console.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/cpu.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/cpu.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/driver.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/driver.rs index fe24dd71..ab910185 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/driver.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/link.ld b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/link.ld index 5b5adbaa..aec8e79b 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/link.ld +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/memory.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/memory.rs index 810acd8a..9ab30232 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/memory.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/memory/mmu.rs b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/memory/mmu.rs index 00990c7e..6930b675 100644 --- a/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/memory/mmu.rs +++ b/11_virtual_mem_part1_identity_mapping/src/bsp/raspberrypi/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management Unit. diff --git a/11_virtual_mem_part1_identity_mapping/src/console.rs b/11_virtual_mem_part1_identity_mapping/src/console.rs index e6323a20..2d38cc1d 100644 --- a/11_virtual_mem_part1_identity_mapping/src/console.rs +++ b/11_virtual_mem_part1_identity_mapping/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/11_virtual_mem_part1_identity_mapping/src/cpu.rs b/11_virtual_mem_part1_identity_mapping/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/11_virtual_mem_part1_identity_mapping/src/cpu.rs +++ b/11_virtual_mem_part1_identity_mapping/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/11_virtual_mem_part1_identity_mapping/src/cpu/smp.rs b/11_virtual_mem_part1_identity_mapping/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/11_virtual_mem_part1_identity_mapping/src/cpu/smp.rs +++ b/11_virtual_mem_part1_identity_mapping/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/11_virtual_mem_part1_identity_mapping/src/driver.rs b/11_virtual_mem_part1_identity_mapping/src/driver.rs index e2875b87..6e8c5533 100644 --- a/11_virtual_mem_part1_identity_mapping/src/driver.rs +++ b/11_virtual_mem_part1_identity_mapping/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/11_virtual_mem_part1_identity_mapping/src/exception.rs b/11_virtual_mem_part1_identity_mapping/src/exception.rs index d2e62179..432c606b 100644 --- a/11_virtual_mem_part1_identity_mapping/src/exception.rs +++ b/11_virtual_mem_part1_identity_mapping/src/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronous and asynchronous exception handling. diff --git a/11_virtual_mem_part1_identity_mapping/src/exception/asynchronous.rs b/11_virtual_mem_part1_identity_mapping/src/exception/asynchronous.rs index 3c75f90a..fbdba957 100644 --- a/11_virtual_mem_part1_identity_mapping/src/exception/asynchronous.rs +++ b/11_virtual_mem_part1_identity_mapping/src/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Asynchronous exception handling. diff --git a/11_virtual_mem_part1_identity_mapping/src/main.rs b/11_virtual_mem_part1_identity_mapping/src/main.rs index 680e2819..eed8b35c 100644 --- a/11_virtual_mem_part1_identity_mapping/src/main.rs +++ b/11_virtual_mem_part1_identity_mapping/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/11_virtual_mem_part1_identity_mapping/src/memory.rs b/11_virtual_mem_part1_identity_mapping/src/memory.rs index 59236a12..e8cc752f 100644 --- a/11_virtual_mem_part1_identity_mapping/src/memory.rs +++ b/11_virtual_mem_part1_identity_mapping/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/11_virtual_mem_part1_identity_mapping/src/memory/mmu.rs b/11_virtual_mem_part1_identity_mapping/src/memory/mmu.rs index 9675b8ab..4880ce91 100644 --- a/11_virtual_mem_part1_identity_mapping/src/memory/mmu.rs +++ b/11_virtual_mem_part1_identity_mapping/src/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Memory Management Unit. //! diff --git a/11_virtual_mem_part1_identity_mapping/src/panic_wait.rs b/11_virtual_mem_part1_identity_mapping/src/panic_wait.rs index 1386e1e2..7980f5de 100644 --- a/11_virtual_mem_part1_identity_mapping/src/panic_wait.rs +++ b/11_virtual_mem_part1_identity_mapping/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/11_virtual_mem_part1_identity_mapping/src/print.rs b/11_virtual_mem_part1_identity_mapping/src/print.rs index 8b6f3f98..1ea96b6a 100644 --- a/11_virtual_mem_part1_identity_mapping/src/print.rs +++ b/11_virtual_mem_part1_identity_mapping/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/11_virtual_mem_part1_identity_mapping/src/runtime_init.rs b/11_virtual_mem_part1_identity_mapping/src/runtime_init.rs index 9de28595..ee094686 100644 --- a/11_virtual_mem_part1_identity_mapping/src/runtime_init.rs +++ b/11_virtual_mem_part1_identity_mapping/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/11_virtual_mem_part1_identity_mapping/src/synchronization.rs b/11_virtual_mem_part1_identity_mapping/src/synchronization.rs index 6de32807..f956b5cd 100644 --- a/11_virtual_mem_part1_identity_mapping/src/synchronization.rs +++ b/11_virtual_mem_part1_identity_mapping/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/11_virtual_mem_part1_identity_mapping/src/time.rs b/11_virtual_mem_part1_identity_mapping/src/time.rs index cd3ceec3..4f2f4e38 100644 --- a/11_virtual_mem_part1_identity_mapping/src/time.rs +++ b/11_virtual_mem_part1_identity_mapping/src/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Timer primitives. diff --git a/12_exceptions_part1_groundwork/Makefile b/12_exceptions_part1_groundwork/Makefile index 5f49b1af..9254018c 100644 --- a/12_exceptions_part1_groundwork/Makefile +++ b/12_exceptions_part1_groundwork/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/12_exceptions_part1_groundwork/README.md b/12_exceptions_part1_groundwork/README.md index 21c0f0ee..f70a33c5 100644 --- a/12_exceptions_part1_groundwork/README.md +++ b/12_exceptions_part1_groundwork/README.md @@ -745,7 +745,7 @@ diff -uNr 11_virtual_mem_part1_identity_mapping/src/_arch/aarch64/exception.S 12 @@ -0,0 +1,138 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +/// Call the function provided by parameter `\handler` after saving the exception context. Provide +/// the context as the first parameter to '\handler'. diff --git a/12_exceptions_part1_groundwork/src/_arch/aarch64/cpu.rs b/12_exceptions_part1_groundwork/src/_arch/aarch64/cpu.rs index e546dd60..3846968b 100644 --- a/12_exceptions_part1_groundwork/src/_arch/aarch64/cpu.rs +++ b/12_exceptions_part1_groundwork/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/12_exceptions_part1_groundwork/src/_arch/aarch64/cpu/smp.rs b/12_exceptions_part1_groundwork/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/12_exceptions_part1_groundwork/src/_arch/aarch64/cpu/smp.rs +++ b/12_exceptions_part1_groundwork/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/12_exceptions_part1_groundwork/src/_arch/aarch64/exception.S b/12_exceptions_part1_groundwork/src/_arch/aarch64/exception.S index ee3b5497..4d125334 100644 --- a/12_exceptions_part1_groundwork/src/_arch/aarch64/exception.S +++ b/12_exceptions_part1_groundwork/src/_arch/aarch64/exception.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter /// Call the function provided by parameter `\handler` after saving the exception context. Provide /// the context as the first parameter to '\handler'. diff --git a/12_exceptions_part1_groundwork/src/_arch/aarch64/exception.rs b/12_exceptions_part1_groundwork/src/_arch/aarch64/exception.rs index d932445c..10d00354 100644 --- a/12_exceptions_part1_groundwork/src/_arch/aarch64/exception.rs +++ b/12_exceptions_part1_groundwork/src/_arch/aarch64/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural synchronous and asynchronous exception handling. diff --git a/12_exceptions_part1_groundwork/src/_arch/aarch64/exception/asynchronous.rs b/12_exceptions_part1_groundwork/src/_arch/aarch64/exception/asynchronous.rs index f660544c..445f490e 100644 --- a/12_exceptions_part1_groundwork/src/_arch/aarch64/exception/asynchronous.rs +++ b/12_exceptions_part1_groundwork/src/_arch/aarch64/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural asynchronous exception handling. diff --git a/12_exceptions_part1_groundwork/src/_arch/aarch64/memory/mmu.rs b/12_exceptions_part1_groundwork/src/_arch/aarch64/memory/mmu.rs index ff653a09..aeacbe8e 100644 --- a/12_exceptions_part1_groundwork/src/_arch/aarch64/memory/mmu.rs +++ b/12_exceptions_part1_groundwork/src/_arch/aarch64/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management Unit Driver. //! diff --git a/12_exceptions_part1_groundwork/src/_arch/aarch64/time.rs b/12_exceptions_part1_groundwork/src/_arch/aarch64/time.rs index af98ddd0..7f1bc696 100644 --- a/12_exceptions_part1_groundwork/src/_arch/aarch64/time.rs +++ b/12_exceptions_part1_groundwork/src/_arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural timer primitives. diff --git a/12_exceptions_part1_groundwork/src/bsp.rs b/12_exceptions_part1_groundwork/src/bsp.rs index 3a5657ad..25750249 100644 --- a/12_exceptions_part1_groundwork/src/bsp.rs +++ b/12_exceptions_part1_groundwork/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/12_exceptions_part1_groundwork/src/bsp/device_driver.rs b/12_exceptions_part1_groundwork/src/bsp/device_driver.rs index ce7396f2..2fcbc83e 100644 --- a/12_exceptions_part1_groundwork/src/bsp/device_driver.rs +++ b/12_exceptions_part1_groundwork/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm.rs b/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm.rs index 59071d5d..77613d26 100644 --- a/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm.rs +++ b/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index 15bd3b78..41d8b861 100644 --- a/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index e39bc7cd..66b73463 100644 --- a/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/12_exceptions_part1_groundwork/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/12_exceptions_part1_groundwork/src/bsp/device_driver/common.rs b/12_exceptions_part1_groundwork/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/12_exceptions_part1_groundwork/src/bsp/device_driver/common.rs +++ b/12_exceptions_part1_groundwork/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/12_exceptions_part1_groundwork/src/bsp/raspberrypi.rs b/12_exceptions_part1_groundwork/src/bsp/raspberrypi.rs index 10888d37..c0b639c9 100644 --- a/12_exceptions_part1_groundwork/src/bsp/raspberrypi.rs +++ b/12_exceptions_part1_groundwork/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/console.rs b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/console.rs index d1b60dd8..c6bb5263 100644 --- a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/console.rs +++ b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/cpu.rs b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/cpu.rs +++ b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/driver.rs b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/driver.rs index fe24dd71..ab910185 100644 --- a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/driver.rs +++ b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/link.ld b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/link.ld index 90d096ff..4dfe60c7 100644 --- a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/link.ld +++ b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/memory.rs b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/memory.rs index 810acd8a..9ab30232 100644 --- a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/memory.rs +++ b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/memory/mmu.rs b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/memory/mmu.rs index 5658ddb6..1114bcce 100644 --- a/12_exceptions_part1_groundwork/src/bsp/raspberrypi/memory/mmu.rs +++ b/12_exceptions_part1_groundwork/src/bsp/raspberrypi/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management Unit. diff --git a/12_exceptions_part1_groundwork/src/console.rs b/12_exceptions_part1_groundwork/src/console.rs index e6323a20..2d38cc1d 100644 --- a/12_exceptions_part1_groundwork/src/console.rs +++ b/12_exceptions_part1_groundwork/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/12_exceptions_part1_groundwork/src/cpu.rs b/12_exceptions_part1_groundwork/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/12_exceptions_part1_groundwork/src/cpu.rs +++ b/12_exceptions_part1_groundwork/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/12_exceptions_part1_groundwork/src/cpu/smp.rs b/12_exceptions_part1_groundwork/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/12_exceptions_part1_groundwork/src/cpu/smp.rs +++ b/12_exceptions_part1_groundwork/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/12_exceptions_part1_groundwork/src/driver.rs b/12_exceptions_part1_groundwork/src/driver.rs index e2875b87..6e8c5533 100644 --- a/12_exceptions_part1_groundwork/src/driver.rs +++ b/12_exceptions_part1_groundwork/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/12_exceptions_part1_groundwork/src/exception.rs b/12_exceptions_part1_groundwork/src/exception.rs index d2e62179..432c606b 100644 --- a/12_exceptions_part1_groundwork/src/exception.rs +++ b/12_exceptions_part1_groundwork/src/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronous and asynchronous exception handling. diff --git a/12_exceptions_part1_groundwork/src/exception/asynchronous.rs b/12_exceptions_part1_groundwork/src/exception/asynchronous.rs index 3c75f90a..fbdba957 100644 --- a/12_exceptions_part1_groundwork/src/exception/asynchronous.rs +++ b/12_exceptions_part1_groundwork/src/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Asynchronous exception handling. diff --git a/12_exceptions_part1_groundwork/src/main.rs b/12_exceptions_part1_groundwork/src/main.rs index 6f59108a..66a32d08 100644 --- a/12_exceptions_part1_groundwork/src/main.rs +++ b/12_exceptions_part1_groundwork/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/12_exceptions_part1_groundwork/src/memory.rs b/12_exceptions_part1_groundwork/src/memory.rs index 59236a12..e8cc752f 100644 --- a/12_exceptions_part1_groundwork/src/memory.rs +++ b/12_exceptions_part1_groundwork/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/12_exceptions_part1_groundwork/src/memory/mmu.rs b/12_exceptions_part1_groundwork/src/memory/mmu.rs index 25a18bf9..826cda6c 100644 --- a/12_exceptions_part1_groundwork/src/memory/mmu.rs +++ b/12_exceptions_part1_groundwork/src/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Memory Management Unit. //! diff --git a/12_exceptions_part1_groundwork/src/panic_wait.rs b/12_exceptions_part1_groundwork/src/panic_wait.rs index 1386e1e2..7980f5de 100644 --- a/12_exceptions_part1_groundwork/src/panic_wait.rs +++ b/12_exceptions_part1_groundwork/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/12_exceptions_part1_groundwork/src/print.rs b/12_exceptions_part1_groundwork/src/print.rs index 8b6f3f98..1ea96b6a 100644 --- a/12_exceptions_part1_groundwork/src/print.rs +++ b/12_exceptions_part1_groundwork/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/12_exceptions_part1_groundwork/src/runtime_init.rs b/12_exceptions_part1_groundwork/src/runtime_init.rs index 9de28595..ee094686 100644 --- a/12_exceptions_part1_groundwork/src/runtime_init.rs +++ b/12_exceptions_part1_groundwork/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/12_exceptions_part1_groundwork/src/synchronization.rs b/12_exceptions_part1_groundwork/src/synchronization.rs index 6de32807..f956b5cd 100644 --- a/12_exceptions_part1_groundwork/src/synchronization.rs +++ b/12_exceptions_part1_groundwork/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/12_exceptions_part1_groundwork/src/time.rs b/12_exceptions_part1_groundwork/src/time.rs index cd3ceec3..4f2f4e38 100644 --- a/12_exceptions_part1_groundwork/src/time.rs +++ b/12_exceptions_part1_groundwork/src/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Timer primitives. diff --git a/13_integrated_testing/Makefile b/13_integrated_testing/Makefile index ad567bb5..9f7ea9a3 100644 --- a/13_integrated_testing/Makefile +++ b/13_integrated_testing/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/13_integrated_testing/README.md b/13_integrated_testing/README.md index e9509fd7..3ecdc039 100644 --- a/13_integrated_testing/README.md +++ b/13_integrated_testing/README.md @@ -1133,7 +1133,7 @@ diff -uNr 12_exceptions_part1_groundwork/src/lib.rs 13_integrated_testing/src/li @@ -0,0 +1,170 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2020 Andre Richter ++// Copyright (c) 2018-2021 Andre Richter + +// Rust embedded logo for `make doc`. +#![doc(html_logo_url = "https://git.io/JeGIp")] @@ -1644,7 +1644,7 @@ diff -uNr 12_exceptions_part1_groundwork/test-macros/src/lib.rs 13_integrated_te @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019-2020 Andre Richter ++// Copyright (c) 2019-2021 Andre Richter + +use proc_macro::TokenStream; +use proc_macro2::Span; @@ -1680,7 +1680,7 @@ diff -uNr 12_exceptions_part1_groundwork/tests/00_console_sanity.rb 13_integrate + +# SPDX-License-Identifier: MIT OR Apache-2.0 +# -+# Copyright (c) 2019-2020 Andre Richter ++# Copyright (c) 2019-2021 Andre Richter + +require 'expect' + @@ -1733,7 +1733,7 @@ diff -uNr 12_exceptions_part1_groundwork/tests/00_console_sanity.rs 13_integrate @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019-2020 Andre Richter ++// Copyright (c) 2019-2021 Andre Richter + +//! Console sanity tests - RX, TX and statistics. + @@ -1774,7 +1774,7 @@ diff -uNr 12_exceptions_part1_groundwork/tests/01_timer_sanity.rs 13_integrated_ @@ -0,0 +1,50 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019-2020 Andre Richter ++// Copyright (c) 2019-2021 Andre Richter + +//! Timer sanity tests. + @@ -1829,7 +1829,7 @@ diff -uNr 12_exceptions_part1_groundwork/tests/02_exception_sync_page_fault.rs 1 @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019-2020 Andre Richter ++// Copyright (c) 2019-2021 Andre Richter + +//! Page faults must result in synchronous exceptions. + @@ -1878,7 +1878,7 @@ diff -uNr 12_exceptions_part1_groundwork/tests/panic_exit_failure/mod.rs 13_inte @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019-2020 Andre Richter ++// Copyright (c) 2019-2021 Andre Richter + +/// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version. +#[no_mangle] @@ -1892,7 +1892,7 @@ diff -uNr 12_exceptions_part1_groundwork/tests/panic_exit_success/mod.rs 13_inte @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019-2020 Andre Richter ++// Copyright (c) 2019-2021 Andre Richter + +/// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version. +#[no_mangle] @@ -1909,7 +1909,7 @@ diff -uNr 12_exceptions_part1_groundwork/tests/runner.rb 13_integrated_testing/t + +# SPDX-License-Identifier: MIT OR Apache-2.0 +# -+# Copyright (c) 2019-2020 Andre Richter ++# Copyright (c) 2019-2021 Andre Richter + +require 'English' +require 'pty' @@ -2064,7 +2064,7 @@ diff -uNr 12_exceptions_part1_groundwork/test-types/src/lib.rs 13_integrated_tes @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019-2020 Andre Richter ++// Copyright (c) 2019-2021 Andre Richter + +//! Types for the `custom_test_frameworks` implementation. + diff --git a/13_integrated_testing/src/_arch/aarch64/cpu.rs b/13_integrated_testing/src/_arch/aarch64/cpu.rs index 3e3ac706..491f17ca 100644 --- a/13_integrated_testing/src/_arch/aarch64/cpu.rs +++ b/13_integrated_testing/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/13_integrated_testing/src/_arch/aarch64/cpu/smp.rs b/13_integrated_testing/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/13_integrated_testing/src/_arch/aarch64/cpu/smp.rs +++ b/13_integrated_testing/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/13_integrated_testing/src/_arch/aarch64/exception.S b/13_integrated_testing/src/_arch/aarch64/exception.S index ee3b5497..4d125334 100644 --- a/13_integrated_testing/src/_arch/aarch64/exception.S +++ b/13_integrated_testing/src/_arch/aarch64/exception.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter /// Call the function provided by parameter `\handler` after saving the exception context. Provide /// the context as the first parameter to '\handler'. diff --git a/13_integrated_testing/src/_arch/aarch64/exception.rs b/13_integrated_testing/src/_arch/aarch64/exception.rs index 56f3e607..7070d814 100644 --- a/13_integrated_testing/src/_arch/aarch64/exception.rs +++ b/13_integrated_testing/src/_arch/aarch64/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural synchronous and asynchronous exception handling. diff --git a/13_integrated_testing/src/_arch/aarch64/exception/asynchronous.rs b/13_integrated_testing/src/_arch/aarch64/exception/asynchronous.rs index f660544c..445f490e 100644 --- a/13_integrated_testing/src/_arch/aarch64/exception/asynchronous.rs +++ b/13_integrated_testing/src/_arch/aarch64/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural asynchronous exception handling. diff --git a/13_integrated_testing/src/_arch/aarch64/memory/mmu.rs b/13_integrated_testing/src/_arch/aarch64/memory/mmu.rs index 1ccb3fd7..5061f600 100644 --- a/13_integrated_testing/src/_arch/aarch64/memory/mmu.rs +++ b/13_integrated_testing/src/_arch/aarch64/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management Unit Driver. //! diff --git a/13_integrated_testing/src/_arch/aarch64/time.rs b/13_integrated_testing/src/_arch/aarch64/time.rs index af98ddd0..7f1bc696 100644 --- a/13_integrated_testing/src/_arch/aarch64/time.rs +++ b/13_integrated_testing/src/_arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural timer primitives. diff --git a/13_integrated_testing/src/bsp.rs b/13_integrated_testing/src/bsp.rs index 3a5657ad..25750249 100644 --- a/13_integrated_testing/src/bsp.rs +++ b/13_integrated_testing/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/13_integrated_testing/src/bsp/device_driver.rs b/13_integrated_testing/src/bsp/device_driver.rs index ce7396f2..2fcbc83e 100644 --- a/13_integrated_testing/src/bsp/device_driver.rs +++ b/13_integrated_testing/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/13_integrated_testing/src/bsp/device_driver/bcm.rs b/13_integrated_testing/src/bsp/device_driver/bcm.rs index 59071d5d..77613d26 100644 --- a/13_integrated_testing/src/bsp/device_driver/bcm.rs +++ b/13_integrated_testing/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index 15bd3b78..41d8b861 100644 --- a/13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index e39bc7cd..66b73463 100644 --- a/13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/13_integrated_testing/src/bsp/device_driver/common.rs b/13_integrated_testing/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/13_integrated_testing/src/bsp/device_driver/common.rs +++ b/13_integrated_testing/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/13_integrated_testing/src/bsp/raspberrypi.rs b/13_integrated_testing/src/bsp/raspberrypi.rs index 10888d37..c0b639c9 100644 --- a/13_integrated_testing/src/bsp/raspberrypi.rs +++ b/13_integrated_testing/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/13_integrated_testing/src/bsp/raspberrypi/console.rs b/13_integrated_testing/src/bsp/raspberrypi/console.rs index 16b2f59b..d6f95e4e 100644 --- a/13_integrated_testing/src/bsp/raspberrypi/console.rs +++ b/13_integrated_testing/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/13_integrated_testing/src/bsp/raspberrypi/cpu.rs b/13_integrated_testing/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/13_integrated_testing/src/bsp/raspberrypi/cpu.rs +++ b/13_integrated_testing/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/13_integrated_testing/src/bsp/raspberrypi/driver.rs b/13_integrated_testing/src/bsp/raspberrypi/driver.rs index fe24dd71..ab910185 100644 --- a/13_integrated_testing/src/bsp/raspberrypi/driver.rs +++ b/13_integrated_testing/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/13_integrated_testing/src/bsp/raspberrypi/link.ld b/13_integrated_testing/src/bsp/raspberrypi/link.ld index 90d096ff..4dfe60c7 100644 --- a/13_integrated_testing/src/bsp/raspberrypi/link.ld +++ b/13_integrated_testing/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/13_integrated_testing/src/bsp/raspberrypi/memory.rs b/13_integrated_testing/src/bsp/raspberrypi/memory.rs index 810acd8a..9ab30232 100644 --- a/13_integrated_testing/src/bsp/raspberrypi/memory.rs +++ b/13_integrated_testing/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/13_integrated_testing/src/bsp/raspberrypi/memory/mmu.rs b/13_integrated_testing/src/bsp/raspberrypi/memory/mmu.rs index d5078b5a..d41de813 100644 --- a/13_integrated_testing/src/bsp/raspberrypi/memory/mmu.rs +++ b/13_integrated_testing/src/bsp/raspberrypi/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management Unit. diff --git a/13_integrated_testing/src/console.rs b/13_integrated_testing/src/console.rs index e6323a20..2d38cc1d 100644 --- a/13_integrated_testing/src/console.rs +++ b/13_integrated_testing/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/13_integrated_testing/src/cpu.rs b/13_integrated_testing/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/13_integrated_testing/src/cpu.rs +++ b/13_integrated_testing/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/13_integrated_testing/src/cpu/smp.rs b/13_integrated_testing/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/13_integrated_testing/src/cpu/smp.rs +++ b/13_integrated_testing/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/13_integrated_testing/src/driver.rs b/13_integrated_testing/src/driver.rs index e2875b87..6e8c5533 100644 --- a/13_integrated_testing/src/driver.rs +++ b/13_integrated_testing/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/13_integrated_testing/src/exception.rs b/13_integrated_testing/src/exception.rs index 81ea2b26..dfa852a8 100644 --- a/13_integrated_testing/src/exception.rs +++ b/13_integrated_testing/src/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronous and asynchronous exception handling. diff --git a/13_integrated_testing/src/exception/asynchronous.rs b/13_integrated_testing/src/exception/asynchronous.rs index 3c75f90a..fbdba957 100644 --- a/13_integrated_testing/src/exception/asynchronous.rs +++ b/13_integrated_testing/src/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Asynchronous exception handling. diff --git a/13_integrated_testing/src/lib.rs b/13_integrated_testing/src/lib.rs index 19e6f24f..8e60240f 100644 --- a/13_integrated_testing/src/lib.rs +++ b/13_integrated_testing/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/13_integrated_testing/src/main.rs b/13_integrated_testing/src/main.rs index 25017205..989bd045 100644 --- a/13_integrated_testing/src/main.rs +++ b/13_integrated_testing/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/13_integrated_testing/src/memory.rs b/13_integrated_testing/src/memory.rs index 32353d4f..1ef0285a 100644 --- a/13_integrated_testing/src/memory.rs +++ b/13_integrated_testing/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/13_integrated_testing/src/memory/mmu.rs b/13_integrated_testing/src/memory/mmu.rs index 39f3ef3c..163419ec 100644 --- a/13_integrated_testing/src/memory/mmu.rs +++ b/13_integrated_testing/src/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Memory Management Unit. //! diff --git a/13_integrated_testing/src/panic_wait.rs b/13_integrated_testing/src/panic_wait.rs index 218c0a88..76438a9b 100644 --- a/13_integrated_testing/src/panic_wait.rs +++ b/13_integrated_testing/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/13_integrated_testing/src/print.rs b/13_integrated_testing/src/print.rs index 8b6f3f98..1ea96b6a 100644 --- a/13_integrated_testing/src/print.rs +++ b/13_integrated_testing/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/13_integrated_testing/src/runtime_init.rs b/13_integrated_testing/src/runtime_init.rs index 1306578d..0a1c685c 100644 --- a/13_integrated_testing/src/runtime_init.rs +++ b/13_integrated_testing/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/13_integrated_testing/src/synchronization.rs b/13_integrated_testing/src/synchronization.rs index 6de32807..f956b5cd 100644 --- a/13_integrated_testing/src/synchronization.rs +++ b/13_integrated_testing/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/13_integrated_testing/src/time.rs b/13_integrated_testing/src/time.rs index cd3ceec3..4f2f4e38 100644 --- a/13_integrated_testing/src/time.rs +++ b/13_integrated_testing/src/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Timer primitives. diff --git a/13_integrated_testing/test-macros/src/lib.rs b/13_integrated_testing/test-macros/src/lib.rs index 092c4806..36c95e8a 100644 --- a/13_integrated_testing/test-macros/src/lib.rs +++ b/13_integrated_testing/test-macros/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter use proc_macro::TokenStream; use proc_macro2::Span; diff --git a/13_integrated_testing/test-types/src/lib.rs b/13_integrated_testing/test-types/src/lib.rs index 371bb557..fe7d918f 100644 --- a/13_integrated_testing/test-types/src/lib.rs +++ b/13_integrated_testing/test-types/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Types for the `custom_test_frameworks` implementation. diff --git a/13_integrated_testing/tests/00_console_sanity.rb b/13_integrated_testing/tests/00_console_sanity.rb index a6b549b2..dfd6b16e 100644 --- a/13_integrated_testing/tests/00_console_sanity.rb +++ b/13_integrated_testing/tests/00_console_sanity.rb @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2019-2020 Andre Richter +# Copyright (c) 2019-2021 Andre Richter require 'expect' diff --git a/13_integrated_testing/tests/00_console_sanity.rs b/13_integrated_testing/tests/00_console_sanity.rs index 5aa38f09..08b654ae 100644 --- a/13_integrated_testing/tests/00_console_sanity.rs +++ b/13_integrated_testing/tests/00_console_sanity.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Console sanity tests - RX, TX and statistics. diff --git a/13_integrated_testing/tests/01_timer_sanity.rs b/13_integrated_testing/tests/01_timer_sanity.rs index e0b3c162..52dca0fc 100644 --- a/13_integrated_testing/tests/01_timer_sanity.rs +++ b/13_integrated_testing/tests/01_timer_sanity.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Timer sanity tests. diff --git a/13_integrated_testing/tests/02_exception_sync_page_fault.rs b/13_integrated_testing/tests/02_exception_sync_page_fault.rs index 64fc5486..bf2ba29f 100644 --- a/13_integrated_testing/tests/02_exception_sync_page_fault.rs +++ b/13_integrated_testing/tests/02_exception_sync_page_fault.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Page faults must result in synchronous exceptions. diff --git a/13_integrated_testing/tests/panic_exit_failure/mod.rs b/13_integrated_testing/tests/panic_exit_failure/mod.rs index b4ac73d1..af2ba378 100644 --- a/13_integrated_testing/tests/panic_exit_failure/mod.rs +++ b/13_integrated_testing/tests/panic_exit_failure/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter /// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version. #[no_mangle] diff --git a/13_integrated_testing/tests/panic_exit_success/mod.rs b/13_integrated_testing/tests/panic_exit_success/mod.rs index 54bb072d..29d1f975 100644 --- a/13_integrated_testing/tests/panic_exit_success/mod.rs +++ b/13_integrated_testing/tests/panic_exit_success/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter /// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version. #[no_mangle] diff --git a/13_integrated_testing/tests/runner.rb b/13_integrated_testing/tests/runner.rb index 2a0aa393..53116e08 100755 --- a/13_integrated_testing/tests/runner.rb +++ b/13_integrated_testing/tests/runner.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2019-2020 Andre Richter +# Copyright (c) 2019-2021 Andre Richter require 'English' require 'pty' diff --git a/14_exceptions_part2_peripheral_IRQs/Makefile b/14_exceptions_part2_peripheral_IRQs/Makefile index 58361af8..4f7561db 100644 --- a/14_exceptions_part2_peripheral_IRQs/Makefile +++ b/14_exceptions_part2_peripheral_IRQs/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/14_exceptions_part2_peripheral_IRQs/README.md b/14_exceptions_part2_peripheral_IRQs/README.md index e3fa7e51..58e1bf22 100644 --- a/14_exceptions_part2_peripheral_IRQs/README.md +++ b/14_exceptions_part2_peripheral_IRQs/README.md @@ -878,7 +878,7 @@ diff -uNr 13_integrated_testing/src/bsp/device_driver/arm/gicv2/gicc.rs 14_excep @@ -0,0 +1,137 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! GICC Driver - GIC CPU interface. + @@ -1020,7 +1020,7 @@ diff -uNr 13_integrated_testing/src/bsp/device_driver/arm/gicv2/gicd.rs 14_excep @@ -0,0 +1,195 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! GICD Driver - GIC Distributor. +//! @@ -1220,7 +1220,7 @@ diff -uNr 13_integrated_testing/src/bsp/device_driver/arm/gicv2.rs 14_exceptions @@ -0,0 +1,219 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! GICv2 Driver - ARM Generic Interrupt Controller v2. +//! @@ -1444,7 +1444,7 @@ diff -uNr 13_integrated_testing/src/bsp/device_driver/arm.rs 14_exceptions_part2 @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! ARM driver top level. + @@ -1489,7 +1489,7 @@ diff -uNr 13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_interrupt_cont @@ -0,0 +1,163 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! Peripheral Interrupt regsler Driver. + @@ -1657,7 +1657,7 @@ diff -uNr 13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_interrupt_cont @@ -0,0 +1,131 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! Interrupt Controller Driver. + @@ -2095,7 +2095,7 @@ diff -uNr 13_integrated_testing/src/bsp/raspberrypi/exception/asynchronous.rs 14 @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! BSP asynchronous exception handling. + @@ -2136,7 +2136,7 @@ diff -uNr 13_integrated_testing/src/bsp/raspberrypi/exception.rs 14_exceptions_p @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! BSP synchronous and asynchronous exception handling. + @@ -2511,7 +2511,7 @@ diff -uNr 13_integrated_testing/src/state.rs 14_exceptions_part2_peripheral_IRQs @@ -0,0 +1,92 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! State information about the kernel itself. + @@ -2725,7 +2725,7 @@ diff -uNr 13_integrated_testing/tests/03_exception_irq_sanity.rs 14_exceptions_p @@ -0,0 +1,68 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! IRQ handling sanity tests. + diff --git a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/cpu.rs b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/cpu.rs index 3e3ac706..491f17ca 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/cpu.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/cpu/smp.rs b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/cpu/smp.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception.S b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception.S index ee3b5497..4d125334 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception.S +++ b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter /// Call the function provided by parameter `\handler` after saving the exception context. Provide /// the context as the first parameter to '\handler'. diff --git a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception.rs b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception.rs index a4451cde..99fbd85b 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural synchronous and asynchronous exception handling. diff --git a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception/asynchronous.rs b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception/asynchronous.rs index df6a5c3f..968eedf3 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception/asynchronous.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural asynchronous exception handling. diff --git a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/memory/mmu.rs b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/memory/mmu.rs index 1ccb3fd7..5061f600 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/memory/mmu.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management Unit Driver. //! diff --git a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/time.rs b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/time.rs index af98ddd0..7f1bc696 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/time.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/_arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural timer primitives. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp.rs index 3a5657ad..25750249 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver.rs index 3fe1fa55..eac6bdd1 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm.rs index 6d9d3bdf..0bb1bd4b 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! ARM driver top level. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2.rs index 9981b979..edbc4166 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! GICv2 Driver - ARM Generic Interrupt Controller v2. //! diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2/gicc.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2/gicc.rs index c6708cdc..424bafba 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2/gicc.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2/gicc.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! GICC Driver - GIC CPU interface. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2/gicd.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2/gicd.rs index 35f7eecd..32c42808 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2/gicd.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/arm/gicv2/gicd.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! GICD Driver - GIC Distributor. //! diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm.rs index 5e4c9e70..01bcaa89 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index 88e68be1..aaf9e1ca 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller.rs index 6b11224b..dbe9988e 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Interrupt Controller Driver. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs index 94af8d74..79814d8c 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Peripheral Interrupt regsler Driver. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index 3207539c..29bf95c1 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/common.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/common.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi.rs index 25af58d6..a2e2fa9a 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/console.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/console.rs index 16b2f59b..d6f95e4e 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/console.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/cpu.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/cpu.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/driver.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/driver.rs index 0b2348fb..58949a81 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/driver.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/exception.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/exception.rs index 55e82119..94d0728f 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/exception.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! BSP synchronous and asynchronous exception handling. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/exception/asynchronous.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/exception/asynchronous.rs index 787d5926..a253daa9 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/exception/asynchronous.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! BSP asynchronous exception handling. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/link.ld b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/link.ld index 90d096ff..4dfe60c7 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/link.ld +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/memory.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/memory.rs index 8cb07905..44c20e2c 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/memory.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/memory/mmu.rs b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/memory/mmu.rs index d5078b5a..d41de813 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/memory/mmu.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management Unit. diff --git a/14_exceptions_part2_peripheral_IRQs/src/console.rs b/14_exceptions_part2_peripheral_IRQs/src/console.rs index e6323a20..2d38cc1d 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/console.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/14_exceptions_part2_peripheral_IRQs/src/cpu.rs b/14_exceptions_part2_peripheral_IRQs/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/cpu.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/14_exceptions_part2_peripheral_IRQs/src/cpu/smp.rs b/14_exceptions_part2_peripheral_IRQs/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/cpu/smp.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/14_exceptions_part2_peripheral_IRQs/src/driver.rs b/14_exceptions_part2_peripheral_IRQs/src/driver.rs index b7d44dad..380eace5 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/driver.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/14_exceptions_part2_peripheral_IRQs/src/exception.rs b/14_exceptions_part2_peripheral_IRQs/src/exception.rs index 81ea2b26..dfa852a8 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/exception.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronous and asynchronous exception handling. diff --git a/14_exceptions_part2_peripheral_IRQs/src/exception/asynchronous.rs b/14_exceptions_part2_peripheral_IRQs/src/exception/asynchronous.rs index 1a3902a3..c16ce007 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/exception/asynchronous.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Asynchronous exception handling. diff --git a/14_exceptions_part2_peripheral_IRQs/src/lib.rs b/14_exceptions_part2_peripheral_IRQs/src/lib.rs index 100ed3f1..141adc3a 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/lib.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/14_exceptions_part2_peripheral_IRQs/src/main.rs b/14_exceptions_part2_peripheral_IRQs/src/main.rs index 73779613..6a21c8d4 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/main.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/14_exceptions_part2_peripheral_IRQs/src/memory.rs b/14_exceptions_part2_peripheral_IRQs/src/memory.rs index 32353d4f..1ef0285a 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/memory.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/14_exceptions_part2_peripheral_IRQs/src/memory/mmu.rs b/14_exceptions_part2_peripheral_IRQs/src/memory/mmu.rs index 39f3ef3c..163419ec 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/memory/mmu.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Memory Management Unit. //! diff --git a/14_exceptions_part2_peripheral_IRQs/src/panic_wait.rs b/14_exceptions_part2_peripheral_IRQs/src/panic_wait.rs index 52a89d17..0b724abd 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/panic_wait.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/14_exceptions_part2_peripheral_IRQs/src/print.rs b/14_exceptions_part2_peripheral_IRQs/src/print.rs index 8b6f3f98..1ea96b6a 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/print.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/14_exceptions_part2_peripheral_IRQs/src/runtime_init.rs b/14_exceptions_part2_peripheral_IRQs/src/runtime_init.rs index 1306578d..0a1c685c 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/runtime_init.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/14_exceptions_part2_peripheral_IRQs/src/state.rs b/14_exceptions_part2_peripheral_IRQs/src/state.rs index af1d9348..d08e67d6 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/state.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/state.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! State information about the kernel itself. diff --git a/14_exceptions_part2_peripheral_IRQs/src/synchronization.rs b/14_exceptions_part2_peripheral_IRQs/src/synchronization.rs index 039df47a..6133826e 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/synchronization.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/14_exceptions_part2_peripheral_IRQs/src/time.rs b/14_exceptions_part2_peripheral_IRQs/src/time.rs index cd3ceec3..4f2f4e38 100644 --- a/14_exceptions_part2_peripheral_IRQs/src/time.rs +++ b/14_exceptions_part2_peripheral_IRQs/src/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Timer primitives. diff --git a/14_exceptions_part2_peripheral_IRQs/test-macros/src/lib.rs b/14_exceptions_part2_peripheral_IRQs/test-macros/src/lib.rs index 092c4806..36c95e8a 100644 --- a/14_exceptions_part2_peripheral_IRQs/test-macros/src/lib.rs +++ b/14_exceptions_part2_peripheral_IRQs/test-macros/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter use proc_macro::TokenStream; use proc_macro2::Span; diff --git a/14_exceptions_part2_peripheral_IRQs/test-types/src/lib.rs b/14_exceptions_part2_peripheral_IRQs/test-types/src/lib.rs index 371bb557..fe7d918f 100644 --- a/14_exceptions_part2_peripheral_IRQs/test-types/src/lib.rs +++ b/14_exceptions_part2_peripheral_IRQs/test-types/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Types for the `custom_test_frameworks` implementation. diff --git a/14_exceptions_part2_peripheral_IRQs/tests/00_console_sanity.rb b/14_exceptions_part2_peripheral_IRQs/tests/00_console_sanity.rb index a6b549b2..dfd6b16e 100644 --- a/14_exceptions_part2_peripheral_IRQs/tests/00_console_sanity.rb +++ b/14_exceptions_part2_peripheral_IRQs/tests/00_console_sanity.rb @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2019-2020 Andre Richter +# Copyright (c) 2019-2021 Andre Richter require 'expect' diff --git a/14_exceptions_part2_peripheral_IRQs/tests/00_console_sanity.rs b/14_exceptions_part2_peripheral_IRQs/tests/00_console_sanity.rs index 5aa38f09..08b654ae 100644 --- a/14_exceptions_part2_peripheral_IRQs/tests/00_console_sanity.rs +++ b/14_exceptions_part2_peripheral_IRQs/tests/00_console_sanity.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Console sanity tests - RX, TX and statistics. diff --git a/14_exceptions_part2_peripheral_IRQs/tests/01_timer_sanity.rs b/14_exceptions_part2_peripheral_IRQs/tests/01_timer_sanity.rs index e0b3c162..52dca0fc 100644 --- a/14_exceptions_part2_peripheral_IRQs/tests/01_timer_sanity.rs +++ b/14_exceptions_part2_peripheral_IRQs/tests/01_timer_sanity.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Timer sanity tests. diff --git a/14_exceptions_part2_peripheral_IRQs/tests/02_exception_sync_page_fault.rs b/14_exceptions_part2_peripheral_IRQs/tests/02_exception_sync_page_fault.rs index 64fc5486..bf2ba29f 100644 --- a/14_exceptions_part2_peripheral_IRQs/tests/02_exception_sync_page_fault.rs +++ b/14_exceptions_part2_peripheral_IRQs/tests/02_exception_sync_page_fault.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Page faults must result in synchronous exceptions. diff --git a/14_exceptions_part2_peripheral_IRQs/tests/03_exception_irq_sanity.rs b/14_exceptions_part2_peripheral_IRQs/tests/03_exception_irq_sanity.rs index 6e2ae8f7..1f3bb770 100644 --- a/14_exceptions_part2_peripheral_IRQs/tests/03_exception_irq_sanity.rs +++ b/14_exceptions_part2_peripheral_IRQs/tests/03_exception_irq_sanity.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! IRQ handling sanity tests. diff --git a/14_exceptions_part2_peripheral_IRQs/tests/panic_exit_failure/mod.rs b/14_exceptions_part2_peripheral_IRQs/tests/panic_exit_failure/mod.rs index b4ac73d1..af2ba378 100644 --- a/14_exceptions_part2_peripheral_IRQs/tests/panic_exit_failure/mod.rs +++ b/14_exceptions_part2_peripheral_IRQs/tests/panic_exit_failure/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter /// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version. #[no_mangle] diff --git a/14_exceptions_part2_peripheral_IRQs/tests/panic_exit_success/mod.rs b/14_exceptions_part2_peripheral_IRQs/tests/panic_exit_success/mod.rs index 54bb072d..29d1f975 100644 --- a/14_exceptions_part2_peripheral_IRQs/tests/panic_exit_success/mod.rs +++ b/14_exceptions_part2_peripheral_IRQs/tests/panic_exit_success/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter /// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version. #[no_mangle] diff --git a/14_exceptions_part2_peripheral_IRQs/tests/runner.rb b/14_exceptions_part2_peripheral_IRQs/tests/runner.rb index 2a0aa393..53116e08 100755 --- a/14_exceptions_part2_peripheral_IRQs/tests/runner.rb +++ b/14_exceptions_part2_peripheral_IRQs/tests/runner.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2019-2020 Andre Richter +# Copyright (c) 2019-2021 Andre Richter require 'English' require 'pty' diff --git a/15_virtual_mem_part2_mmio_remap/Makefile b/15_virtual_mem_part2_mmio_remap/Makefile index 58361af8..4f7561db 100644 --- a/15_virtual_mem_part2_mmio_remap/Makefile +++ b/15_virtual_mem_part2_mmio_remap/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/15_virtual_mem_part2_mmio_remap/README.md b/15_virtual_mem_part2_mmio_remap/README.md index 312bb5f1..f7a9b192 100644 --- a/15_virtual_mem_part2_mmio_remap/README.md +++ b/15_virtual_mem_part2_mmio_remap/README.md @@ -1140,7 +1140,7 @@ diff -uNr 14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm/bcm2xxx_ +++ 15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs @@ -2,12 +2,14 @@ // - // Copyright (c) 2020 Andre Richter + // Copyright (c) 2020-2021 Andre Richter -//! Peripheral Interrupt regsler Driver. +//! Peripheral Interrupt Controller Driver. @@ -1695,7 +1695,7 @@ diff -uNr 14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/memory.rs 15_v --- 14_exceptions_part2_peripheral_IRQs/src/bsp/raspberrypi/memory.rs +++ 15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/memory.rs @@ -3,9 +3,41 @@ - // Copyright (c) 2018-2020 Andre Richter + // Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. +//! @@ -1943,7 +1943,7 @@ diff -uNr 14_exceptions_part2_peripheral_IRQs/src/common.rs 15_virtual_mem_part2 @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! General purpose code. + @@ -2089,7 +2089,7 @@ diff -uNr 14_exceptions_part2_peripheral_IRQs/src/memory/mmu/mapping_record.rs 1 @@ -0,0 +1,221 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! A record of mapped pages. + @@ -2315,7 +2315,7 @@ diff -uNr 14_exceptions_part2_peripheral_IRQs/src/memory/mmu/types.rs 15_virtual @@ -0,0 +1,283 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2020 Andre Richter ++// Copyright (c) 2020-2021 Andre Richter + +//! Memory Management Unit Types. + @@ -2601,7 +2601,7 @@ diff -uNr 14_exceptions_part2_peripheral_IRQs/src/memory/mmu.rs 15_virtual_mem_p --- 14_exceptions_part2_peripheral_IRQs/src/memory/mmu.rs +++ 15_virtual_mem_part2_mmio_remap/src/memory/mmu.rs @@ -3,23 +3,18 @@ - // Copyright (c) 2020 Andre Richter + // Copyright (c) 2020-2021 Andre Richter //! Memory Management Unit. -//! diff --git a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/cpu.rs b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/cpu.rs index d8bcc895..6ecea182 100644 --- a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/cpu.rs +++ b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/cpu/smp.rs b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/cpu/smp.rs +++ b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception.S b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception.S index ee3b5497..4d125334 100644 --- a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception.S +++ b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter /// Call the function provided by parameter `\handler` after saving the exception context. Provide /// the context as the first parameter to '\handler'. diff --git a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception.rs b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception.rs index a4451cde..99fbd85b 100644 --- a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception.rs +++ b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural synchronous and asynchronous exception handling. diff --git a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception/asynchronous.rs b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception/asynchronous.rs index df6a5c3f..968eedf3 100644 --- a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception/asynchronous.rs +++ b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural asynchronous exception handling. diff --git a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/memory/mmu.rs b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/memory/mmu.rs index cf0989be..0e45185e 100644 --- a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/memory/mmu.rs +++ b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management Unit Driver. //! diff --git a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/time.rs b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/time.rs index e9b0234d..a2c57eb0 100644 --- a/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/time.rs +++ b/15_virtual_mem_part2_mmio_remap/src/_arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural timer primitives. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp.rs b/15_virtual_mem_part2_mmio_remap/src/bsp.rs index 3a5657ad..25750249 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver.rs index 3fe1fa55..eac6bdd1 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm.rs index 6d9d3bdf..0bb1bd4b 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! ARM driver top level. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2.rs index 9b23af35..e7a37697 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! GICv2 Driver - ARM Generic Interrupt Controller v2. //! diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2/gicc.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2/gicc.rs index ee1b6408..a1279f95 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2/gicc.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2/gicc.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! GICC Driver - GIC CPU interface. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2/gicd.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2/gicd.rs index f221e724..5f56e54a 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2/gicd.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/arm/gicv2/gicd.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! GICD Driver - GIC Distributor. //! diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm.rs index 5e4c9e70..01bcaa89 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index 680ad4cb..c1fa1d14 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller.rs index d6ecf677..dfc5b66e 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Interrupt Controller Driver. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs index 35cf7c1d..8fe915b3 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_interrupt_controller/peripheral_ic.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Peripheral Interrupt Controller Driver. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index 37433174..c2354d43 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/common.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/common.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi.rs index 7ffb7249..10d48278 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/console.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/console.rs index c5d0e05a..f63a9e9b 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/console.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/cpu.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/cpu.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/driver.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/driver.rs index 313b957e..4d5007e4 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/driver.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/exception.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/exception.rs index 55e82119..94d0728f 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/exception.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! BSP synchronous and asynchronous exception handling. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/exception/asynchronous.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/exception/asynchronous.rs index 787d5926..a253daa9 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/exception/asynchronous.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! BSP asynchronous exception handling. diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/link.ld b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/link.ld index ae5c2819..e5975256 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/link.ld +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/memory.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/memory.rs index 5c05e208..9d359cb7 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/memory.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. //! diff --git a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/memory/mmu.rs b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/memory/mmu.rs index 41f55941..fc16c87c 100644 --- a/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/memory/mmu.rs +++ b/15_virtual_mem_part2_mmio_remap/src/bsp/raspberrypi/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management Unit. diff --git a/15_virtual_mem_part2_mmio_remap/src/common.rs b/15_virtual_mem_part2_mmio_remap/src/common.rs index 58209804..71443cfb 100644 --- a/15_virtual_mem_part2_mmio_remap/src/common.rs +++ b/15_virtual_mem_part2_mmio_remap/src/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! General purpose code. diff --git a/15_virtual_mem_part2_mmio_remap/src/console.rs b/15_virtual_mem_part2_mmio_remap/src/console.rs index e6323a20..2d38cc1d 100644 --- a/15_virtual_mem_part2_mmio_remap/src/console.rs +++ b/15_virtual_mem_part2_mmio_remap/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/15_virtual_mem_part2_mmio_remap/src/cpu.rs b/15_virtual_mem_part2_mmio_remap/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/15_virtual_mem_part2_mmio_remap/src/cpu.rs +++ b/15_virtual_mem_part2_mmio_remap/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/15_virtual_mem_part2_mmio_remap/src/cpu/smp.rs b/15_virtual_mem_part2_mmio_remap/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/15_virtual_mem_part2_mmio_remap/src/cpu/smp.rs +++ b/15_virtual_mem_part2_mmio_remap/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/15_virtual_mem_part2_mmio_remap/src/driver.rs b/15_virtual_mem_part2_mmio_remap/src/driver.rs index b6875b7f..83fac4a7 100644 --- a/15_virtual_mem_part2_mmio_remap/src/driver.rs +++ b/15_virtual_mem_part2_mmio_remap/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/15_virtual_mem_part2_mmio_remap/src/exception.rs b/15_virtual_mem_part2_mmio_remap/src/exception.rs index 81ea2b26..dfa852a8 100644 --- a/15_virtual_mem_part2_mmio_remap/src/exception.rs +++ b/15_virtual_mem_part2_mmio_remap/src/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronous and asynchronous exception handling. diff --git a/15_virtual_mem_part2_mmio_remap/src/exception/asynchronous.rs b/15_virtual_mem_part2_mmio_remap/src/exception/asynchronous.rs index 1a3902a3..c16ce007 100644 --- a/15_virtual_mem_part2_mmio_remap/src/exception/asynchronous.rs +++ b/15_virtual_mem_part2_mmio_remap/src/exception/asynchronous.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Asynchronous exception handling. diff --git a/15_virtual_mem_part2_mmio_remap/src/lib.rs b/15_virtual_mem_part2_mmio_remap/src/lib.rs index 50789867..9ff2a50c 100644 --- a/15_virtual_mem_part2_mmio_remap/src/lib.rs +++ b/15_virtual_mem_part2_mmio_remap/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/15_virtual_mem_part2_mmio_remap/src/main.rs b/15_virtual_mem_part2_mmio_remap/src/main.rs index d693bee6..11bb6902 100644 --- a/15_virtual_mem_part2_mmio_remap/src/main.rs +++ b/15_virtual_mem_part2_mmio_remap/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/15_virtual_mem_part2_mmio_remap/src/memory.rs b/15_virtual_mem_part2_mmio_remap/src/memory.rs index 32353d4f..1ef0285a 100644 --- a/15_virtual_mem_part2_mmio_remap/src/memory.rs +++ b/15_virtual_mem_part2_mmio_remap/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/15_virtual_mem_part2_mmio_remap/src/memory/mmu.rs b/15_virtual_mem_part2_mmio_remap/src/memory/mmu.rs index 778fd646..9204874a 100644 --- a/15_virtual_mem_part2_mmio_remap/src/memory/mmu.rs +++ b/15_virtual_mem_part2_mmio_remap/src/memory/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Memory Management Unit. diff --git a/15_virtual_mem_part2_mmio_remap/src/memory/mmu/mapping_record.rs b/15_virtual_mem_part2_mmio_remap/src/memory/mmu/mapping_record.rs index f46e629e..cd337808 100644 --- a/15_virtual_mem_part2_mmio_remap/src/memory/mmu/mapping_record.rs +++ b/15_virtual_mem_part2_mmio_remap/src/memory/mmu/mapping_record.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! A record of mapped pages. diff --git a/15_virtual_mem_part2_mmio_remap/src/memory/mmu/types.rs b/15_virtual_mem_part2_mmio_remap/src/memory/mmu/types.rs index d0098f6f..cea7bb39 100644 --- a/15_virtual_mem_part2_mmio_remap/src/memory/mmu/types.rs +++ b/15_virtual_mem_part2_mmio_remap/src/memory/mmu/types.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Memory Management Unit Types. diff --git a/15_virtual_mem_part2_mmio_remap/src/panic_wait.rs b/15_virtual_mem_part2_mmio_remap/src/panic_wait.rs index 52a89d17..0b724abd 100644 --- a/15_virtual_mem_part2_mmio_remap/src/panic_wait.rs +++ b/15_virtual_mem_part2_mmio_remap/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/15_virtual_mem_part2_mmio_remap/src/print.rs b/15_virtual_mem_part2_mmio_remap/src/print.rs index 8b6f3f98..1ea96b6a 100644 --- a/15_virtual_mem_part2_mmio_remap/src/print.rs +++ b/15_virtual_mem_part2_mmio_remap/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/15_virtual_mem_part2_mmio_remap/src/runtime_init.rs b/15_virtual_mem_part2_mmio_remap/src/runtime_init.rs index 1306578d..0a1c685c 100644 --- a/15_virtual_mem_part2_mmio_remap/src/runtime_init.rs +++ b/15_virtual_mem_part2_mmio_remap/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/15_virtual_mem_part2_mmio_remap/src/state.rs b/15_virtual_mem_part2_mmio_remap/src/state.rs index af1d9348..d08e67d6 100644 --- a/15_virtual_mem_part2_mmio_remap/src/state.rs +++ b/15_virtual_mem_part2_mmio_remap/src/state.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! State information about the kernel itself. diff --git a/15_virtual_mem_part2_mmio_remap/src/synchronization.rs b/15_virtual_mem_part2_mmio_remap/src/synchronization.rs index 039df47a..6133826e 100644 --- a/15_virtual_mem_part2_mmio_remap/src/synchronization.rs +++ b/15_virtual_mem_part2_mmio_remap/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/15_virtual_mem_part2_mmio_remap/src/time.rs b/15_virtual_mem_part2_mmio_remap/src/time.rs index cd3ceec3..4f2f4e38 100644 --- a/15_virtual_mem_part2_mmio_remap/src/time.rs +++ b/15_virtual_mem_part2_mmio_remap/src/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Timer primitives. diff --git a/15_virtual_mem_part2_mmio_remap/test-macros/src/lib.rs b/15_virtual_mem_part2_mmio_remap/test-macros/src/lib.rs index 092c4806..36c95e8a 100644 --- a/15_virtual_mem_part2_mmio_remap/test-macros/src/lib.rs +++ b/15_virtual_mem_part2_mmio_remap/test-macros/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter use proc_macro::TokenStream; use proc_macro2::Span; diff --git a/15_virtual_mem_part2_mmio_remap/test-types/src/lib.rs b/15_virtual_mem_part2_mmio_remap/test-types/src/lib.rs index 371bb557..fe7d918f 100644 --- a/15_virtual_mem_part2_mmio_remap/test-types/src/lib.rs +++ b/15_virtual_mem_part2_mmio_remap/test-types/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Types for the `custom_test_frameworks` implementation. diff --git a/15_virtual_mem_part2_mmio_remap/tests/00_console_sanity.rb b/15_virtual_mem_part2_mmio_remap/tests/00_console_sanity.rb index a6b549b2..dfd6b16e 100644 --- a/15_virtual_mem_part2_mmio_remap/tests/00_console_sanity.rb +++ b/15_virtual_mem_part2_mmio_remap/tests/00_console_sanity.rb @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2019-2020 Andre Richter +# Copyright (c) 2019-2021 Andre Richter require 'expect' diff --git a/15_virtual_mem_part2_mmio_remap/tests/00_console_sanity.rs b/15_virtual_mem_part2_mmio_remap/tests/00_console_sanity.rs index 5aa38f09..08b654ae 100644 --- a/15_virtual_mem_part2_mmio_remap/tests/00_console_sanity.rs +++ b/15_virtual_mem_part2_mmio_remap/tests/00_console_sanity.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Console sanity tests - RX, TX and statistics. diff --git a/15_virtual_mem_part2_mmio_remap/tests/01_timer_sanity.rs b/15_virtual_mem_part2_mmio_remap/tests/01_timer_sanity.rs index e0b3c162..52dca0fc 100644 --- a/15_virtual_mem_part2_mmio_remap/tests/01_timer_sanity.rs +++ b/15_virtual_mem_part2_mmio_remap/tests/01_timer_sanity.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Timer sanity tests. diff --git a/15_virtual_mem_part2_mmio_remap/tests/02_exception_sync_page_fault.rs b/15_virtual_mem_part2_mmio_remap/tests/02_exception_sync_page_fault.rs index 0e219a8f..858357a4 100644 --- a/15_virtual_mem_part2_mmio_remap/tests/02_exception_sync_page_fault.rs +++ b/15_virtual_mem_part2_mmio_remap/tests/02_exception_sync_page_fault.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter //! Page faults must result in synchronous exceptions. diff --git a/15_virtual_mem_part2_mmio_remap/tests/03_exception_irq_sanity.rs b/15_virtual_mem_part2_mmio_remap/tests/03_exception_irq_sanity.rs index 6e2ae8f7..1f3bb770 100644 --- a/15_virtual_mem_part2_mmio_remap/tests/03_exception_irq_sanity.rs +++ b/15_virtual_mem_part2_mmio_remap/tests/03_exception_irq_sanity.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! IRQ handling sanity tests. diff --git a/15_virtual_mem_part2_mmio_remap/tests/panic_exit_failure/mod.rs b/15_virtual_mem_part2_mmio_remap/tests/panic_exit_failure/mod.rs index b4ac73d1..af2ba378 100644 --- a/15_virtual_mem_part2_mmio_remap/tests/panic_exit_failure/mod.rs +++ b/15_virtual_mem_part2_mmio_remap/tests/panic_exit_failure/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter /// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version. #[no_mangle] diff --git a/15_virtual_mem_part2_mmio_remap/tests/panic_exit_success/mod.rs b/15_virtual_mem_part2_mmio_remap/tests/panic_exit_success/mod.rs index 54bb072d..29d1f975 100644 --- a/15_virtual_mem_part2_mmio_remap/tests/panic_exit_success/mod.rs +++ b/15_virtual_mem_part2_mmio_remap/tests/panic_exit_success/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019-2020 Andre Richter +// Copyright (c) 2019-2021 Andre Richter /// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version. #[no_mangle] diff --git a/15_virtual_mem_part2_mmio_remap/tests/runner.rb b/15_virtual_mem_part2_mmio_remap/tests/runner.rb index 2a0aa393..53116e08 100755 --- a/15_virtual_mem_part2_mmio_remap/tests/runner.rb +++ b/15_virtual_mem_part2_mmio_remap/tests/runner.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2019-2020 Andre Richter +# Copyright (c) 2019-2021 Andre Richter require 'English' require 'pty' diff --git a/X1_JTAG_boot/Makefile b/X1_JTAG_boot/Makefile index 2f04337e..071167b9 100644 --- a/X1_JTAG_boot/Makefile +++ b/X1_JTAG_boot/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2020 Andre Richter +## Copyright (c) 2018-2021 Andre Richter # Default to the RPi3 BSP ?= rpi3 diff --git a/X1_JTAG_boot/src/_arch/aarch64/cpu.rs b/X1_JTAG_boot/src/_arch/aarch64/cpu.rs index eac29d8d..6072751d 100644 --- a/X1_JTAG_boot/src/_arch/aarch64/cpu.rs +++ b/X1_JTAG_boot/src/_arch/aarch64/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural processor code. diff --git a/X1_JTAG_boot/src/_arch/aarch64/cpu/smp.rs b/X1_JTAG_boot/src/_arch/aarch64/cpu/smp.rs index 8429e1d2..c80f7e78 100644 --- a/X1_JTAG_boot/src/_arch/aarch64/cpu/smp.rs +++ b/X1_JTAG_boot/src/_arch/aarch64/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural symmetric multiprocessing. diff --git a/X1_JTAG_boot/src/_arch/aarch64/time.rs b/X1_JTAG_boot/src/_arch/aarch64/time.rs index af98ddd0..7f1bc696 100644 --- a/X1_JTAG_boot/src/_arch/aarch64/time.rs +++ b/X1_JTAG_boot/src/_arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Architectural timer primitives. diff --git a/X1_JTAG_boot/src/bsp.rs b/X1_JTAG_boot/src/bsp.rs index 3a5657ad..25750249 100644 --- a/X1_JTAG_boot/src/bsp.rs +++ b/X1_JTAG_boot/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Conditional re-exporting of Board Support Packages. diff --git a/X1_JTAG_boot/src/bsp/device_driver.rs b/X1_JTAG_boot/src/bsp/device_driver.rs index ce7396f2..2fcbc83e 100644 --- a/X1_JTAG_boot/src/bsp/device_driver.rs +++ b/X1_JTAG_boot/src/bsp/device_driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Device driver. diff --git a/X1_JTAG_boot/src/bsp/device_driver/bcm.rs b/X1_JTAG_boot/src/bsp/device_driver/bcm.rs index 59071d5d..77613d26 100644 --- a/X1_JTAG_boot/src/bsp/device_driver/bcm.rs +++ b/X1_JTAG_boot/src/bsp/device_driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BCM driver top level. diff --git a/X1_JTAG_boot/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs b/X1_JTAG_boot/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs index 15bd3b78..41d8b861 100644 --- a/X1_JTAG_boot/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs +++ b/X1_JTAG_boot/src/bsp/device_driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! GPIO Driver. diff --git a/X1_JTAG_boot/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs b/X1_JTAG_boot/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs index e39bc7cd..66b73463 100644 --- a/X1_JTAG_boot/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs +++ b/X1_JTAG_boot/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! PL011 UART driver. diff --git a/X1_JTAG_boot/src/bsp/device_driver/common.rs b/X1_JTAG_boot/src/bsp/device_driver/common.rs index cd2c0760..41553b7a 100644 --- a/X1_JTAG_boot/src/bsp/device_driver/common.rs +++ b/X1_JTAG_boot/src/bsp/device_driver/common.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Common device driver code. diff --git a/X1_JTAG_boot/src/bsp/raspberrypi.rs b/X1_JTAG_boot/src/bsp/raspberrypi.rs index a4a81232..ecc6fd10 100644 --- a/X1_JTAG_boot/src/bsp/raspberrypi.rs +++ b/X1_JTAG_boot/src/bsp/raspberrypi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Top-level BSP file for the Raspberry Pi 3 and 4. diff --git a/X1_JTAG_boot/src/bsp/raspberrypi/console.rs b/X1_JTAG_boot/src/bsp/raspberrypi/console.rs index d1b60dd8..c6bb5263 100644 --- a/X1_JTAG_boot/src/bsp/raspberrypi/console.rs +++ b/X1_JTAG_boot/src/bsp/raspberrypi/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP console facilities. diff --git a/X1_JTAG_boot/src/bsp/raspberrypi/cpu.rs b/X1_JTAG_boot/src/bsp/raspberrypi/cpu.rs index 8410a961..3951618d 100644 --- a/X1_JTAG_boot/src/bsp/raspberrypi/cpu.rs +++ b/X1_JTAG_boot/src/bsp/raspberrypi/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Processor code. diff --git a/X1_JTAG_boot/src/bsp/raspberrypi/driver.rs b/X1_JTAG_boot/src/bsp/raspberrypi/driver.rs index fe24dd71..ab910185 100644 --- a/X1_JTAG_boot/src/bsp/raspberrypi/driver.rs +++ b/X1_JTAG_boot/src/bsp/raspberrypi/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP driver support. diff --git a/X1_JTAG_boot/src/bsp/raspberrypi/link.ld b/X1_JTAG_boot/src/bsp/raspberrypi/link.ld index c03bb5e5..573abc5f 100644 --- a/X1_JTAG_boot/src/bsp/raspberrypi/link.ld +++ b/X1_JTAG_boot/src/bsp/raspberrypi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2020 Andre Richter + * Copyright (c) 2018-2021 Andre Richter */ SECTIONS diff --git a/X1_JTAG_boot/src/bsp/raspberrypi/memory.rs b/X1_JTAG_boot/src/bsp/raspberrypi/memory.rs index fae05125..fb47b141 100644 --- a/X1_JTAG_boot/src/bsp/raspberrypi/memory.rs +++ b/X1_JTAG_boot/src/bsp/raspberrypi/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! BSP Memory Management. diff --git a/X1_JTAG_boot/src/console.rs b/X1_JTAG_boot/src/console.rs index e6323a20..2d38cc1d 100644 --- a/X1_JTAG_boot/src/console.rs +++ b/X1_JTAG_boot/src/console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! System console. diff --git a/X1_JTAG_boot/src/cpu.rs b/X1_JTAG_boot/src/cpu.rs index 9c67c0e7..c9e5af72 100644 --- a/X1_JTAG_boot/src/cpu.rs +++ b/X1_JTAG_boot/src/cpu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Processor code. diff --git a/X1_JTAG_boot/src/cpu/smp.rs b/X1_JTAG_boot/src/cpu/smp.rs index b1428884..90ecbdf3 100644 --- a/X1_JTAG_boot/src/cpu/smp.rs +++ b/X1_JTAG_boot/src/cpu/smp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Symmetric multiprocessing. diff --git a/X1_JTAG_boot/src/driver.rs b/X1_JTAG_boot/src/driver.rs index e2875b87..6e8c5533 100644 --- a/X1_JTAG_boot/src/driver.rs +++ b/X1_JTAG_boot/src/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Driver support. diff --git a/X1_JTAG_boot/src/main.rs b/X1_JTAG_boot/src/main.rs index 85db786d..5e54c329 100644 --- a/X1_JTAG_boot/src/main.rs +++ b/X1_JTAG_boot/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/X1_JTAG_boot/src/memory.rs b/X1_JTAG_boot/src/memory.rs index 827b8b85..1f79e0c9 100644 --- a/X1_JTAG_boot/src/memory.rs +++ b/X1_JTAG_boot/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Memory Management. diff --git a/X1_JTAG_boot/src/panic_wait.rs b/X1_JTAG_boot/src/panic_wait.rs index 1386e1e2..7980f5de 100644 --- a/X1_JTAG_boot/src/panic_wait.rs +++ b/X1_JTAG_boot/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! A panic handler that infinitely waits. diff --git a/X1_JTAG_boot/src/print.rs b/X1_JTAG_boot/src/print.rs index 8b6f3f98..1ea96b6a 100644 --- a/X1_JTAG_boot/src/print.rs +++ b/X1_JTAG_boot/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Printing facilities. diff --git a/X1_JTAG_boot/src/runtime_init.rs b/X1_JTAG_boot/src/runtime_init.rs index 9de28595..ee094686 100644 --- a/X1_JTAG_boot/src/runtime_init.rs +++ b/X1_JTAG_boot/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2020 Andre Richter +// Copyright (c) 2018-2021 Andre Richter //! Rust runtime initialization code. diff --git a/X1_JTAG_boot/src/synchronization.rs b/X1_JTAG_boot/src/synchronization.rs index 6de32807..f956b5cd 100644 --- a/X1_JTAG_boot/src/synchronization.rs +++ b/X1_JTAG_boot/src/synchronization.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Synchronization primitives. //! diff --git a/X1_JTAG_boot/src/time.rs b/X1_JTAG_boot/src/time.rs index cd3ceec3..4f2f4e38 100644 --- a/X1_JTAG_boot/src/time.rs +++ b/X1_JTAG_boot/src/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2020 Andre Richter +// Copyright (c) 2020-2021 Andre Richter //! Timer primitives. diff --git a/docker/rustembedded-osdev-utils/Dockerfile b/docker/rustembedded-osdev-utils/Dockerfile index 0ee3d988..7127bd14 100644 --- a/docker/rustembedded-osdev-utils/Dockerfile +++ b/docker/rustembedded-osdev-utils/Dockerfile @@ -1,7 +1,7 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2017-2020 Andre Richter -## Copyright (c) 2019-2020 Nao Taco +## Copyright (c) 2017-2021 Andre Richter +## Copyright (c) 2019-2021 Nao Taco FROM ubuntu:20.04 ARG VCS_REF diff --git a/docker/rustembedded-osdev-utils/Makefile b/docker/rustembedded-osdev-utils/Makefile index 4b9f70f5..e40b5ac4 100644 --- a/docker/rustembedded-osdev-utils/Makefile +++ b/docker/rustembedded-osdev-utils/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2019-2020 Andre Richter +## Copyright (c) 2019-2021 Andre Richter default: docker_build diff --git a/utils/devtool.rb b/utils/devtool.rb index 823cdcda..47e3404a 100755 --- a/utils/devtool.rb +++ b/utils/devtool.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2020 Andre Richter +# Copyright (c) 2020-2021 Andre Richter require 'rubygems' require 'bundler/setup' diff --git a/utils/devtool/copyright.rb b/utils/devtool/copyright.rb index 5da01256..956efce1 100644 --- a/utils/devtool/copyright.rb +++ b/utils/devtool/copyright.rb @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2020 Andre Richter +# Copyright (c) 2018-2021 Andre Richter require 'colorize' diff --git a/utils/diff_tut_folders.bash b/utils/diff_tut_folders.bash index 6952f8e8..65a0e7fa 100755 --- a/utils/diff_tut_folders.bash +++ b/utils/diff_tut_folders.bash @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2020 Andre Richter +# Copyright (c) 2018-2021 Andre Richter DIFF=$( diff -uNr \ @@ -13,7 +13,7 @@ DIFF=$( -x Cargo.lock \ -x target \ $1 $2 \ - | sed -r "s/[12][90][127][90]-[0-9][0-9]-[0-9][0-9] .*//g" \ + | sed -r "s/[12][90][127][0-9]-[0-9][0-9]-[0-9][0-9] .*//g" \ | sed -r "s/[[:space:]]*$//g" \ | sed -r "s/%/modulo/g" \ | sed -r "s/diff -uNr -x README.md -x README.CN.md -x kernel -x kernel8.img -x Cargo.lock -x target/\ndiff -uNr/g" diff --git a/utils/minipush.rb b/utils/minipush.rb index 71001343..e06433a8 100755 --- a/utils/minipush.rb +++ b/utils/minipush.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2020 Andre Richter +# Copyright (c) 2020-2021 Andre Richter require_relative 'miniterm' require 'ruby-progressbar' diff --git a/utils/minipush/progressbar_patch.rb b/utils/minipush/progressbar_patch.rb index 73454064..2be5ad5a 100644 --- a/utils/minipush/progressbar_patch.rb +++ b/utils/minipush/progressbar_patch.rb @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2020 Andre Richter +# Copyright (c) 2020-2021 Andre Richter # Monkey-patch ruby-progressbar so that it supports reporting the progress in KiB instead of Byte. diff --git a/utils/miniterm.rb b/utils/miniterm.rb index 6b2c2f63..0875ada5 100755 --- a/utils/miniterm.rb +++ b/utils/miniterm.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2020 Andre Richter +# Copyright (c) 2020-2021 Andre Richter require 'rubygems' require 'bundler/setup' diff --git a/utils/update_copyright.rb b/utils/update_copyright.rb new file mode 100755 index 00000000..2d56fd81 --- /dev/null +++ b/utils/update_copyright.rb @@ -0,0 +1,20 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +# SPDX-License-Identifier: MIT OR Apache-2.0 +# +# Copyright (c) 2021 Andre Richter + +require 'date' + +files = `git ls-files`.split("\n") +files = files.delete_if { |f| File.symlink?(f) } +files = files.join(' ') + +year = Date.today.year + +# Update "Copyright (c) 20..-20.." +`sed -i -- 's,\\(Copyright .c. 20..\\)-20..,\\1-#{year},g' #{files}` + +# Update "Copyright (c) 20.. Name" -> "Copyright (c) 20..-20.. Name" +`sed -i -- 's,\\(Copyright .c. 20..\\) ,\\1-#{year} ,g' #{files}`