boards: Add qemu_x86_64_nokpti target
Adds a build target to run tests on qemu_x86_64 with KPTI disabled. Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
This commit is contained in:
parent
67395d6f07
commit
39523f45c5
3 changed files with 39 additions and 0 deletions
6
boards/x86/qemu_x86/qemu_x86_64_nokpti.dts
Normal file
6
boards/x86/qemu_x86/qemu_x86_64_nokpti.dts
Normal file
|
@ -0,0 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2019 Intel Corp.
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "qemu_x86.dts"
|
13
boards/x86/qemu_x86/qemu_x86_64_nokpti.yaml
Normal file
13
boards/x86/qemu_x86/qemu_x86_64_nokpti.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
identifier: qemu_x86_64_nokpti
|
||||
name: QEMU Emulation for X86_64 (KPTI disabled)
|
||||
type: qemu
|
||||
arch: x86
|
||||
toolchain:
|
||||
- zephyr
|
||||
- xtools
|
||||
simulation: qemu
|
||||
testing:
|
||||
default: true
|
||||
only_tags:
|
||||
- kernel
|
||||
- userspace
|
20
boards/x86/qemu_x86/qemu_x86_64_nokpti_defconfig
Normal file
20
boards/x86/qemu_x86/qemu_x86_64_nokpti_defconfig
Normal file
|
@ -0,0 +1,20 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_IA32=y
|
||||
CONFIG_BOARD_QEMU_X86_64=y
|
||||
CONFIG_HPET_TIMER=y
|
||||
CONFIG_PIC_DISABLE=y
|
||||
CONFIG_LOAPIC=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_NS16550=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=25000000
|
||||
CONFIG_TEST_RANDOM_GENERATOR=y
|
||||
CONFIG_DEBUG_INFO=y
|
||||
CONFIG_SMP=y
|
||||
CONFIG_MP_NUM_CPUS=2
|
||||
CONFIG_X86_MMU=y
|
||||
CONFIG_X86_VERY_EARLY_CONSOLE=y
|
||||
CONFIG_QEMU_ICOUNT=n
|
||||
CONFIG_X86_KPTI=n
|
Loading…
Add table
Add a link
Reference in a new issue