aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/scripts
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/scripts
parent6878ffae67a6940ab8dca9831abf9537322ed2cf (diff)
downloadteachos-fc4a2306b803ccfc27f1bdc4a831176a5278a9d5.tar.xz
teachos-fc4a2306b803ccfc27f1bdc4a831176a5278a9d5.zip
fix interrupt handler and idt
Diffstat (limited to 'arch/x86_64/scripts')
-rw-r--r--arch/x86_64/scripts/kernel.ld5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86_64/scripts/kernel.ld b/arch/x86_64/scripts/kernel.ld
index cc07896..806adb5 100644
--- a/arch/x86_64/scripts/kernel.ld
+++ b/arch/x86_64/scripts/kernel.ld
@@ -90,6 +90,11 @@ SECTIONS
*(.text*)
}
+ .interrupt_text ALIGN(4K) : AT(ADDR (.interrupt_text))
+ {
+ *(.interrupt_text)
+ }
+
.rodata ALIGN(4K) : AT (ADDR (.rodata))
{
*(.rodata)