aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/interrupt_handling
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2025-04-02 09:57:54 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2025-04-02 09:57:54 +0000
commitfc4a2306b803ccfc27f1bdc4a831176a5278a9d5 (patch)
tree81cc4a12440c9818b17e4fd0f837f362faef1040 /arch/x86_64/src/interrupt_handling
parent6878ffae67a6940ab8dca9831abf9537322ed2cf (diff)
downloadteachos-fc4a2306b803ccfc27f1bdc4a831176a5278a9d5.tar.xz
teachos-fc4a2306b803ccfc27f1bdc4a831176a5278a9d5.zip
fix interrupt handler and idt
Diffstat (limited to 'arch/x86_64/src/interrupt_handling')
-rw-r--r--arch/x86_64/src/interrupt_handling/generic_interrupt_handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/src/interrupt_handling/generic_interrupt_handler.cpp b/arch/x86_64/src/interrupt_handling/generic_interrupt_handler.cpp
index 2f599e5..4392b04 100644
--- a/arch/x86_64/src/interrupt_handling/generic_interrupt_handler.cpp
+++ b/arch/x86_64/src/interrupt_handling/generic_interrupt_handler.cpp
@@ -5,7 +5,7 @@
namespace teachos::arch::interrupt_handling
{
- [[gnu::interrupt]]
+ [[gnu::interrupt]] [[gnu::section(".interrupt_text")]]
auto generic_interrupt_handler(interrupt_frame * frame) -> void
{
(void)frame;