aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/pre/include
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-01-15 16:01:16 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-01-15 16:01:16 +0100
commitf98c5fc917bf06c408be24e98f659d606f8f5cf3 (patch)
treeed9f599e1637f9135d4e67a9e81641f405ba91f9 /arch/x86_64/pre/include
parent1799e1ba1b825eda639141b0597a1783576b69da (diff)
downloadteachos-f98c5fc917bf06c408be24e98f659d606f8f5cf3.tar.xz
teachos-f98c5fc917bf06c408be24e98f659d606f8f5cf3.zip
x86_64: remove obsolete components
Diffstat (limited to 'arch/x86_64/pre/include')
-rw-r--r--arch/x86_64/pre/include/arch/exception_handling/assert.hpp17
-rw-r--r--arch/x86_64/pre/include/arch/exception_handling/panic.hpp23
2 files changed, 0 insertions, 40 deletions
diff --git a/arch/x86_64/pre/include/arch/exception_handling/assert.hpp b/arch/x86_64/pre/include/arch/exception_handling/assert.hpp
deleted file mode 100644
index 1286768..0000000
--- a/arch/x86_64/pre/include/arch/exception_handling/assert.hpp
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef TEACHOS_ARCH_X86_64_EXCEPTION_HANDLING_ASSERT_HPP
-#define TEACHOS_ARCH_X86_64_EXCEPTION_HANDLING_ASSERT_HPP
-
-namespace teachos::arch::exception_handling
-{
- /**
- * @brief Assert a condition to be true, if not do not continue
- * execution of the code and print the given message to screen.
- *
- * @param condition Condition we want to be true or else halt execution.
- * @param message Message that should be printed before halting the execution if the condition is not met.
- */
- auto assert(bool condition, char const * message) -> void;
-
-} // namespace teachos::arch::exception_handling
-
-#endif // TEACHOS_ARCH_X86_64_EXCEPTION_HANDLING_ASSERT_HPP
diff --git a/arch/x86_64/pre/include/arch/exception_handling/panic.hpp b/arch/x86_64/pre/include/arch/exception_handling/panic.hpp
deleted file mode 100644
index 6a2404c..0000000
--- a/arch/x86_64/pre/include/arch/exception_handling/panic.hpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef TEACHOS_ARCH_X86_64_EXCEPTION_HANDLING_PANIC_HPP
-#define TEACHOS_ARCH_X86_64_EXCEPTION_HANDLING_PANIC_HPP
-
-namespace teachos::arch::exception_handling
-{
- /**
- * @brief Print the given kernel panic message and then halt the system.
- *
- * @param reason Reason to print before halting the system.
- */
- [[noreturn]] auto panic(char const * reason) -> void;
-
- /**
- * @brief Print the given kernel panic message started by a given prefix and then halt the system.
- *
- * @param prefix Prefix to print before printing the reason.
- * @param reason Reason to print before halting the system.
- */
- [[noreturn]] auto panic(char const * prefix, char const * reason) -> void;
-
-} // namespace teachos::arch::exception_handling
-
-#endif // TEACHOS_ARCH_X86_64_EXCEPTION_HANDLING_PANIC_HPP