diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-18 14:09:03 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-18 14:09:03 +0100 |
commit | 9c527481190ed900f9bac550353988fdc7b2526c (patch) | |
tree | 4df149892cf46098ee25d9e83a56f14d28985d29 /i386/i386/idt_inittab.S | |
parent | de813a9cd1351607ea8c183d2b64628328c358fd (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_inittab.S')
-rw-r--r-- | i386/i386/idt_inittab.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386/idt_inittab.S b/i386/i386/idt_inittab.S index 8e92d805..6794400e 100644 --- a/i386/i386/idt_inittab.S +++ b/i386/i386/idt_inittab.S @@ -34,7 +34,7 @@ Here's the header that comes before everything else. */ .data 2 ENTRY(idt_inittab) - .text + .section .text.shared /* * Interrupt descriptor table and code vectors for it. @@ -46,14 +46,14 @@ ENTRY(idt_inittab) .byte (((type)&ACC_PL)>>5)|((((type)&(ACC_TYPE|ACC_A))==ACC_INTR_GATE)<<2) ;\ .word KERNEL_CS ;\ .long entry ;\ - .text + .section .text.shared #else /* MACH_PV_DESCRIPTORS */ #define IDT_ENTRY(n,entry,type) \ .data 2 ;\ .long entry ;\ .word n ;\ .word type ;\ - .text + .section .text.shared #endif /* MACH_PV_DESCRIPTORS */ /* |