summaryrefslogtreecommitdiff
path: root/i386/i386/gdt.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/gdt.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/gdt.c')
-rw-r--r--i386/i386/gdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/gdt.c b/i386/i386/gdt.c
index c895eb3a..e8b8bd0c 100644
--- a/i386/i386/gdt.c
+++ b/i386/i386/gdt.c
@@ -43,7 +43,7 @@
/* It is actually defined in xen_boothdr.S */
extern
#endif /* MACH_PV_DESCRIPTORS */
-struct real_descriptor gdt[GDTSZ];
+struct real_descriptor gdt[GDTSZ] __section(".data.shared");
void
gdt_init(void)