aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include/arch/kernel/halt.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/include/arch/kernel/halt.hpp')
-rw-r--r--arch/x86_64/include/arch/kernel/halt.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86_64/include/arch/kernel/halt.hpp b/arch/x86_64/include/arch/kernel/halt.hpp
index 6c58938..377acc0 100644
--- a/arch/x86_64/include/arch/kernel/halt.hpp
+++ b/arch/x86_64/include/arch/kernel/halt.hpp
@@ -3,7 +3,11 @@
namespace teachos::arch::kernel
{
+ /**
+ * @brief Halts the kernel execution, meaning any code after a call to this will not run anymore.
+ */
extern "C" [[noreturn]] auto halt() -> void;
-}
-#endif \ No newline at end of file
+} // namespace teachos::arch::kernel
+
+#endif // TEACHOS_ARCH_X86_64_KERNEL_HALT_HPP