From e690f8e7e4cd2670a9e03d7f7908d0558e2a8563 Mon Sep 17 00:00:00 2001 From: Andre Richter Date: Thu, 2 Jan 2020 00:41:03 +0100 Subject: [PATCH] =?UTF-8?q?Copyright=20bump=20to=202020=20=F0=9F=8E=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .githooks/pre-commit | 2 +- 01_wait_forever/Makefile | 2 +- 01_wait_forever/src/arch.rs | 2 +- 01_wait_forever/src/arch/aarch64.rs | 2 +- 01_wait_forever/src/arch/aarch64/start.S | 2 +- 01_wait_forever/src/bsp.rs | 2 +- 01_wait_forever/src/bsp/rpi.rs | 2 +- 01_wait_forever/src/bsp/rpi/link.ld | 2 +- 01_wait_forever/src/main.rs | 2 +- 01_wait_forever/src/panic_wait.rs | 2 +- 02_runtime_init/Makefile | 2 +- 02_runtime_init/README.md | 2 +- 02_runtime_init/src/arch.rs | 2 +- 02_runtime_init/src/arch/aarch64.rs | 2 +- 02_runtime_init/src/arch/aarch64/start.S | 2 +- 02_runtime_init/src/bsp.rs | 2 +- 02_runtime_init/src/bsp/rpi.rs | 2 +- 02_runtime_init/src/bsp/rpi/link.ld | 2 +- 02_runtime_init/src/main.rs | 2 +- 02_runtime_init/src/panic_wait.rs | 2 +- 02_runtime_init/src/runtime_init.rs | 2 +- 03_hacky_hello_world/Makefile | 2 +- 03_hacky_hello_world/README.md | 4 +-- 03_hacky_hello_world/src/arch.rs | 2 +- 03_hacky_hello_world/src/arch/aarch64.rs | 2 +- 03_hacky_hello_world/src/arch/aarch64/start.S | 2 +- 03_hacky_hello_world/src/bsp.rs | 2 +- 03_hacky_hello_world/src/bsp/rpi.rs | 2 +- 03_hacky_hello_world/src/bsp/rpi/link.ld | 2 +- 03_hacky_hello_world/src/interface.rs | 2 +- 03_hacky_hello_world/src/main.rs | 2 +- 03_hacky_hello_world/src/panic_wait.rs | 2 +- 03_hacky_hello_world/src/print.rs | 2 +- 03_hacky_hello_world/src/runtime_init.rs | 2 +- 04_zero_overhead_abstraction/Makefile | 2 +- 04_zero_overhead_abstraction/README.md | 2 +- 04_zero_overhead_abstraction/src/arch.rs | 2 +- .../src/arch/aarch64.rs | 2 +- 04_zero_overhead_abstraction/src/bsp.rs | 2 +- 04_zero_overhead_abstraction/src/bsp/rpi.rs | 2 +- .../src/bsp/rpi/link.ld | 2 +- 04_zero_overhead_abstraction/src/interface.rs | 2 +- 04_zero_overhead_abstraction/src/main.rs | 2 +- .../src/panic_wait.rs | 2 +- 04_zero_overhead_abstraction/src/print.rs | 2 +- .../src/runtime_init.rs | 2 +- 05_safe_globals/Makefile | 2 +- 05_safe_globals/README.md | 2 +- 05_safe_globals/src/arch.rs | 2 +- 05_safe_globals/src/arch/aarch64.rs | 2 +- 05_safe_globals/src/arch/aarch64/sync.rs | 2 +- 05_safe_globals/src/bsp.rs | 2 +- 05_safe_globals/src/bsp/rpi.rs | 2 +- 05_safe_globals/src/bsp/rpi/link.ld | 2 +- 05_safe_globals/src/interface.rs | 2 +- 05_safe_globals/src/main.rs | 2 +- 05_safe_globals/src/panic_wait.rs | 2 +- 05_safe_globals/src/print.rs | 2 +- 05_safe_globals/src/runtime_init.rs | 2 +- 06_drivers_gpio_uart/Makefile | 2 +- 06_drivers_gpio_uart/README.md | 10 +++---- 06_drivers_gpio_uart/src/arch.rs | 2 +- 06_drivers_gpio_uart/src/arch/aarch64.rs | 2 +- 06_drivers_gpio_uart/src/arch/aarch64/sync.rs | 2 +- 06_drivers_gpio_uart/src/bsp.rs | 2 +- 06_drivers_gpio_uart/src/bsp/driver.rs | 2 +- 06_drivers_gpio_uart/src/bsp/driver/bcm.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_gpio.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs | 2 +- 06_drivers_gpio_uart/src/bsp/rpi.rs | 2 +- 06_drivers_gpio_uart/src/bsp/rpi/link.ld | 2 +- .../src/bsp/rpi/memory_map.rs | 2 +- 06_drivers_gpio_uart/src/interface.rs | 2 +- 06_drivers_gpio_uart/src/main.rs | 2 +- 06_drivers_gpio_uart/src/panic_wait.rs | 2 +- 06_drivers_gpio_uart/src/print.rs | 2 +- 06_drivers_gpio_uart/src/runtime_init.rs | 2 +- 07_uart_chainloader/Makefile | 2 +- 07_uart_chainloader/README.md | 2 +- 07_uart_chainloader/src/arch.rs | 2 +- 07_uart_chainloader/src/arch/aarch64.rs | 2 +- 07_uart_chainloader/src/arch/aarch64/sync.rs | 2 +- 07_uart_chainloader/src/bsp.rs | 2 +- 07_uart_chainloader/src/bsp/driver.rs | 2 +- 07_uart_chainloader/src/bsp/driver/bcm.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_gpio.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs | 2 +- 07_uart_chainloader/src/bsp/rpi.rs | 2 +- 07_uart_chainloader/src/bsp/rpi/link.ld | 2 +- 07_uart_chainloader/src/bsp/rpi/memory_map.rs | 2 +- 07_uart_chainloader/src/interface.rs | 2 +- 07_uart_chainloader/src/main.rs | 2 +- 07_uart_chainloader/src/panic_wait.rs | 2 +- 07_uart_chainloader/src/print.rs | 2 +- 07_uart_chainloader/src/relocate.rs | 2 +- 07_uart_chainloader/src/runtime_init.rs | 2 +- 08_timestamps/Makefile | 2 +- 08_timestamps/README.md | 4 +-- 08_timestamps/src/arch.rs | 2 +- 08_timestamps/src/arch/aarch64.rs | 2 +- 08_timestamps/src/arch/aarch64/sync.rs | 2 +- 08_timestamps/src/arch/aarch64/time.rs | 2 +- 08_timestamps/src/bsp.rs | 2 +- 08_timestamps/src/bsp/driver.rs | 2 +- 08_timestamps/src/bsp/driver/bcm.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_gpio.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs | 2 +- 08_timestamps/src/bsp/rpi.rs | 2 +- 08_timestamps/src/bsp/rpi/link.ld | 2 +- 08_timestamps/src/bsp/rpi/memory_map.rs | 2 +- 08_timestamps/src/interface.rs | 2 +- 08_timestamps/src/main.rs | 2 +- 08_timestamps/src/panic_wait.rs | 2 +- 08_timestamps/src/print.rs | 2 +- 08_timestamps/src/runtime_init.rs | 2 +- 09_hw_debug_JTAG/Makefile | 2 +- 09_hw_debug_JTAG/src/arch.rs | 2 +- 09_hw_debug_JTAG/src/arch/aarch64.rs | 2 +- 09_hw_debug_JTAG/src/arch/aarch64/sync.rs | 2 +- 09_hw_debug_JTAG/src/arch/aarch64/time.rs | 2 +- 09_hw_debug_JTAG/src/bsp.rs | 2 +- 09_hw_debug_JTAG/src/bsp/driver.rs | 2 +- 09_hw_debug_JTAG/src/bsp/driver/bcm.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_gpio.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs | 2 +- 09_hw_debug_JTAG/src/bsp/rpi.rs | 2 +- 09_hw_debug_JTAG/src/bsp/rpi/link.ld | 2 +- 09_hw_debug_JTAG/src/bsp/rpi/memory_map.rs | 2 +- 09_hw_debug_JTAG/src/interface.rs | 2 +- 09_hw_debug_JTAG/src/main.rs | 2 +- 09_hw_debug_JTAG/src/panic_wait.rs | 2 +- 09_hw_debug_JTAG/src/print.rs | 2 +- 09_hw_debug_JTAG/src/runtime_init.rs | 2 +- 10_privilege_level/Makefile | 2 +- 10_privilege_level/README.md | 2 +- 10_privilege_level/src/arch.rs | 2 +- 10_privilege_level/src/arch/aarch64.rs | 2 +- .../src/arch/aarch64/exception.rs | 2 +- 10_privilege_level/src/arch/aarch64/sync.rs | 2 +- 10_privilege_level/src/arch/aarch64/time.rs | 2 +- 10_privilege_level/src/bsp.rs | 2 +- 10_privilege_level/src/bsp/driver.rs | 2 +- 10_privilege_level/src/bsp/driver/bcm.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_gpio.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs | 2 +- 10_privilege_level/src/bsp/rpi.rs | 2 +- 10_privilege_level/src/bsp/rpi/link.ld | 2 +- 10_privilege_level/src/bsp/rpi/memory_map.rs | 2 +- 10_privilege_level/src/interface.rs | 2 +- 10_privilege_level/src/main.rs | 2 +- 10_privilege_level/src/panic_wait.rs | 2 +- 10_privilege_level/src/print.rs | 2 +- 10_privilege_level/src/runtime_init.rs | 2 +- 11_virtual_memory/Makefile | 2 +- 11_virtual_memory/README.md | 6 ++-- 11_virtual_memory/src/arch.rs | 2 +- 11_virtual_memory/src/arch/aarch64.rs | 2 +- .../src/arch/aarch64/exception.rs | 2 +- 11_virtual_memory/src/arch/aarch64/mmu.rs | 2 +- 11_virtual_memory/src/arch/aarch64/sync.rs | 2 +- 11_virtual_memory/src/arch/aarch64/time.rs | 2 +- 11_virtual_memory/src/bsp.rs | 2 +- 11_virtual_memory/src/bsp/driver.rs | 2 +- 11_virtual_memory/src/bsp/driver/bcm.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_gpio.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs | 2 +- 11_virtual_memory/src/bsp/rpi.rs | 2 +- 11_virtual_memory/src/bsp/rpi/link.ld | 2 +- 11_virtual_memory/src/bsp/rpi/memory_map.rs | 2 +- .../src/bsp/rpi/virt_mem_layout.rs | 2 +- 11_virtual_memory/src/interface.rs | 2 +- 11_virtual_memory/src/main.rs | 2 +- 11_virtual_memory/src/memory.rs | 2 +- 11_virtual_memory/src/panic_wait.rs | 2 +- 11_virtual_memory/src/print.rs | 2 +- 11_virtual_memory/src/runtime_init.rs | 2 +- 12_cpu_exceptions_part1/Makefile | 2 +- 12_cpu_exceptions_part1/README.md | 2 +- 12_cpu_exceptions_part1/src/arch.rs | 2 +- 12_cpu_exceptions_part1/src/arch/aarch64.rs | 2 +- .../src/arch/aarch64/exception.S | 2 +- .../src/arch/aarch64/exception.rs | 2 +- .../src/arch/aarch64/mmu.rs | 2 +- .../src/arch/aarch64/sync.rs | 2 +- .../src/arch/aarch64/time.rs | 2 +- 12_cpu_exceptions_part1/src/bsp.rs | 2 +- 12_cpu_exceptions_part1/src/bsp/driver.rs | 2 +- 12_cpu_exceptions_part1/src/bsp/driver/bcm.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_gpio.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs | 2 +- 12_cpu_exceptions_part1/src/bsp/rpi.rs | 2 +- 12_cpu_exceptions_part1/src/bsp/rpi/link.ld | 2 +- .../src/bsp/rpi/memory_map.rs | 2 +- .../src/bsp/rpi/virt_mem_layout.rs | 2 +- 12_cpu_exceptions_part1/src/interface.rs | 2 +- 12_cpu_exceptions_part1/src/main.rs | 2 +- 12_cpu_exceptions_part1/src/memory.rs | 2 +- 12_cpu_exceptions_part1/src/panic_wait.rs | 2 +- 12_cpu_exceptions_part1/src/print.rs | 2 +- 12_cpu_exceptions_part1/src/runtime_init.rs | 2 +- 13_integrated_testing/README.md | 30 +++++++------------ 13_integrated_testing/patches/src/lib.rs | 2 +- 13_integrated_testing/src/arch.rs | 2 +- 13_integrated_testing/src/arch/aarch64.rs | 2 +- .../src/arch/aarch64/exception.S | 2 +- .../src/arch/aarch64/exception.rs | 2 +- 13_integrated_testing/src/arch/aarch64/mmu.rs | 2 +- .../src/arch/aarch64/sync.rs | 2 +- .../src/arch/aarch64/time.rs | 2 +- 13_integrated_testing/src/bsp.rs | 2 +- 13_integrated_testing/src/bsp/driver.rs | 2 +- 13_integrated_testing/src/bsp/driver/bcm.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_gpio.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs | 2 +- 13_integrated_testing/src/bsp/rpi.rs | 2 +- 13_integrated_testing/src/bsp/rpi/link.ld | 2 +- .../src/bsp/rpi/memory_map.rs | 2 +- .../src/bsp/rpi/virt_mem_layout.rs | 2 +- 13_integrated_testing/src/interface.rs | 2 +- 13_integrated_testing/src/lib.rs | 2 +- 13_integrated_testing/src/main.rs | 2 +- 13_integrated_testing/src/memory.rs | 2 +- 13_integrated_testing/src/panic_wait.rs | 2 +- 13_integrated_testing/src/print.rs | 2 +- 13_integrated_testing/src/runtime_init.rs | 2 +- 13_integrated_testing/test-macros/src/lib.rs | 2 +- 13_integrated_testing/test-types/src/lib.rs | 2 +- .../tests/00_interface_sanity_console.rb | 2 +- .../tests/00_interface_sanity_console.rs | 2 +- .../tests/01_interface_sanity_timer.rs | 2 +- .../tests/02_arch_exception_handling.rs | 2 +- .../tests/panic_exit_failure/mod.rs | 2 +- .../tests/panic_exit_success/mod.rs | 2 +- 13_integrated_testing/tests/runner.rb | 2 +- LICENSE-MIT | 2 +- X1_JTAG_boot/Makefile | 2 +- X1_JTAG_boot/src/arch.rs | 2 +- X1_JTAG_boot/src/arch/aarch64.rs | 2 +- X1_JTAG_boot/src/arch/aarch64/sync.rs | 2 +- X1_JTAG_boot/src/arch/aarch64/time.rs | 2 +- X1_JTAG_boot/src/bsp.rs | 2 +- X1_JTAG_boot/src/bsp/driver.rs | 2 +- X1_JTAG_boot/src/bsp/driver/bcm.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_gpio.rs | 2 +- .../src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs | 2 +- X1_JTAG_boot/src/bsp/rpi.rs | 2 +- X1_JTAG_boot/src/bsp/rpi/link.ld | 2 +- X1_JTAG_boot/src/bsp/rpi/memory_map.rs | 2 +- X1_JTAG_boot/src/interface.rs | 2 +- X1_JTAG_boot/src/main.rs | 2 +- X1_JTAG_boot/src/panic_wait.rs | 2 +- X1_JTAG_boot/src/print.rs | 2 +- X1_JTAG_boot/src/runtime_init.rs | 2 +- docker/rustembedded-osdev-utils/Dockerfile | 4 +-- docker/rustembedded-osdev-utils/Makefile | 2 +- utils/clean_all.rb | 2 +- utils/clippy_all.rb | 2 +- utils/diff_all.rb | 2 +- utils/fmt_all.rb | 2 +- utils/helpers/diff_tut_folders.bash | 4 +-- utils/make_all.rb | 2 +- utils/raspboot.bash | 2 +- utils/sanity_checks.rb | 2 +- 263 files changed, 283 insertions(+), 291 deletions(-) diff --git a/.githooks/pre-commit b/.githooks/pre-commit index d981422d..9ff421c5 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2019 Andre Richter +# Copyright (c) 2018-2020 Andre Richter require_relative '../utils/helpers/copyrighted' diff --git a/01_wait_forever/Makefile b/01_wait_forever/Makefile index 6f6f10ab..b59d394b 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-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/01_wait_forever/src/arch.rs b/01_wait_forever/src/arch.rs index ee958823..005f848b 100644 --- a/01_wait_forever/src/arch.rs +++ b/01_wait_forever/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/01_wait_forever/src/arch/aarch64.rs b/01_wait_forever/src/arch/aarch64.rs index e999965c..b8cc7b47 100644 --- a/01_wait_forever/src/arch/aarch64.rs +++ b/01_wait_forever/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/01_wait_forever/src/arch/aarch64/start.S b/01_wait_forever/src/arch/aarch64/start.S index f059b847..bd80689c 100644 --- a/01_wait_forever/src/arch/aarch64/start.S +++ b/01_wait_forever/src/arch/aarch64/start.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter .section ".text._start" diff --git a/01_wait_forever/src/bsp.rs b/01_wait_forever/src/bsp.rs index 16734723..e8222317 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/01_wait_forever/src/bsp/rpi.rs b/01_wait_forever/src/bsp/rpi.rs index af36ea2c..b5fc8d05 100644 --- a/01_wait_forever/src/bsp/rpi.rs +++ b/01_wait_forever/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/01_wait_forever/src/bsp/rpi/link.ld b/01_wait_forever/src/bsp/rpi/link.ld index ba2cb34d..c95db067 100644 --- a/01_wait_forever/src/bsp/rpi/link.ld +++ b/01_wait_forever/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/01_wait_forever/src/main.rs b/01_wait_forever/src/main.rs index bae66503..4b62a48e 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 5d781ee9..015a36d0 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! A panic handler that infinitely waits. diff --git a/02_runtime_init/Makefile b/02_runtime_init/Makefile index 6f6f10ab..b59d394b 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-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/02_runtime_init/README.md b/02_runtime_init/README.md index f4c4a62c..e517c776 100644 --- a/02_runtime_init/README.md +++ b/02_runtime_init/README.md @@ -112,7 +112,7 @@ diff -uNr 01_wait_forever/src/runtime_init.rs 02_runtime_init/src/runtime_init.r @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! Rust runtime initialization code. + diff --git a/02_runtime_init/src/arch.rs b/02_runtime_init/src/arch.rs index ee958823..005f848b 100644 --- a/02_runtime_init/src/arch.rs +++ b/02_runtime_init/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/02_runtime_init/src/arch/aarch64.rs b/02_runtime_init/src/arch/aarch64.rs index e999965c..b8cc7b47 100644 --- a/02_runtime_init/src/arch/aarch64.rs +++ b/02_runtime_init/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/02_runtime_init/src/arch/aarch64/start.S b/02_runtime_init/src/arch/aarch64/start.S index e0e528b2..3ed5c061 100644 --- a/02_runtime_init/src/arch/aarch64/start.S +++ b/02_runtime_init/src/arch/aarch64/start.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter .section ".text._start" diff --git a/02_runtime_init/src/bsp.rs b/02_runtime_init/src/bsp.rs index 16734723..e8222317 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/02_runtime_init/src/bsp/rpi.rs b/02_runtime_init/src/bsp/rpi.rs index af36ea2c..b5fc8d05 100644 --- a/02_runtime_init/src/bsp/rpi.rs +++ b/02_runtime_init/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/02_runtime_init/src/bsp/rpi/link.ld b/02_runtime_init/src/bsp/rpi/link.ld index 2e3ba4f7..eb1caad0 100644 --- a/02_runtime_init/src/bsp/rpi/link.ld +++ b/02_runtime_init/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/02_runtime_init/src/main.rs b/02_runtime_init/src/main.rs index c5bae1bd..84b175de 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/02_runtime_init/src/panic_wait.rs b/02_runtime_init/src/panic_wait.rs index 5d781ee9..015a36d0 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 ceebf64f..746e5830 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/03_hacky_hello_world/Makefile b/03_hacky_hello_world/Makefile index e5d8a843..2729d1bb 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-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/03_hacky_hello_world/README.md b/03_hacky_hello_world/README.md index 0f37c56d..e54fbd59 100644 --- a/03_hacky_hello_world/README.md +++ b/03_hacky_hello_world/README.md @@ -96,7 +96,7 @@ diff -uNr 02_runtime_init/src/interface.rs 03_hacky_hello_world/src/interface.rs @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! Trait definitions for coupling `kernel` and `BSP` code. +//! @@ -208,7 +208,7 @@ diff -uNr 02_runtime_init/src/print.rs 03_hacky_hello_world/src/print.rs @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! Printing facilities. + diff --git a/03_hacky_hello_world/src/arch.rs b/03_hacky_hello_world/src/arch.rs index ee958823..005f848b 100644 --- a/03_hacky_hello_world/src/arch.rs +++ b/03_hacky_hello_world/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/03_hacky_hello_world/src/arch/aarch64.rs b/03_hacky_hello_world/src/arch/aarch64.rs index e999965c..b8cc7b47 100644 --- a/03_hacky_hello_world/src/arch/aarch64.rs +++ b/03_hacky_hello_world/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/03_hacky_hello_world/src/arch/aarch64/start.S b/03_hacky_hello_world/src/arch/aarch64/start.S index e0e528b2..3ed5c061 100644 --- a/03_hacky_hello_world/src/arch/aarch64/start.S +++ b/03_hacky_hello_world/src/arch/aarch64/start.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter .section ".text._start" diff --git a/03_hacky_hello_world/src/bsp.rs b/03_hacky_hello_world/src/bsp.rs index 16734723..e8222317 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/03_hacky_hello_world/src/bsp/rpi.rs b/03_hacky_hello_world/src/bsp/rpi.rs index ed810b96..ddbfe22a 100644 --- a/03_hacky_hello_world/src/bsp/rpi.rs +++ b/03_hacky_hello_world/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/03_hacky_hello_world/src/bsp/rpi/link.ld b/03_hacky_hello_world/src/bsp/rpi/link.ld index 2e3ba4f7..eb1caad0 100644 --- a/03_hacky_hello_world/src/bsp/rpi/link.ld +++ b/03_hacky_hello_world/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/03_hacky_hello_world/src/interface.rs b/03_hacky_hello_world/src/interface.rs index b7c96aad..6140cff2 100644 --- a/03_hacky_hello_world/src/interface.rs +++ b/03_hacky_hello_world/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/03_hacky_hello_world/src/main.rs b/03_hacky_hello_world/src/main.rs index 0592fe18..f5001d37 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/03_hacky_hello_world/src/panic_wait.rs b/03_hacky_hello_world/src/panic_wait.rs index 0c99b2ea..05db8fcb 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 3a7bed6c..c84031ec 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 ceebf64f..746e5830 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/04_zero_overhead_abstraction/Makefile b/04_zero_overhead_abstraction/Makefile index e5d8a843..2729d1bb 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-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/04_zero_overhead_abstraction/README.md b/04_zero_overhead_abstraction/README.md index 47fa1f2e..5177f9a9 100644 --- a/04_zero_overhead_abstraction/README.md +++ b/04_zero_overhead_abstraction/README.md @@ -34,7 +34,7 @@ diff -uNr 03_hacky_hello_world/src/arch/aarch64/start.S 04_zero_overhead_abstrac @@ -1,21 +0,0 @@ -// SPDX-License-Identifier: MIT OR Apache-2.0 -// --// Copyright (c) 2018-2019 Andre Richter +-// Copyright (c) 2018-2020 Andre Richter - -.section ".text._start" - diff --git a/04_zero_overhead_abstraction/src/arch.rs b/04_zero_overhead_abstraction/src/arch.rs index ee958823..005f848b 100644 --- a/04_zero_overhead_abstraction/src/arch.rs +++ b/04_zero_overhead_abstraction/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/04_zero_overhead_abstraction/src/arch/aarch64.rs b/04_zero_overhead_abstraction/src/arch/aarch64.rs index b35b12f7..2f6e0dcb 100644 --- a/04_zero_overhead_abstraction/src/arch/aarch64.rs +++ b/04_zero_overhead_abstraction/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/04_zero_overhead_abstraction/src/bsp.rs b/04_zero_overhead_abstraction/src/bsp.rs index 16734723..e8222317 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/04_zero_overhead_abstraction/src/bsp/rpi.rs b/04_zero_overhead_abstraction/src/bsp/rpi.rs index e42a4779..325ff104 100644 --- a/04_zero_overhead_abstraction/src/bsp/rpi.rs +++ b/04_zero_overhead_abstraction/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/04_zero_overhead_abstraction/src/bsp/rpi/link.ld b/04_zero_overhead_abstraction/src/bsp/rpi/link.ld index 2e3ba4f7..eb1caad0 100644 --- a/04_zero_overhead_abstraction/src/bsp/rpi/link.ld +++ b/04_zero_overhead_abstraction/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/04_zero_overhead_abstraction/src/interface.rs b/04_zero_overhead_abstraction/src/interface.rs index b7c96aad..6140cff2 100644 --- a/04_zero_overhead_abstraction/src/interface.rs +++ b/04_zero_overhead_abstraction/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/04_zero_overhead_abstraction/src/main.rs b/04_zero_overhead_abstraction/src/main.rs index 372b27b7..f5f75d02 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/04_zero_overhead_abstraction/src/panic_wait.rs b/04_zero_overhead_abstraction/src/panic_wait.rs index 0c99b2ea..05db8fcb 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 3a7bed6c..c84031ec 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 5c60c2b5..a857dbf9 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/05_safe_globals/Makefile b/05_safe_globals/Makefile index e5d8a843..2729d1bb 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-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/05_safe_globals/README.md b/05_safe_globals/README.md index 2976e362..a1d93852 100644 --- a/05_safe_globals/README.md +++ b/05_safe_globals/README.md @@ -58,7 +58,7 @@ diff -uNr 04_zero_overhead_abstraction/src/arch/aarch64/sync.rs 05_safe_globals/ @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! Synchronization primitives. + diff --git a/05_safe_globals/src/arch.rs b/05_safe_globals/src/arch.rs index ee958823..005f848b 100644 --- a/05_safe_globals/src/arch.rs +++ b/05_safe_globals/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/05_safe_globals/src/arch/aarch64.rs b/05_safe_globals/src/arch/aarch64.rs index 68e8a06d..0b7b5745 100644 --- a/05_safe_globals/src/arch/aarch64.rs +++ b/05_safe_globals/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/05_safe_globals/src/arch/aarch64/sync.rs b/05_safe_globals/src/arch/aarch64/sync.rs index 7e8781e6..1d1e459f 100644 --- a/05_safe_globals/src/arch/aarch64/sync.rs +++ b/05_safe_globals/src/arch/aarch64/sync.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Synchronization primitives. diff --git a/05_safe_globals/src/bsp.rs b/05_safe_globals/src/bsp.rs index 16734723..e8222317 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/05_safe_globals/src/bsp/rpi.rs b/05_safe_globals/src/bsp/rpi.rs index bf962b82..61ba04c5 100644 --- a/05_safe_globals/src/bsp/rpi.rs +++ b/05_safe_globals/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/05_safe_globals/src/bsp/rpi/link.ld b/05_safe_globals/src/bsp/rpi/link.ld index 2e3ba4f7..eb1caad0 100644 --- a/05_safe_globals/src/bsp/rpi/link.ld +++ b/05_safe_globals/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/05_safe_globals/src/interface.rs b/05_safe_globals/src/interface.rs index 3c7ceeca..90d41112 100644 --- a/05_safe_globals/src/interface.rs +++ b/05_safe_globals/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/05_safe_globals/src/main.rs b/05_safe_globals/src/main.rs index 33ec9a3b..98a8af6c 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/05_safe_globals/src/panic_wait.rs b/05_safe_globals/src/panic_wait.rs index 0c99b2ea..05db8fcb 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 3a7bed6c..c84031ec 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Printing facilities. diff --git a/05_safe_globals/src/runtime_init.rs b/05_safe_globals/src/runtime_init.rs index 5c60c2b5..a857dbf9 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/06_drivers_gpio_uart/Makefile b/06_drivers_gpio_uart/Makefile index e5d8a843..2729d1bb 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-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/06_drivers_gpio_uart/README.md b/06_drivers_gpio_uart/README.md index a8102c5d..86396019 100644 --- a/06_drivers_gpio_uart/README.md +++ b/06_drivers_gpio_uart/README.md @@ -128,7 +128,7 @@ diff -uNr 05_safe_globals/src/bsp/driver/bcm/bcm2xxx_gpio.rs 06_drivers_gpio_uar @@ -0,0 +1,145 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! GPIO driver. + @@ -278,7 +278,7 @@ diff -uNr 05_safe_globals/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs 06_drivers_gp @@ -0,0 +1,317 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! PL011 UART driver. + @@ -600,7 +600,7 @@ diff -uNr 05_safe_globals/src/bsp/driver/bcm.rs 06_drivers_gpio_uart/src/bsp/dri @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! BCM driver top level. + @@ -616,7 +616,7 @@ diff -uNr 05_safe_globals/src/bsp/driver.rs 06_drivers_gpio_uart/src/bsp/driver. @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! Drivers. + @@ -632,7 +632,7 @@ diff -uNr 05_safe_globals/src/bsp/rpi/memory_map.rs 06_drivers_gpio_uart/src/bsp @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! The board's memory map. + diff --git a/06_drivers_gpio_uart/src/arch.rs b/06_drivers_gpio_uart/src/arch.rs index ee958823..005f848b 100644 --- a/06_drivers_gpio_uart/src/arch.rs +++ b/06_drivers_gpio_uart/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/06_drivers_gpio_uart/src/arch/aarch64.rs b/06_drivers_gpio_uart/src/arch/aarch64.rs index 29de3f1c..1878b78c 100644 --- a/06_drivers_gpio_uart/src/arch/aarch64.rs +++ b/06_drivers_gpio_uart/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/06_drivers_gpio_uart/src/arch/aarch64/sync.rs b/06_drivers_gpio_uart/src/arch/aarch64/sync.rs index 7e8781e6..1d1e459f 100644 --- a/06_drivers_gpio_uart/src/arch/aarch64/sync.rs +++ b/06_drivers_gpio_uart/src/arch/aarch64/sync.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Synchronization primitives. diff --git a/06_drivers_gpio_uart/src/bsp.rs b/06_drivers_gpio_uart/src/bsp.rs index 2193a046..4d7861bb 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/06_drivers_gpio_uart/src/bsp/driver.rs b/06_drivers_gpio_uart/src/bsp/driver.rs index 2c52ae61..f75093a5 100644 --- a/06_drivers_gpio_uart/src/bsp/driver.rs +++ b/06_drivers_gpio_uart/src/bsp/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Drivers. diff --git a/06_drivers_gpio_uart/src/bsp/driver/bcm.rs b/06_drivers_gpio_uart/src/bsp/driver/bcm.rs index 33383276..40232f30 100644 --- a/06_drivers_gpio_uart/src/bsp/driver/bcm.rs +++ b/06_drivers_gpio_uart/src/bsp/driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! BCM driver top level. diff --git a/06_drivers_gpio_uart/src/bsp/driver/bcm/bcm2xxx_gpio.rs b/06_drivers_gpio_uart/src/bsp/driver/bcm/bcm2xxx_gpio.rs index e6f5f7ca..1bcc9a64 100644 --- a/06_drivers_gpio_uart/src/bsp/driver/bcm/bcm2xxx_gpio.rs +++ b/06_drivers_gpio_uart/src/bsp/driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! GPIO driver. diff --git a/06_drivers_gpio_uart/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs b/06_drivers_gpio_uart/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs index 75cf42ca..63b4eb41 100644 --- a/06_drivers_gpio_uart/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs +++ b/06_drivers_gpio_uart/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! PL011 UART driver. diff --git a/06_drivers_gpio_uart/src/bsp/rpi.rs b/06_drivers_gpio_uart/src/bsp/rpi.rs index 0acb693c..336db45a 100644 --- a/06_drivers_gpio_uart/src/bsp/rpi.rs +++ b/06_drivers_gpio_uart/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/06_drivers_gpio_uart/src/bsp/rpi/link.ld b/06_drivers_gpio_uart/src/bsp/rpi/link.ld index 2e3ba4f7..eb1caad0 100644 --- a/06_drivers_gpio_uart/src/bsp/rpi/link.ld +++ b/06_drivers_gpio_uart/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/06_drivers_gpio_uart/src/bsp/rpi/memory_map.rs b/06_drivers_gpio_uart/src/bsp/rpi/memory_map.rs index 4176837b..6e0d6d80 100644 --- a/06_drivers_gpio_uart/src/bsp/rpi/memory_map.rs +++ b/06_drivers_gpio_uart/src/bsp/rpi/memory_map.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The board's memory map. diff --git a/06_drivers_gpio_uart/src/interface.rs b/06_drivers_gpio_uart/src/interface.rs index 66c22f1a..d7d0bfd4 100644 --- a/06_drivers_gpio_uart/src/interface.rs +++ b/06_drivers_gpio_uart/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/06_drivers_gpio_uart/src/main.rs b/06_drivers_gpio_uart/src/main.rs index 66dfbb05..0ba03910 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/06_drivers_gpio_uart/src/panic_wait.rs b/06_drivers_gpio_uart/src/panic_wait.rs index 6ae8488a..e8f1d1fd 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 3a7bed6c..c84031ec 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 5c60c2b5..a857dbf9 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/07_uart_chainloader/Makefile b/07_uart_chainloader/Makefile index 1e3b2d4e..a028d226 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-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/07_uart_chainloader/README.md b/07_uart_chainloader/README.md index 2160f6e9..48fbedfb 100644 --- a/07_uart_chainloader/README.md +++ b/07_uart_chainloader/README.md @@ -370,7 +370,7 @@ diff -uNr 06_drivers_gpio_uart/src/relocate.rs 07_uart_chainloader/src/relocate. @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! Relocation code. + diff --git a/07_uart_chainloader/src/arch.rs b/07_uart_chainloader/src/arch.rs index ee958823..005f848b 100644 --- a/07_uart_chainloader/src/arch.rs +++ b/07_uart_chainloader/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/07_uart_chainloader/src/arch/aarch64.rs b/07_uart_chainloader/src/arch/aarch64.rs index 2ee34769..3263a3eb 100644 --- a/07_uart_chainloader/src/arch/aarch64.rs +++ b/07_uart_chainloader/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/07_uart_chainloader/src/arch/aarch64/sync.rs b/07_uart_chainloader/src/arch/aarch64/sync.rs index 7e8781e6..1d1e459f 100644 --- a/07_uart_chainloader/src/arch/aarch64/sync.rs +++ b/07_uart_chainloader/src/arch/aarch64/sync.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Synchronization primitives. diff --git a/07_uart_chainloader/src/bsp.rs b/07_uart_chainloader/src/bsp.rs index 2193a046..4d7861bb 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/07_uart_chainloader/src/bsp/driver.rs b/07_uart_chainloader/src/bsp/driver.rs index 2c52ae61..f75093a5 100644 --- a/07_uart_chainloader/src/bsp/driver.rs +++ b/07_uart_chainloader/src/bsp/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Drivers. diff --git a/07_uart_chainloader/src/bsp/driver/bcm.rs b/07_uart_chainloader/src/bsp/driver/bcm.rs index 33383276..40232f30 100644 --- a/07_uart_chainloader/src/bsp/driver/bcm.rs +++ b/07_uart_chainloader/src/bsp/driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! BCM driver top level. diff --git a/07_uart_chainloader/src/bsp/driver/bcm/bcm2xxx_gpio.rs b/07_uart_chainloader/src/bsp/driver/bcm/bcm2xxx_gpio.rs index e6f5f7ca..1bcc9a64 100644 --- a/07_uart_chainloader/src/bsp/driver/bcm/bcm2xxx_gpio.rs +++ b/07_uart_chainloader/src/bsp/driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! GPIO driver. diff --git a/07_uart_chainloader/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs b/07_uart_chainloader/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs index 64bfdf55..c0dd92db 100644 --- a/07_uart_chainloader/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs +++ b/07_uart_chainloader/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! PL011 UART driver. diff --git a/07_uart_chainloader/src/bsp/rpi.rs b/07_uart_chainloader/src/bsp/rpi.rs index 79fbeca0..3e18eb5f 100644 --- a/07_uart_chainloader/src/bsp/rpi.rs +++ b/07_uart_chainloader/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/07_uart_chainloader/src/bsp/rpi/link.ld b/07_uart_chainloader/src/bsp/rpi/link.ld index 7e595734..7583abb8 100644 --- a/07_uart_chainloader/src/bsp/rpi/link.ld +++ b/07_uart_chainloader/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/07_uart_chainloader/src/bsp/rpi/memory_map.rs b/07_uart_chainloader/src/bsp/rpi/memory_map.rs index 4176837b..6e0d6d80 100644 --- a/07_uart_chainloader/src/bsp/rpi/memory_map.rs +++ b/07_uart_chainloader/src/bsp/rpi/memory_map.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The board's memory map. diff --git a/07_uart_chainloader/src/interface.rs b/07_uart_chainloader/src/interface.rs index 866f2d4d..3da864d8 100644 --- a/07_uart_chainloader/src/interface.rs +++ b/07_uart_chainloader/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/07_uart_chainloader/src/main.rs b/07_uart_chainloader/src/main.rs index 2381f3bb..aeae85a3 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/07_uart_chainloader/src/panic_wait.rs b/07_uart_chainloader/src/panic_wait.rs index 6ae8488a..e8f1d1fd 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 3a7bed6c..c84031ec 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Printing facilities. diff --git a/07_uart_chainloader/src/relocate.rs b/07_uart_chainloader/src/relocate.rs index d81e3135..2a66ac3e 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Relocation code. diff --git a/07_uart_chainloader/src/runtime_init.rs b/07_uart_chainloader/src/runtime_init.rs index d370ee1d..51658ccd 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/08_timestamps/Makefile b/08_timestamps/Makefile index 8e55363e..c96241fe 100644 --- a/08_timestamps/Makefile +++ b/08_timestamps/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/08_timestamps/README.md b/08_timestamps/README.md index 6552d3f8..4ae00ee1 100644 --- a/08_timestamps/README.md +++ b/08_timestamps/README.md @@ -105,7 +105,7 @@ diff -uNr 07_uart_chainloader/src/arch/aarch64/time.rs 08_timestamps/src/arch/aa @@ -0,0 +1,81 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! Timer primitives. + @@ -499,7 +499,7 @@ diff -uNr 07_uart_chainloader/src/relocate.rs 08_timestamps/src/relocate.rs @@ -1,46 +0,0 @@ -// SPDX-License-Identifier: MIT OR Apache-2.0 -// --// Copyright (c) 2018-2019 Andre Richter +-// Copyright (c) 2018-2020 Andre Richter - -//! Relocation code. - diff --git a/08_timestamps/src/arch.rs b/08_timestamps/src/arch.rs index ee958823..005f848b 100644 --- a/08_timestamps/src/arch.rs +++ b/08_timestamps/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/08_timestamps/src/arch/aarch64.rs b/08_timestamps/src/arch/aarch64.rs index 9424655b..0f2ebd32 100644 --- a/08_timestamps/src/arch/aarch64.rs +++ b/08_timestamps/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/08_timestamps/src/arch/aarch64/sync.rs b/08_timestamps/src/arch/aarch64/sync.rs index 7e8781e6..1d1e459f 100644 --- a/08_timestamps/src/arch/aarch64/sync.rs +++ b/08_timestamps/src/arch/aarch64/sync.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Synchronization primitives. diff --git a/08_timestamps/src/arch/aarch64/time.rs b/08_timestamps/src/arch/aarch64/time.rs index d4fa88f1..249c498a 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Timer primitives. diff --git a/08_timestamps/src/bsp.rs b/08_timestamps/src/bsp.rs index 2193a046..4d7861bb 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/08_timestamps/src/bsp/driver.rs b/08_timestamps/src/bsp/driver.rs index 2c52ae61..f75093a5 100644 --- a/08_timestamps/src/bsp/driver.rs +++ b/08_timestamps/src/bsp/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Drivers. diff --git a/08_timestamps/src/bsp/driver/bcm.rs b/08_timestamps/src/bsp/driver/bcm.rs index 33383276..40232f30 100644 --- a/08_timestamps/src/bsp/driver/bcm.rs +++ b/08_timestamps/src/bsp/driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! BCM driver top level. diff --git a/08_timestamps/src/bsp/driver/bcm/bcm2xxx_gpio.rs b/08_timestamps/src/bsp/driver/bcm/bcm2xxx_gpio.rs index e6f5f7ca..1bcc9a64 100644 --- a/08_timestamps/src/bsp/driver/bcm/bcm2xxx_gpio.rs +++ b/08_timestamps/src/bsp/driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! GPIO driver. diff --git a/08_timestamps/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs b/08_timestamps/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs index f55b36f4..f5719151 100644 --- a/08_timestamps/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs +++ b/08_timestamps/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! PL011 UART driver. diff --git a/08_timestamps/src/bsp/rpi.rs b/08_timestamps/src/bsp/rpi.rs index 0acb693c..336db45a 100644 --- a/08_timestamps/src/bsp/rpi.rs +++ b/08_timestamps/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/08_timestamps/src/bsp/rpi/link.ld b/08_timestamps/src/bsp/rpi/link.ld index 2e3ba4f7..eb1caad0 100644 --- a/08_timestamps/src/bsp/rpi/link.ld +++ b/08_timestamps/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/08_timestamps/src/bsp/rpi/memory_map.rs b/08_timestamps/src/bsp/rpi/memory_map.rs index 4176837b..6e0d6d80 100644 --- a/08_timestamps/src/bsp/rpi/memory_map.rs +++ b/08_timestamps/src/bsp/rpi/memory_map.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The board's memory map. diff --git a/08_timestamps/src/interface.rs b/08_timestamps/src/interface.rs index 8a547ab3..d08f2077 100644 --- a/08_timestamps/src/interface.rs +++ b/08_timestamps/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/08_timestamps/src/main.rs b/08_timestamps/src/main.rs index 0406f9e0..28aee64d 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/08_timestamps/src/panic_wait.rs b/08_timestamps/src/panic_wait.rs index 6ae8488a..e8f1d1fd 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! A panic handler that infinitely waits. diff --git a/08_timestamps/src/print.rs b/08_timestamps/src/print.rs index 16f1fb21..1d0736af 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Printing facilities. diff --git a/08_timestamps/src/runtime_init.rs b/08_timestamps/src/runtime_init.rs index 5c60c2b5..a857dbf9 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/09_hw_debug_JTAG/Makefile b/09_hw_debug_JTAG/Makefile index a733f71b..3d6304af 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-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/09_hw_debug_JTAG/src/arch.rs b/09_hw_debug_JTAG/src/arch.rs index ee958823..005f848b 100644 --- a/09_hw_debug_JTAG/src/arch.rs +++ b/09_hw_debug_JTAG/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/09_hw_debug_JTAG/src/arch/aarch64.rs b/09_hw_debug_JTAG/src/arch/aarch64.rs index 9424655b..0f2ebd32 100644 --- a/09_hw_debug_JTAG/src/arch/aarch64.rs +++ b/09_hw_debug_JTAG/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/09_hw_debug_JTAG/src/arch/aarch64/sync.rs b/09_hw_debug_JTAG/src/arch/aarch64/sync.rs index 7e8781e6..1d1e459f 100644 --- a/09_hw_debug_JTAG/src/arch/aarch64/sync.rs +++ b/09_hw_debug_JTAG/src/arch/aarch64/sync.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Synchronization primitives. diff --git a/09_hw_debug_JTAG/src/arch/aarch64/time.rs b/09_hw_debug_JTAG/src/arch/aarch64/time.rs index d4fa88f1..249c498a 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Timer primitives. diff --git a/09_hw_debug_JTAG/src/bsp.rs b/09_hw_debug_JTAG/src/bsp.rs index 2193a046..4d7861bb 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/09_hw_debug_JTAG/src/bsp/driver.rs b/09_hw_debug_JTAG/src/bsp/driver.rs index 2c52ae61..f75093a5 100644 --- a/09_hw_debug_JTAG/src/bsp/driver.rs +++ b/09_hw_debug_JTAG/src/bsp/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Drivers. diff --git a/09_hw_debug_JTAG/src/bsp/driver/bcm.rs b/09_hw_debug_JTAG/src/bsp/driver/bcm.rs index 33383276..40232f30 100644 --- a/09_hw_debug_JTAG/src/bsp/driver/bcm.rs +++ b/09_hw_debug_JTAG/src/bsp/driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! BCM driver top level. diff --git a/09_hw_debug_JTAG/src/bsp/driver/bcm/bcm2xxx_gpio.rs b/09_hw_debug_JTAG/src/bsp/driver/bcm/bcm2xxx_gpio.rs index e6f5f7ca..1bcc9a64 100644 --- a/09_hw_debug_JTAG/src/bsp/driver/bcm/bcm2xxx_gpio.rs +++ b/09_hw_debug_JTAG/src/bsp/driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! GPIO driver. diff --git a/09_hw_debug_JTAG/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs b/09_hw_debug_JTAG/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs index f55b36f4..f5719151 100644 --- a/09_hw_debug_JTAG/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs +++ b/09_hw_debug_JTAG/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! PL011 UART driver. diff --git a/09_hw_debug_JTAG/src/bsp/rpi.rs b/09_hw_debug_JTAG/src/bsp/rpi.rs index 0acb693c..336db45a 100644 --- a/09_hw_debug_JTAG/src/bsp/rpi.rs +++ b/09_hw_debug_JTAG/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/09_hw_debug_JTAG/src/bsp/rpi/link.ld b/09_hw_debug_JTAG/src/bsp/rpi/link.ld index 2e3ba4f7..eb1caad0 100644 --- a/09_hw_debug_JTAG/src/bsp/rpi/link.ld +++ b/09_hw_debug_JTAG/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/09_hw_debug_JTAG/src/bsp/rpi/memory_map.rs b/09_hw_debug_JTAG/src/bsp/rpi/memory_map.rs index 4176837b..6e0d6d80 100644 --- a/09_hw_debug_JTAG/src/bsp/rpi/memory_map.rs +++ b/09_hw_debug_JTAG/src/bsp/rpi/memory_map.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The board's memory map. diff --git a/09_hw_debug_JTAG/src/interface.rs b/09_hw_debug_JTAG/src/interface.rs index 8a547ab3..d08f2077 100644 --- a/09_hw_debug_JTAG/src/interface.rs +++ b/09_hw_debug_JTAG/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/09_hw_debug_JTAG/src/main.rs b/09_hw_debug_JTAG/src/main.rs index 0406f9e0..28aee64d 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/09_hw_debug_JTAG/src/panic_wait.rs b/09_hw_debug_JTAG/src/panic_wait.rs index 6ae8488a..e8f1d1fd 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 16f1fb21..1d0736af 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 5c60c2b5..a857dbf9 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/10_privilege_level/Makefile b/10_privilege_level/Makefile index a733f71b..3d6304af 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-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/10_privilege_level/README.md b/10_privilege_level/README.md index d44fb880..41077d6b 100644 --- a/10_privilege_level/README.md +++ b/10_privilege_level/README.md @@ -227,7 +227,7 @@ diff -uNr 09_hw_debug_JTAG/src/arch/aarch64/exception.rs 10_privilege_level/src/ @@ -0,0 +1,48 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! Exception handling. + diff --git a/10_privilege_level/src/arch.rs b/10_privilege_level/src/arch.rs index 84a480e0..c3a24d0d 100644 --- a/10_privilege_level/src/arch.rs +++ b/10_privilege_level/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/10_privilege_level/src/arch/aarch64.rs b/10_privilege_level/src/arch/aarch64.rs index f4838c22..847ed237 100644 --- a/10_privilege_level/src/arch/aarch64.rs +++ b/10_privilege_level/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/10_privilege_level/src/arch/aarch64/exception.rs b/10_privilege_level/src/arch/aarch64/exception.rs index b1f725ff..acfe13df 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Exception handling. diff --git a/10_privilege_level/src/arch/aarch64/sync.rs b/10_privilege_level/src/arch/aarch64/sync.rs index 7e8781e6..1d1e459f 100644 --- a/10_privilege_level/src/arch/aarch64/sync.rs +++ b/10_privilege_level/src/arch/aarch64/sync.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Synchronization primitives. diff --git a/10_privilege_level/src/arch/aarch64/time.rs b/10_privilege_level/src/arch/aarch64/time.rs index d4fa88f1..249c498a 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Timer primitives. diff --git a/10_privilege_level/src/bsp.rs b/10_privilege_level/src/bsp.rs index 2193a046..4d7861bb 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/10_privilege_level/src/bsp/driver.rs b/10_privilege_level/src/bsp/driver.rs index 2c52ae61..f75093a5 100644 --- a/10_privilege_level/src/bsp/driver.rs +++ b/10_privilege_level/src/bsp/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Drivers. diff --git a/10_privilege_level/src/bsp/driver/bcm.rs b/10_privilege_level/src/bsp/driver/bcm.rs index 33383276..40232f30 100644 --- a/10_privilege_level/src/bsp/driver/bcm.rs +++ b/10_privilege_level/src/bsp/driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! BCM driver top level. diff --git a/10_privilege_level/src/bsp/driver/bcm/bcm2xxx_gpio.rs b/10_privilege_level/src/bsp/driver/bcm/bcm2xxx_gpio.rs index e6f5f7ca..1bcc9a64 100644 --- a/10_privilege_level/src/bsp/driver/bcm/bcm2xxx_gpio.rs +++ b/10_privilege_level/src/bsp/driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! GPIO driver. diff --git a/10_privilege_level/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs b/10_privilege_level/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs index f55b36f4..f5719151 100644 --- a/10_privilege_level/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs +++ b/10_privilege_level/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! PL011 UART driver. diff --git a/10_privilege_level/src/bsp/rpi.rs b/10_privilege_level/src/bsp/rpi.rs index 0acb693c..336db45a 100644 --- a/10_privilege_level/src/bsp/rpi.rs +++ b/10_privilege_level/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/10_privilege_level/src/bsp/rpi/link.ld b/10_privilege_level/src/bsp/rpi/link.ld index 2e3ba4f7..eb1caad0 100644 --- a/10_privilege_level/src/bsp/rpi/link.ld +++ b/10_privilege_level/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/10_privilege_level/src/bsp/rpi/memory_map.rs b/10_privilege_level/src/bsp/rpi/memory_map.rs index 4176837b..6e0d6d80 100644 --- a/10_privilege_level/src/bsp/rpi/memory_map.rs +++ b/10_privilege_level/src/bsp/rpi/memory_map.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The board's memory map. diff --git a/10_privilege_level/src/interface.rs b/10_privilege_level/src/interface.rs index 8a547ab3..d08f2077 100644 --- a/10_privilege_level/src/interface.rs +++ b/10_privilege_level/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/10_privilege_level/src/main.rs b/10_privilege_level/src/main.rs index 32463785..ad80717e 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/10_privilege_level/src/panic_wait.rs b/10_privilege_level/src/panic_wait.rs index 6ae8488a..e8f1d1fd 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 16f1fb21..1d0736af 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Printing facilities. diff --git a/10_privilege_level/src/runtime_init.rs b/10_privilege_level/src/runtime_init.rs index 5c60c2b5..a857dbf9 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/11_virtual_memory/Makefile b/11_virtual_memory/Makefile index a733f71b..3d6304af 100644 --- a/11_virtual_memory/Makefile +++ b/11_virtual_memory/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/11_virtual_memory/README.md b/11_virtual_memory/README.md index 7bcb178a..f6b635f8 100644 --- a/11_virtual_memory/README.md +++ b/11_virtual_memory/README.md @@ -286,7 +286,7 @@ diff -uNr 10_privilege_level/src/arch/aarch64/mmu.rs 11_virtual_memory/src/arch/ @@ -0,0 +1,300 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! Memory Management Unit. +//! @@ -669,7 +669,7 @@ diff -uNr 10_privilege_level/src/bsp/rpi/virt_mem_layout.rs 11_virtual_memory/sr @@ -0,0 +1,82 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! The virtual memory layout. +//! @@ -881,7 +881,7 @@ diff -uNr 10_privilege_level/src/memory.rs 11_virtual_memory/src/memory.rs @@ -0,0 +1,147 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +//! Memory Management. + diff --git a/11_virtual_memory/src/arch.rs b/11_virtual_memory/src/arch.rs index 84a480e0..c3a24d0d 100644 --- a/11_virtual_memory/src/arch.rs +++ b/11_virtual_memory/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/11_virtual_memory/src/arch/aarch64.rs b/11_virtual_memory/src/arch/aarch64.rs index 5ea01703..dccf866e 100644 --- a/11_virtual_memory/src/arch/aarch64.rs +++ b/11_virtual_memory/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/11_virtual_memory/src/arch/aarch64/exception.rs b/11_virtual_memory/src/arch/aarch64/exception.rs index b1f725ff..acfe13df 100644 --- a/11_virtual_memory/src/arch/aarch64/exception.rs +++ b/11_virtual_memory/src/arch/aarch64/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Exception handling. diff --git a/11_virtual_memory/src/arch/aarch64/mmu.rs b/11_virtual_memory/src/arch/aarch64/mmu.rs index 0c0c9202..27915e4a 100644 --- a/11_virtual_memory/src/arch/aarch64/mmu.rs +++ b/11_virtual_memory/src/arch/aarch64/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Memory Management Unit. //! diff --git a/11_virtual_memory/src/arch/aarch64/sync.rs b/11_virtual_memory/src/arch/aarch64/sync.rs index 7e8781e6..1d1e459f 100644 --- a/11_virtual_memory/src/arch/aarch64/sync.rs +++ b/11_virtual_memory/src/arch/aarch64/sync.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Synchronization primitives. diff --git a/11_virtual_memory/src/arch/aarch64/time.rs b/11_virtual_memory/src/arch/aarch64/time.rs index d4fa88f1..249c498a 100644 --- a/11_virtual_memory/src/arch/aarch64/time.rs +++ b/11_virtual_memory/src/arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Timer primitives. diff --git a/11_virtual_memory/src/bsp.rs b/11_virtual_memory/src/bsp.rs index c70d86ef..7b246afa 100644 --- a/11_virtual_memory/src/bsp.rs +++ b/11_virtual_memory/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/11_virtual_memory/src/bsp/driver.rs b/11_virtual_memory/src/bsp/driver.rs index 2c52ae61..f75093a5 100644 --- a/11_virtual_memory/src/bsp/driver.rs +++ b/11_virtual_memory/src/bsp/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Drivers. diff --git a/11_virtual_memory/src/bsp/driver/bcm.rs b/11_virtual_memory/src/bsp/driver/bcm.rs index 33383276..40232f30 100644 --- a/11_virtual_memory/src/bsp/driver/bcm.rs +++ b/11_virtual_memory/src/bsp/driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! BCM driver top level. diff --git a/11_virtual_memory/src/bsp/driver/bcm/bcm2xxx_gpio.rs b/11_virtual_memory/src/bsp/driver/bcm/bcm2xxx_gpio.rs index e6f5f7ca..1bcc9a64 100644 --- a/11_virtual_memory/src/bsp/driver/bcm/bcm2xxx_gpio.rs +++ b/11_virtual_memory/src/bsp/driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! GPIO driver. diff --git a/11_virtual_memory/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs b/11_virtual_memory/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs index f55b36f4..f5719151 100644 --- a/11_virtual_memory/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs +++ b/11_virtual_memory/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! PL011 UART driver. diff --git a/11_virtual_memory/src/bsp/rpi.rs b/11_virtual_memory/src/bsp/rpi.rs index 93120316..bdb76c81 100644 --- a/11_virtual_memory/src/bsp/rpi.rs +++ b/11_virtual_memory/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/11_virtual_memory/src/bsp/rpi/link.ld b/11_virtual_memory/src/bsp/rpi/link.ld index 5745d96d..b7aa5842 100644 --- a/11_virtual_memory/src/bsp/rpi/link.ld +++ b/11_virtual_memory/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/11_virtual_memory/src/bsp/rpi/memory_map.rs b/11_virtual_memory/src/bsp/rpi/memory_map.rs index 42615582..18505939 100644 --- a/11_virtual_memory/src/bsp/rpi/memory_map.rs +++ b/11_virtual_memory/src/bsp/rpi/memory_map.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The board's memory map. diff --git a/11_virtual_memory/src/bsp/rpi/virt_mem_layout.rs b/11_virtual_memory/src/bsp/rpi/virt_mem_layout.rs index dedebc1d..7d07f462 100644 --- a/11_virtual_memory/src/bsp/rpi/virt_mem_layout.rs +++ b/11_virtual_memory/src/bsp/rpi/virt_mem_layout.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The virtual memory layout. //! diff --git a/11_virtual_memory/src/interface.rs b/11_virtual_memory/src/interface.rs index 19dad63c..021b0009 100644 --- a/11_virtual_memory/src/interface.rs +++ b/11_virtual_memory/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/11_virtual_memory/src/main.rs b/11_virtual_memory/src/main.rs index 640d29ed..0303b25f 100644 --- a/11_virtual_memory/src/main.rs +++ b/11_virtual_memory/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/11_virtual_memory/src/memory.rs b/11_virtual_memory/src/memory.rs index e9c21ab3..f72fe0ad 100644 --- a/11_virtual_memory/src/memory.rs +++ b/11_virtual_memory/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Memory Management. diff --git a/11_virtual_memory/src/panic_wait.rs b/11_virtual_memory/src/panic_wait.rs index 6ae8488a..e8f1d1fd 100644 --- a/11_virtual_memory/src/panic_wait.rs +++ b/11_virtual_memory/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! A panic handler that infinitely waits. diff --git a/11_virtual_memory/src/print.rs b/11_virtual_memory/src/print.rs index 16f1fb21..1d0736af 100644 --- a/11_virtual_memory/src/print.rs +++ b/11_virtual_memory/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Printing facilities. diff --git a/11_virtual_memory/src/runtime_init.rs b/11_virtual_memory/src/runtime_init.rs index 5c60c2b5..a857dbf9 100644 --- a/11_virtual_memory/src/runtime_init.rs +++ b/11_virtual_memory/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/12_cpu_exceptions_part1/Makefile b/12_cpu_exceptions_part1/Makefile index a733f71b..3d6304af 100644 --- a/12_cpu_exceptions_part1/Makefile +++ b/12_cpu_exceptions_part1/Makefile @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: MIT OR Apache-2.0 ## -## Copyright (c) 2018-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/12_cpu_exceptions_part1/README.md b/12_cpu_exceptions_part1/README.md index f06ed02c..f351ad0f 100644 --- a/12_cpu_exceptions_part1/README.md +++ b/12_cpu_exceptions_part1/README.md @@ -732,7 +732,7 @@ diff -uNr 11_virtual_memory/src/arch/aarch64/exception.S 12_cpu_exceptions_part1 @@ -0,0 +1,133 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +/// Call the function provided by parameter `\handler` after saving exception context. Provide the +/// context as the first parameter to '\handler'. diff --git a/12_cpu_exceptions_part1/src/arch.rs b/12_cpu_exceptions_part1/src/arch.rs index 84a480e0..c3a24d0d 100644 --- a/12_cpu_exceptions_part1/src/arch.rs +++ b/12_cpu_exceptions_part1/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/12_cpu_exceptions_part1/src/arch/aarch64.rs b/12_cpu_exceptions_part1/src/arch/aarch64.rs index 9bfeab18..7e856765 100644 --- a/12_cpu_exceptions_part1/src/arch/aarch64.rs +++ b/12_cpu_exceptions_part1/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/12_cpu_exceptions_part1/src/arch/aarch64/exception.S b/12_cpu_exceptions_part1/src/arch/aarch64/exception.S index 3ed770b2..b358be7e 100644 --- a/12_cpu_exceptions_part1/src/arch/aarch64/exception.S +++ b/12_cpu_exceptions_part1/src/arch/aarch64/exception.S @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter /// Call the function provided by parameter `\handler` after saving exception context. Provide the /// context as the first parameter to '\handler'. diff --git a/12_cpu_exceptions_part1/src/arch/aarch64/exception.rs b/12_cpu_exceptions_part1/src/arch/aarch64/exception.rs index b8e65211..d02d50d4 100644 --- a/12_cpu_exceptions_part1/src/arch/aarch64/exception.rs +++ b/12_cpu_exceptions_part1/src/arch/aarch64/exception.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Exception handling. diff --git a/12_cpu_exceptions_part1/src/arch/aarch64/mmu.rs b/12_cpu_exceptions_part1/src/arch/aarch64/mmu.rs index 0c0c9202..27915e4a 100644 --- a/12_cpu_exceptions_part1/src/arch/aarch64/mmu.rs +++ b/12_cpu_exceptions_part1/src/arch/aarch64/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Memory Management Unit. //! diff --git a/12_cpu_exceptions_part1/src/arch/aarch64/sync.rs b/12_cpu_exceptions_part1/src/arch/aarch64/sync.rs index 7e8781e6..1d1e459f 100644 --- a/12_cpu_exceptions_part1/src/arch/aarch64/sync.rs +++ b/12_cpu_exceptions_part1/src/arch/aarch64/sync.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Synchronization primitives. diff --git a/12_cpu_exceptions_part1/src/arch/aarch64/time.rs b/12_cpu_exceptions_part1/src/arch/aarch64/time.rs index d4fa88f1..249c498a 100644 --- a/12_cpu_exceptions_part1/src/arch/aarch64/time.rs +++ b/12_cpu_exceptions_part1/src/arch/aarch64/time.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Timer primitives. diff --git a/12_cpu_exceptions_part1/src/bsp.rs b/12_cpu_exceptions_part1/src/bsp.rs index 2193a046..4d7861bb 100644 --- a/12_cpu_exceptions_part1/src/bsp.rs +++ b/12_cpu_exceptions_part1/src/bsp.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/12_cpu_exceptions_part1/src/bsp/driver.rs b/12_cpu_exceptions_part1/src/bsp/driver.rs index 2c52ae61..f75093a5 100644 --- a/12_cpu_exceptions_part1/src/bsp/driver.rs +++ b/12_cpu_exceptions_part1/src/bsp/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Drivers. diff --git a/12_cpu_exceptions_part1/src/bsp/driver/bcm.rs b/12_cpu_exceptions_part1/src/bsp/driver/bcm.rs index 33383276..40232f30 100644 --- a/12_cpu_exceptions_part1/src/bsp/driver/bcm.rs +++ b/12_cpu_exceptions_part1/src/bsp/driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! BCM driver top level. diff --git a/12_cpu_exceptions_part1/src/bsp/driver/bcm/bcm2xxx_gpio.rs b/12_cpu_exceptions_part1/src/bsp/driver/bcm/bcm2xxx_gpio.rs index e6f5f7ca..1bcc9a64 100644 --- a/12_cpu_exceptions_part1/src/bsp/driver/bcm/bcm2xxx_gpio.rs +++ b/12_cpu_exceptions_part1/src/bsp/driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! GPIO driver. diff --git a/12_cpu_exceptions_part1/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs b/12_cpu_exceptions_part1/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs index f55b36f4..f5719151 100644 --- a/12_cpu_exceptions_part1/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs +++ b/12_cpu_exceptions_part1/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! PL011 UART driver. diff --git a/12_cpu_exceptions_part1/src/bsp/rpi.rs b/12_cpu_exceptions_part1/src/bsp/rpi.rs index 93120316..bdb76c81 100644 --- a/12_cpu_exceptions_part1/src/bsp/rpi.rs +++ b/12_cpu_exceptions_part1/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/12_cpu_exceptions_part1/src/bsp/rpi/link.ld b/12_cpu_exceptions_part1/src/bsp/rpi/link.ld index 5745d96d..b7aa5842 100644 --- a/12_cpu_exceptions_part1/src/bsp/rpi/link.ld +++ b/12_cpu_exceptions_part1/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/12_cpu_exceptions_part1/src/bsp/rpi/memory_map.rs b/12_cpu_exceptions_part1/src/bsp/rpi/memory_map.rs index 42615582..18505939 100644 --- a/12_cpu_exceptions_part1/src/bsp/rpi/memory_map.rs +++ b/12_cpu_exceptions_part1/src/bsp/rpi/memory_map.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The board's memory map. diff --git a/12_cpu_exceptions_part1/src/bsp/rpi/virt_mem_layout.rs b/12_cpu_exceptions_part1/src/bsp/rpi/virt_mem_layout.rs index 5286c852..d266f69d 100644 --- a/12_cpu_exceptions_part1/src/bsp/rpi/virt_mem_layout.rs +++ b/12_cpu_exceptions_part1/src/bsp/rpi/virt_mem_layout.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The virtual memory layout. //! diff --git a/12_cpu_exceptions_part1/src/interface.rs b/12_cpu_exceptions_part1/src/interface.rs index 19dad63c..021b0009 100644 --- a/12_cpu_exceptions_part1/src/interface.rs +++ b/12_cpu_exceptions_part1/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/12_cpu_exceptions_part1/src/main.rs b/12_cpu_exceptions_part1/src/main.rs index d74bcee8..65f06ce7 100644 --- a/12_cpu_exceptions_part1/src/main.rs +++ b/12_cpu_exceptions_part1/src/main.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/12_cpu_exceptions_part1/src/memory.rs b/12_cpu_exceptions_part1/src/memory.rs index 2b6637db..955467d8 100644 --- a/12_cpu_exceptions_part1/src/memory.rs +++ b/12_cpu_exceptions_part1/src/memory.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Memory Management. diff --git a/12_cpu_exceptions_part1/src/panic_wait.rs b/12_cpu_exceptions_part1/src/panic_wait.rs index 6ae8488a..e8f1d1fd 100644 --- a/12_cpu_exceptions_part1/src/panic_wait.rs +++ b/12_cpu_exceptions_part1/src/panic_wait.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! A panic handler that infinitely waits. diff --git a/12_cpu_exceptions_part1/src/print.rs b/12_cpu_exceptions_part1/src/print.rs index 16f1fb21..1d0736af 100644 --- a/12_cpu_exceptions_part1/src/print.rs +++ b/12_cpu_exceptions_part1/src/print.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Printing facilities. diff --git a/12_cpu_exceptions_part1/src/runtime_init.rs b/12_cpu_exceptions_part1/src/runtime_init.rs index 5c60c2b5..a857dbf9 100644 --- a/12_cpu_exceptions_part1/src/runtime_init.rs +++ b/12_cpu_exceptions_part1/src/runtime_init.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/13_integrated_testing/README.md b/13_integrated_testing/README.md index 1ddacefd..d317070a 100644 --- a/13_integrated_testing/README.md +++ b/13_integrated_testing/README.md @@ -810,14 +810,6 @@ diff -uNr 12_cpu_exceptions_part1/Cargo.toml 13_integrated_testing/Cargo.toml diff -uNr 12_cpu_exceptions_part1/Makefile 13_integrated_testing/Makefile --- 12_cpu_exceptions_part1/Makefile +++ 13_integrated_testing/Makefile -@@ -1,6 +1,6 @@ - ## SPDX-License-Identifier: MIT OR Apache-2.0 - ## --## Copyright (c) 2018-2019 Andre Richter -+## Copyright (c) 2018-2020 Andre Richter - - # Default to the RPi3 - ifndef BSP @@ -13,7 +13,8 @@ OUTPUT = kernel8.img QEMU_BINARY = qemu-system-aarch64 @@ -973,7 +965,7 @@ diff -uNr 12_cpu_exceptions_part1/patches/src/lib.rs 13_integrated_testing/patch @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019 Andre Richter ++// Copyright (c) 2019-2020 Andre Richter + +//! Fix for register-rs. +//! @@ -1166,7 +1158,7 @@ diff -uNr 12_cpu_exceptions_part1/src/lib.rs 13_integrated_testing/src/lib.rs @@ -0,0 +1,69 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2018-2019 Andre Richter ++// Copyright (c) 2018-2020 Andre Richter + +// Rust embedded logo for `make doc`. +#![doc(html_logo_url = "https://git.io/JeGIp")] @@ -1441,7 +1433,7 @@ diff -uNr 12_cpu_exceptions_part1/test-macros/src/lib.rs 13_integrated_testing/t @@ -0,0 +1,31 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019 Andre Richter ++// Copyright (c) 2019-2020 Andre Richter + +extern crate proc_macro; + @@ -1479,7 +1471,7 @@ diff -uNr 12_cpu_exceptions_part1/tests/00_interface_sanity_console.rb 13_integr + +# SPDX-License-Identifier: MIT OR Apache-2.0 +# -+# Copyright (c) 2019 Andre Richter ++# Copyright (c) 2019-2020 Andre Richter + +require 'expect' + @@ -1532,7 +1524,7 @@ diff -uNr 12_cpu_exceptions_part1/tests/00_interface_sanity_console.rs 13_integr @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019 Andre Richter ++// Copyright (c) 2019-2020 Andre Richter + +//! Console sanity tests - RX, TX and statistics. + @@ -1570,7 +1562,7 @@ diff -uNr 12_cpu_exceptions_part1/tests/01_interface_sanity_timer.rs 13_integrat @@ -0,0 +1,50 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019 Andre Richter ++// Copyright (c) 2019-2020 Andre Richter + +//! Timer sanity tests. + @@ -1625,7 +1617,7 @@ diff -uNr 12_cpu_exceptions_part1/tests/02_arch_exception_handling.rs 13_integra @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019 Andre Richter ++// Copyright (c) 2019-2020 Andre Richter + +//! Page faults must result in synchronous exceptions. + @@ -1672,7 +1664,7 @@ diff -uNr 12_cpu_exceptions_part1/tests/panic_exit_failure/mod.rs 13_integrated_ @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019 Andre Richter ++// Copyright (c) 2019-2020 Andre Richter + +/// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version. +#[no_mangle] @@ -1686,7 +1678,7 @@ diff -uNr 12_cpu_exceptions_part1/tests/panic_exit_success/mod.rs 13_integrated_ @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019 Andre Richter ++// Copyright (c) 2019-2020 Andre Richter + +/// Overwrites libkernel's `panic_wait::_panic_exit()` with the QEMU-exit version. +#[no_mangle] @@ -1703,7 +1695,7 @@ diff -uNr 12_cpu_exceptions_part1/tests/runner.rb 13_integrated_testing/tests/ru + +# SPDX-License-Identifier: MIT OR Apache-2.0 +# -+# Copyright (c) 2019 Andre Richter ++# Copyright (c) 2019-2020 Andre Richter + +require 'pty' + @@ -1852,7 +1844,7 @@ diff -uNr 12_cpu_exceptions_part1/test-types/src/lib.rs 13_integrated_testing/te @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: MIT OR Apache-2.0 +// -+// Copyright (c) 2019 Andre Richter ++// Copyright (c) 2019-2020 Andre Richter + +//! Types for the `custom_test_frameworks` implementation. + diff --git a/13_integrated_testing/patches/src/lib.rs b/13_integrated_testing/patches/src/lib.rs index 0ea6cc15..3d27e21c 100644 --- a/13_integrated_testing/patches/src/lib.rs +++ b/13_integrated_testing/patches/src/lib.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019 Andre Richter +// Copyright (c) 2019-2020 Andre Richter //! Fix for register-rs. //! diff --git a/13_integrated_testing/src/arch.rs b/13_integrated_testing/src/arch.rs index 73e49acc..98ffc4df 100644 --- a/13_integrated_testing/src/arch.rs +++ b/13_integrated_testing/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/13_integrated_testing/src/arch/aarch64.rs b/13_integrated_testing/src/arch/aarch64.rs index b2fb0b39..db0a7e8b 100644 --- a/13_integrated_testing/src/arch/aarch64.rs +++ b/13_integrated_testing/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/13_integrated_testing/src/arch/aarch64/exception.S b/13_integrated_testing/src/arch/aarch64/exception.S index 3ed770b2..b358be7e 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter /// Call the function provided by parameter `\handler` after saving 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 fe2551ad..c9cbcc66 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Exception handling. diff --git a/13_integrated_testing/src/arch/aarch64/mmu.rs b/13_integrated_testing/src/arch/aarch64/mmu.rs index 0c0c9202..27915e4a 100644 --- a/13_integrated_testing/src/arch/aarch64/mmu.rs +++ b/13_integrated_testing/src/arch/aarch64/mmu.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Memory Management Unit. //! diff --git a/13_integrated_testing/src/arch/aarch64/sync.rs b/13_integrated_testing/src/arch/aarch64/sync.rs index 7e8781e6..1d1e459f 100644 --- a/13_integrated_testing/src/arch/aarch64/sync.rs +++ b/13_integrated_testing/src/arch/aarch64/sync.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Synchronization primitives. diff --git a/13_integrated_testing/src/arch/aarch64/time.rs b/13_integrated_testing/src/arch/aarch64/time.rs index d4fa88f1..249c498a 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Timer primitives. diff --git a/13_integrated_testing/src/bsp.rs b/13_integrated_testing/src/bsp.rs index 01856311..3831fb7b 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/13_integrated_testing/src/bsp/driver.rs b/13_integrated_testing/src/bsp/driver.rs index 2c52ae61..f75093a5 100644 --- a/13_integrated_testing/src/bsp/driver.rs +++ b/13_integrated_testing/src/bsp/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Drivers. diff --git a/13_integrated_testing/src/bsp/driver/bcm.rs b/13_integrated_testing/src/bsp/driver/bcm.rs index 33383276..40232f30 100644 --- a/13_integrated_testing/src/bsp/driver/bcm.rs +++ b/13_integrated_testing/src/bsp/driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! BCM driver top level. diff --git a/13_integrated_testing/src/bsp/driver/bcm/bcm2xxx_gpio.rs b/13_integrated_testing/src/bsp/driver/bcm/bcm2xxx_gpio.rs index f3860fe6..97ebc1af 100644 --- a/13_integrated_testing/src/bsp/driver/bcm/bcm2xxx_gpio.rs +++ b/13_integrated_testing/src/bsp/driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! GPIO driver. diff --git a/13_integrated_testing/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs b/13_integrated_testing/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs index 5fab617b..e59fef56 100644 --- a/13_integrated_testing/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs +++ b/13_integrated_testing/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! PL011 UART driver. diff --git a/13_integrated_testing/src/bsp/rpi.rs b/13_integrated_testing/src/bsp/rpi.rs index 131b9d30..51ef045d 100644 --- a/13_integrated_testing/src/bsp/rpi.rs +++ b/13_integrated_testing/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/13_integrated_testing/src/bsp/rpi/link.ld b/13_integrated_testing/src/bsp/rpi/link.ld index 5745d96d..b7aa5842 100644 --- a/13_integrated_testing/src/bsp/rpi/link.ld +++ b/13_integrated_testing/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/13_integrated_testing/src/bsp/rpi/memory_map.rs b/13_integrated_testing/src/bsp/rpi/memory_map.rs index 42615582..18505939 100644 --- a/13_integrated_testing/src/bsp/rpi/memory_map.rs +++ b/13_integrated_testing/src/bsp/rpi/memory_map.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The board's memory map. diff --git a/13_integrated_testing/src/bsp/rpi/virt_mem_layout.rs b/13_integrated_testing/src/bsp/rpi/virt_mem_layout.rs index 5286c852..d266f69d 100644 --- a/13_integrated_testing/src/bsp/rpi/virt_mem_layout.rs +++ b/13_integrated_testing/src/bsp/rpi/virt_mem_layout.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The virtual memory layout. //! diff --git a/13_integrated_testing/src/interface.rs b/13_integrated_testing/src/interface.rs index 19dad63c..021b0009 100644 --- a/13_integrated_testing/src/interface.rs +++ b/13_integrated_testing/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/13_integrated_testing/src/lib.rs b/13_integrated_testing/src/lib.rs index 8857dddb..1bc187bb 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 31b5b50d..8551f677 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 058516ad..63864176 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Memory Management. diff --git a/13_integrated_testing/src/panic_wait.rs b/13_integrated_testing/src/panic_wait.rs index f6f7f7ce..6c873045 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 16f1fb21..1d0736af 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Printing facilities. diff --git a/13_integrated_testing/src/runtime_init.rs b/13_integrated_testing/src/runtime_init.rs index 56e9a650..f67cc5d6 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/13_integrated_testing/test-macros/src/lib.rs b/13_integrated_testing/test-macros/src/lib.rs index f730309d..6a431c9b 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 Andre Richter +// Copyright (c) 2019-2020 Andre Richter extern crate proc_macro; diff --git a/13_integrated_testing/test-types/src/lib.rs b/13_integrated_testing/test-types/src/lib.rs index 91739735..371bb557 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 Andre Richter +// Copyright (c) 2019-2020 Andre Richter //! Types for the `custom_test_frameworks` implementation. diff --git a/13_integrated_testing/tests/00_interface_sanity_console.rb b/13_integrated_testing/tests/00_interface_sanity_console.rb index f20f40a0..a6b549b2 100644 --- a/13_integrated_testing/tests/00_interface_sanity_console.rb +++ b/13_integrated_testing/tests/00_interface_sanity_console.rb @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2019 Andre Richter +# Copyright (c) 2019-2020 Andre Richter require 'expect' diff --git a/13_integrated_testing/tests/00_interface_sanity_console.rs b/13_integrated_testing/tests/00_interface_sanity_console.rs index b4d5e25d..d76376cd 100644 --- a/13_integrated_testing/tests/00_interface_sanity_console.rs +++ b/13_integrated_testing/tests/00_interface_sanity_console.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019 Andre Richter +// Copyright (c) 2019-2020 Andre Richter //! Console sanity tests - RX, TX and statistics. diff --git a/13_integrated_testing/tests/01_interface_sanity_timer.rs b/13_integrated_testing/tests/01_interface_sanity_timer.rs index 982c8387..b8711d7a 100644 --- a/13_integrated_testing/tests/01_interface_sanity_timer.rs +++ b/13_integrated_testing/tests/01_interface_sanity_timer.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019 Andre Richter +// Copyright (c) 2019-2020 Andre Richter //! Timer sanity tests. diff --git a/13_integrated_testing/tests/02_arch_exception_handling.rs b/13_integrated_testing/tests/02_arch_exception_handling.rs index 9d90d0ea..ee24f90b 100644 --- a/13_integrated_testing/tests/02_arch_exception_handling.rs +++ b/13_integrated_testing/tests/02_arch_exception_handling.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2019 Andre Richter +// Copyright (c) 2019-2020 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 12d31b37..a7f41825 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 Andre Richter +// Copyright (c) 2019-2020 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 58a7fba7..f9a97afa 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 Andre Richter +// Copyright (c) 2019-2020 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 df22bc75..34c875bf 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 Andre Richter +# Copyright (c) 2019-2020 Andre Richter require 'pty' diff --git a/LICENSE-MIT b/LICENSE-MIT index 642ebb7a..e91db966 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,6 +1,6 @@ MIT License -Copyright (C) 2018-2019 by the respective authors +Copyright (C) 2018-2020 by the respective authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/X1_JTAG_boot/Makefile b/X1_JTAG_boot/Makefile index 826860de..ec4f9433 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-2019 Andre Richter +## Copyright (c) 2018-2020 Andre Richter # Default to the RPi3 ifndef BSP diff --git a/X1_JTAG_boot/src/arch.rs b/X1_JTAG_boot/src/arch.rs index ee958823..005f848b 100644 --- a/X1_JTAG_boot/src/arch.rs +++ b/X1_JTAG_boot/src/arch.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of processor architecture code. diff --git a/X1_JTAG_boot/src/arch/aarch64.rs b/X1_JTAG_boot/src/arch/aarch64.rs index 0d59a403..b95b4db5 100644 --- a/X1_JTAG_boot/src/arch/aarch64.rs +++ b/X1_JTAG_boot/src/arch/aarch64.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! AArch64. diff --git a/X1_JTAG_boot/src/arch/aarch64/sync.rs b/X1_JTAG_boot/src/arch/aarch64/sync.rs index 7e8781e6..1d1e459f 100644 --- a/X1_JTAG_boot/src/arch/aarch64/sync.rs +++ b/X1_JTAG_boot/src/arch/aarch64/sync.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Synchronization primitives. diff --git a/X1_JTAG_boot/src/arch/aarch64/time.rs b/X1_JTAG_boot/src/arch/aarch64/time.rs index d4fa88f1..249c498a 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Timer primitives. diff --git a/X1_JTAG_boot/src/bsp.rs b/X1_JTAG_boot/src/bsp.rs index 2193a046..4d7861bb 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Conditional exporting of Board Support Packages. diff --git a/X1_JTAG_boot/src/bsp/driver.rs b/X1_JTAG_boot/src/bsp/driver.rs index 2c52ae61..f75093a5 100644 --- a/X1_JTAG_boot/src/bsp/driver.rs +++ b/X1_JTAG_boot/src/bsp/driver.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Drivers. diff --git a/X1_JTAG_boot/src/bsp/driver/bcm.rs b/X1_JTAG_boot/src/bsp/driver/bcm.rs index 33383276..40232f30 100644 --- a/X1_JTAG_boot/src/bsp/driver/bcm.rs +++ b/X1_JTAG_boot/src/bsp/driver/bcm.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! BCM driver top level. diff --git a/X1_JTAG_boot/src/bsp/driver/bcm/bcm2xxx_gpio.rs b/X1_JTAG_boot/src/bsp/driver/bcm/bcm2xxx_gpio.rs index e92ebd98..6930cab3 100644 --- a/X1_JTAG_boot/src/bsp/driver/bcm/bcm2xxx_gpio.rs +++ b/X1_JTAG_boot/src/bsp/driver/bcm/bcm2xxx_gpio.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! GPIO driver. diff --git a/X1_JTAG_boot/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs b/X1_JTAG_boot/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs index f55b36f4..f5719151 100644 --- a/X1_JTAG_boot/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs +++ b/X1_JTAG_boot/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! PL011 UART driver. diff --git a/X1_JTAG_boot/src/bsp/rpi.rs b/X1_JTAG_boot/src/bsp/rpi.rs index d76314ba..68cc61f8 100644 --- a/X1_JTAG_boot/src/bsp/rpi.rs +++ b/X1_JTAG_boot/src/bsp/rpi.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Board Support Package for the Raspberry Pi. diff --git a/X1_JTAG_boot/src/bsp/rpi/link.ld b/X1_JTAG_boot/src/bsp/rpi/link.ld index 2e3ba4f7..eb1caad0 100644 --- a/X1_JTAG_boot/src/bsp/rpi/link.ld +++ b/X1_JTAG_boot/src/bsp/rpi/link.ld @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: MIT OR Apache-2.0 * - * Copyright (c) 2018-2019 Andre Richter + * Copyright (c) 2018-2020 Andre Richter */ SECTIONS diff --git a/X1_JTAG_boot/src/bsp/rpi/memory_map.rs b/X1_JTAG_boot/src/bsp/rpi/memory_map.rs index 4176837b..6e0d6d80 100644 --- a/X1_JTAG_boot/src/bsp/rpi/memory_map.rs +++ b/X1_JTAG_boot/src/bsp/rpi/memory_map.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! The board's memory map. diff --git a/X1_JTAG_boot/src/interface.rs b/X1_JTAG_boot/src/interface.rs index 84633d71..f566652b 100644 --- a/X1_JTAG_boot/src/interface.rs +++ b/X1_JTAG_boot/src/interface.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: MIT OR Apache-2.0 // -// Copyright (c) 2018-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Trait definitions for coupling `kernel` and `BSP` code. //! diff --git a/X1_JTAG_boot/src/main.rs b/X1_JTAG_boot/src/main.rs index a83b8371..621afece 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter // Rust embedded logo for `make doc`. #![doc(html_logo_url = "https://git.io/JeGIp")] diff --git a/X1_JTAG_boot/src/panic_wait.rs b/X1_JTAG_boot/src/panic_wait.rs index 6ae8488a..e8f1d1fd 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-2019 Andre Richter +// Copyright (c) 2018-2020 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 16f1fb21..1d0736af 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Printing facilities. diff --git a/X1_JTAG_boot/src/runtime_init.rs b/X1_JTAG_boot/src/runtime_init.rs index 5c60c2b5..a857dbf9 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-2019 Andre Richter +// Copyright (c) 2018-2020 Andre Richter //! Rust runtime initialization code. diff --git a/docker/rustembedded-osdev-utils/Dockerfile b/docker/rustembedded-osdev-utils/Dockerfile index de3ac28b..996b5422 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-2019 Andre Richter -## Copyright (c) 2019 Nao Taco +## Copyright (c) 2017-2020 Andre Richter +## Copyright (c) 2019-2020 Nao Taco FROM ubuntu:19.10 ARG VCS_REF diff --git a/docker/rustembedded-osdev-utils/Makefile b/docker/rustembedded-osdev-utils/Makefile index 6821b02b..2b83b811 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 Andre Richter +## Copyright (c) 2019-2020 Andre Richter default: docker_build diff --git a/utils/clean_all.rb b/utils/clean_all.rb index c086c661..d08ef1bb 100755 --- a/utils/clean_all.rb +++ b/utils/clean_all.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2019 Andre Richter +# Copyright (c) 2018-2020 Andre Richter require 'fileutils' require_relative 'helpers/tutorial_folders.rb' diff --git a/utils/clippy_all.rb b/utils/clippy_all.rb index 2db18978..bec09723 100755 --- a/utils/clippy_all.rb +++ b/utils/clippy_all.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2019 Andre Richter +# Copyright (c) 2018-2020 Andre Richter require_relative 'helpers/tutorial_folders.rb' diff --git a/utils/diff_all.rb b/utils/diff_all.rb index 7aa6fc0b..b2937cb6 100755 --- a/utils/diff_all.rb +++ b/utils/diff_all.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2019 Andre Richter +# Copyright (c) 2018-2020 Andre Richter require 'fileutils' require_relative 'helpers/tutorial_folders.rb' diff --git a/utils/fmt_all.rb b/utils/fmt_all.rb index d20ec323..3d734501 100755 --- a/utils/fmt_all.rb +++ b/utils/fmt_all.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2019 Andre Richter +# Copyright (c) 2018-2020 Andre Richter require_relative 'helpers/tutorial_folders.rb' diff --git a/utils/helpers/diff_tut_folders.bash b/utils/helpers/diff_tut_folders.bash index 36a16e32..86920888 100755 --- a/utils/helpers/diff_tut_folders.bash +++ b/utils/helpers/diff_tut_folders.bash @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2019 Andre Richter +# Copyright (c) 2018-2020 Andre Richter DIFF=$( diff -uNr \ @@ -12,7 +12,7 @@ DIFF=$( -x Cargo.lock \ -x target \ $1 $2 \ - | sed -r "s/[12][90][127][90]-.*//g" \ + | sed -r "s/[12][90][127][90]-[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 kernel -x kernel8.img -x Cargo.lock -x target/\ndiff -uNr/g" diff --git a/utils/make_all.rb b/utils/make_all.rb index 30c21dcc..e2d2b159 100755 --- a/utils/make_all.rb +++ b/utils/make_all.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2019 Andre Richter +# Copyright (c) 2018-2020 Andre Richter require_relative 'helpers/tutorial_folders.rb' diff --git a/utils/raspboot.bash b/utils/raspboot.bash index 85d53f49..ede1a8e9 100755 --- a/utils/raspboot.bash +++ b/utils/raspboot.bash @@ -2,7 +2,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2019 Andre Richter +# Copyright (c) 2018-2020 Andre Richter CONTAINER_UTILS="rustembedded/osdev-utils" diff --git a/utils/sanity_checks.rb b/utils/sanity_checks.rb index 7bef7aed..3bcd6943 100755 --- a/utils/sanity_checks.rb +++ b/utils/sanity_checks.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: MIT OR Apache-2.0 # -# Copyright (c) 2018-2019 Andre Richter +# Copyright (c) 2018-2020 Andre Richter require_relative 'helpers/copyrighted' require_relative 'helpers/tutorial_folders.rb'