Modify remaining years

pull/195/head
jameszow 8 months ago
parent 3f683a19b1
commit dfe4fbb7ae

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2021-2023 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Public Code

@ -1281,7 +1281,7 @@ diff -uNr 04_safe_globals/src/console/null_console.rs 05_drivers_gpio_uart/src/c
@@ -0,0 +1,41 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Null console.
+

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
/* SPDX-License-Identifier: MIT OR Apache-2.0
*
* Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
* Copyright (c) 2018-2023 Andre Richter <andre.o.richter@gmail.com>
*/
PAGE_SIZE = 64K;

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A simple sanity test to see if exception restore code works.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
/// Overwrites libkernel's `panic_wait::_panic_exit()` with wait_forever.
#[no_mangle]

@ -2611,7 +2611,7 @@ diff -uNr 12_integrated_testing/kernel/src/exception/asynchronous/null_irq_manag
@@ -0,0 +1,42 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Null IRQ Manager.
+

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null IRQ Manager.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A simple sanity test to see if exception restore code works.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
/// Overwrites libkernel's `panic_wait::_panic_exit()` with wait_forever.
#[no_mangle]

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null IRQ Manager.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A simple sanity test to see if exception restore code works.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
/// Overwrites libkernel's `panic_wait::_panic_exit()` with wait_forever.
#[no_mangle]

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null IRQ Manager.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A simple sanity test to see if exception restore code works.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
/// Overwrites libkernel's `panic_wait::_panic_exit()` with wait_forever.
#[no_mangle]

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null IRQ Manager.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A simple sanity test to see if exception restore code works.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
/// Overwrites libkernel's `panic_wait::_panic_exit()` with wait_forever.
#[no_mangle]

@ -346,7 +346,7 @@ diff -uNr 16_virtual_mem_part4_higher_half_kernel/kernel/src/symbols.rs 17_kerne
@@ -0,0 +1,88 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Debug symbol support.
+
@ -478,7 +478,7 @@ diff -uNr 16_virtual_mem_part4_higher_half_kernel/kernel_symbols/kernel_symbols.
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: MIT OR Apache-2.0
+ *
+ * Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+ * Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+ */
+
+SECTIONS
@ -498,7 +498,7 @@ diff -uNr 16_virtual_mem_part4_higher_half_kernel/kernel_symbols/src/main.rs 17_
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Generation of kernel symbols.
+
@ -650,7 +650,7 @@ diff -uNr 16_virtual_mem_part4_higher_half_kernel/libraries/debug-symbol-types/s
@@ -0,0 +1,45 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Types for implementing debug symbol support.
+
@ -783,7 +783,7 @@ diff -uNr 16_virtual_mem_part4_higher_half_kernel/tools/kernel_symbols_tool/cmds
+
+# SPDX-License-Identifier: MIT OR Apache-2.0
+#
+# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+def generate_symbols(kernel_elf, output_file)
+ File.open(output_file, 'w') do |file|
@ -913,7 +913,7 @@ diff -uNr 16_virtual_mem_part4_higher_half_kernel/tools/kernel_symbols_tool/main
+
+# SPDX-License-Identifier: MIT OR Apache-2.0
+#
+# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+require 'rubygems'
+require 'bundler/setup'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null IRQ Manager.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Debug symbol support.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A simple sanity test to see if exception restore code works.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
/// Overwrites libkernel's `panic_wait::_panic_exit()` with wait_forever.
#[no_mangle]

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Generation of kernel symbols.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Types for implementing debug symbol support.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
def generate_symbols(kernel_elf, output_file)
File.open(output_file, 'w') do |file|

@ -3,7 +3,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'rubygems'
require 'bundler/setup'

