aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2025-02-27 07:49:38 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2025-02-27 07:49:38 +0000
commitdc86ba14f5d9cae44f9922f7a9627369e4a3172e (patch)
tree4e2026a3e3b16e35bc8d4c0adb072017fe87dfa9 /arch/x86_64
parent462a4e09b1a67562dd1a122936c1ad0fc1771e0e (diff)
downloadteachos-dc86ba14f5d9cae44f9922f7a9627369e4a3172e.tar.xz
teachos-dc86ba14f5d9cae44f9922f7a9627369e4a3172e.zip
remove interrupt.hpp
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/include/arch/kernel/interrupt.hpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/x86_64/include/arch/kernel/interrupt.hpp b/arch/x86_64/include/arch/kernel/interrupt.hpp
deleted file mode 100644
index 521318d..0000000
--- a/arch/x86_64/include/arch/kernel/interrupt.hpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef TEACHOS_ARCH_X86_64_KERNEL_INTERRUPT_HPP
-#define TEACHOS_ARCH_X86_64_KERNEL_INTERRUPT_HPP
-
-#include <cstdint>
-
-namespace teachos::arch::kernel
-{
- struct stack_frame
- {
- std::uint16_t instruction_pointer;
- std::uint16_t cs;
- std::uint16_t flags;
- std::uint16_t sp;
- std::uint16_t ss;
- };
-
- /**
- * @brief Handles an interrupt
- *
- * https://clang.llvm.org/docs/AttributeReference.html#interrupt-x86
- */
- __attribute__((interrupt)) extern "C" auto interrupt_handler(struct stack_frame * frame) -> void;
-
-} // namespace teachos::arch::kernel
-
-#endif // TEACHOS_ARCH_X86_64_KERNEL_INTERRUPT_HPP