summaryrefslogtreecommitdiff
path: root/i386/i386/idt.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-18 14:09:03 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-18 14:09:03 +0100
commit9c527481190ed900f9bac550353988fdc7b2526c (patch)
tree4df149892cf46098ee25d9e83a56f14d28985d29 /i386/i386/idt.c
parentde813a9cd1351607ea8c183d2b64628328c358fd (diff)
Pushing what I came up with for now. Next issues are at least kernel stacks access and LDT accessmeltdown
Diffstat (limited to 'i386/i386/idt.c')
-rw-r--r--i386/i386/idt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/idt.c b/i386/i386/idt.c
index d304ec3e..021beb56 100644
--- a/i386/i386/idt.c
+++ b/i386/i386/idt.c
@@ -26,7 +26,7 @@
#include <i386at/idt.h>
#include <i386/gdt.h>
-struct real_gate idt[IDTSZ];
+struct real_gate idt[IDTSZ] __section(".data.shared");
struct idt_init_entry
{