@ -400,7 +400,7 @@ diff -uNr 17_kernel_symbols/kernel/src/_arch/aarch64/backtrace.rs 18_backtrace/k
@@ -0,0 +1,136 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Architectural backtracing support.
+//!
@ -728,7 +728,7 @@ diff -uNr 17_kernel_symbols/kernel/src/backtrace.rs 18_backtrace/kernel/src/back
@@ -0,0 +1,114 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Backtracing support.
+
@ -1010,7 +1010,7 @@ diff -uNr 17_kernel_symbols/kernel/tests/05_backtrace_sanity.rb 18_backtrace/ker
+
+# SPDX-License-Identifier: MIT OR Apache-2.0
+#
+# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+require 'console_io_test'
+
@ -1052,7 +1052,7 @@ diff -uNr 17_kernel_symbols/kernel/tests/05_backtrace_sanity.rs 18_backtrace/ker
@@ -0,0 +1,31 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Test if backtracing code detects an invalid frame pointer.
+
@ -1090,7 +1090,7 @@ diff -uNr 17_kernel_symbols/kernel/tests/06_backtrace_invalid_frame.rb 18_backtr
+
+# SPDX-License-Identifier: MIT OR Apache-2.0
+#
+# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+require 'console_io_test'
+
@ -1119,7 +1119,7 @@ diff -uNr 17_kernel_symbols/kernel/tests/06_backtrace_invalid_frame.rs 18_backtr
@@ -0,0 +1,33 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Test if backtracing code detects an invalid frame pointer.
+
@ -1159,7 +1159,7 @@ diff -uNr 17_kernel_symbols/kernel/tests/07_backtrace_invalid_link.rb 18_backtra
+
+# SPDX-License-Identifier: MIT OR Apache-2.0
+#
+# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+require 'console_io_test'
+
@ -1187,7 +1187,7 @@ diff -uNr 17_kernel_symbols/kernel/tests/07_backtrace_invalid_link.rs 18_backtra
@@ -0,0 +1,38 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Test if backtracing code detects an invalid link.
+

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Architectural backtracing support.
//!

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2021-2023 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Backtracing support.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null console.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null IRQ Manager.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Debug symbol support.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A simple sanity test to see if exception restore code works.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Test if backtracing code detects an invalid frame pointer.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Test if backtracing code detects an invalid frame pointer.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Test if backtracing code detects an invalid link.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
/// Overwrites libkernel's `panic_wait::_panic_exit()` with wait_forever.
#[no_mangle]

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Generation of kernel symbols.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Types for implementing debug symbol support.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
def generate_symbols(kernel_elf, output_file)
File.open(output_file, 'w') do |file|

@ -3,7 +3,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'rubygems'
require 'bundler/setup'

@ -563,7 +563,7 @@ diff -uNr 18_backtrace/kernel/src/console/buffer_console.rs 19_kernel_heap/kerne
@@ -0,0 +1,108 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! A console that buffers input during the init phase.
+
@ -676,7 +676,7 @@ diff -uNr 18_backtrace/kernel/src/console/null_console.rs 19_kernel_heap/kernel/
@@ -1,41 +0,0 @@
-// SPDX-License-Identifier: MIT OR Apache-2.0
-//
-// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
-// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
-
-//! Null console.
-
@ -1010,7 +1010,7 @@ diff -uNr 18_backtrace/kernel/src/memory/heap_alloc.rs 19_kernel_heap/kernel/src
@@ -0,0 +1,147 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Heap allocation.
+

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Architectural backtracing support.
//!

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Backtracing support.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A console that buffers input during the init phase.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null IRQ Manager.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Heap allocation.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Debug symbol support.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A simple sanity test to see if exception restore code works.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Test if backtracing code detects an invalid frame pointer.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Test if backtracing code detects an invalid frame pointer.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Test if backtracing code detects an invalid link.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
/// Overwrites libkernel's `panic_wait::_panic_exit()` with wait_forever.
#[no_mangle]

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Generation of kernel symbols.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Types for implementing debug symbol support.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
def generate_symbols(kernel_elf, output_file)
File.open(output_file, 'w') do |file|

@ -3,7 +3,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'rubygems'
require 'bundler/setup'

@ -90,7 +90,7 @@ diff -uNr 19_kernel_heap/kernel/src/bsp/device_driver/bcm/bcm2xxx_interrupt_cont
@@ -0,0 +1,173 @@
+// SPDX-License-Identifier: MIT OR Apache-2.0
+//
+// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
+// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
+
+//! Local Interrupt Controller Driver.
+//!

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Architectural backtracing support.
//!

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2021-2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2021-2023 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2018-2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2018-2023 Andre Richter <andre.o.richter@gmail.com>
//--------------------------------------------------------------------------------------------------
// Definitions

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Backtracing support.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Local Interrupt Controller Driver.
//!

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A console that buffers input during the init phase.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Null IRQ Manager.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Heap allocation.

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Debug symbol support.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! A simple sanity test to see if exception restore code works.

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT OR Apache-2.0
#
# Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
# Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
require 'console_io_test'

@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2022 Andre Richter <andre.o.richter@gmail.com>
// Copyright (c) 2022-2023 Andre Richter <andre.o.richter@gmail.com>
//! Test if backtracing code detects an invalid frame pointer.

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save