summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/interrupts/idt.c
diff options
context:
space:
mode:
authordzwdz2022-05-21 21:24:15 +0200
committerdzwdz2022-05-21 21:24:15 +0200
commitef52650c4a0723b242deb72ce2726f6846a6e986 (patch)
treebdf42a732d694a58cdae1ba8314ae98e096e2399 /src/kernel/arch/i386/interrupts/idt.c
parente0101ecf0d2f29d8860e865e3f333803af918f2e (diff)
kernel/i386: only map what's absolutely necessary in the user
Diffstat (limited to 'src/kernel/arch/i386/interrupts/idt.c')
-rw-r--r--src/kernel/arch/i386/interrupts/idt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/interrupts/idt.c b/src/kernel/arch/i386/interrupts/idt.c
index d27bc61..d295d84 100644
--- a/src/kernel/arch/i386/interrupts/idt.c
+++ b/src/kernel/arch/i386/interrupts/idt.c
@@ -23,7 +23,7 @@ struct lidt_arg {
uint32_t base;
} __attribute__((packed));
-
+__attribute__((section(".text.early")))
static struct idt_entry IDT[256];
static struct lidt_arg lidt_arg;