From ef52650c4a0723b242deb72ce2726f6846a6e986 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 21 May 2022 21:24:15 +0200 Subject: kernel/i386: only map what's absolutely necessary in the user --- src/kernel/arch/i386/interrupts/idt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/arch/i386/interrupts/idt.c') 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; -- cgit v1.2.3