zephyr/boards/x86/qemu_x86
Andrew Boie e34f1cee06 x86: implement kernel page table isolation
Implement a set of per-cpu trampoline stacks which all
interrupts and exceptions will initially land on, and also
as an intermediate stack for privilege changes as we need
some stack space to swap page tables.

Set up the special trampoline page which contains all the
trampoline stacks, TSS, and GDT. This page needs to be
present in the user page tables or interrupts don't work.

CPU exceptions, with KPTI turned on, are treated as interrupts
and not traps so that we have IRQs locked on exception entry.

Add some additional macros for defining IDT entries.

Add special handling of locore text/rodata sections when
creating user mode page tables on x86-64.

Restore qemu_x86_64 to use KPTI, and remove restrictions on
enabling user mode on x86-64.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-01-17 16:17:39 -05:00
..
doc
board.cmake
dts_fixup.h
Kconfig.board x86: implement kernel page table isolation 2020-01-17 16:17:39 -05:00
Kconfig.defconfig kconfig: Global whitespace/consistency cleanup 2019-11-01 15:53:23 +01:00
qemu_x86_64_defconfig x86: qemu_x86_64: workaround SMP issues in x86 2020-01-15 12:05:44 -05:00
qemu_x86_64.dts
qemu_x86_64.yaml
qemu_x86_coverage_defconfig kconfig: Remove assignments to promptless CPU_MINUTEIA symbol 2019-12-09 16:41:32 -05:00
qemu_x86_coverage.dts
qemu_x86_coverage.yaml
qemu_x86_defconfig kconfig: Remove assignments to promptless CPU_MINUTEIA symbol 2019-12-09 16:41:32 -05:00
qemu_x86_nommu_defconfig kconfig: Remove assignments to promptless CPU_MINUTEIA symbol 2019-12-09 16:41:32 -05:00
qemu_x86_nommu.dts
qemu_x86_nommu.yaml
qemu_x86.dts drivers: eeprom: Add support for eeprom simulator 2020-01-09 20:28:19 +01:00
qemu_x86.yaml