mirror of
https://github.com/seL4/seL4.git
synced 2026-03-27 10:29:57 +00:00
libsel4: Fix name for AARCH64_VSPACE_S2_START_L1
CONFIG_AARCH64_VSPACE_S2_START_L1 has the correct namespace for a kernel config option. Signed-off-by: Kent McLeod <kent@kry10.com>
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -29,6 +29,8 @@ Upcoming release: BINARY COMPATIBLE
|
||||
* Added support for the ARM Cortex A55
|
||||
* Added support for the ODroid C4
|
||||
* Rename libsel4 config option ENABLE_SMP_SUPPORT to CONFIG_ENABLE_SMP_SUPPORT to be namespace compliant.
|
||||
* Rename libsel4 config option AARCH64_VSPACE_S2_START_L1 to CONFIG_AARCH64_VSPACE_S2_START_L1 to be namespace
|
||||
compliant.
|
||||
|
||||
## Upgrade Notes
|
||||
---
|
||||
|
||||
@@ -12,3 +12,9 @@
|
||||
#ifdef CONFIG_ENABLE_SMP_SUPPORT
|
||||
#define ENABLE_SMP_SUPPORT
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ARM_HYPERVISOR_SUPPORT
|
||||
#ifdef CONFIG_ARM_PA_SIZE_BITS_40
|
||||
#define AARCH64_VSPACE_S2_START_L1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -10,12 +10,6 @@
|
||||
|
||||
#include <autoconf.h>
|
||||
|
||||
#ifdef CONFIG_ARM_HYPERVISOR_SUPPORT
|
||||
#ifdef CONFIG_ARM_PA_SIZE_BITS_40
|
||||
#define AARCH64_VSPACE_S2_START_L1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Configurations requring the kernel log buffer */
|
||||
#if defined CONFIG_BENCHMARK_TRACK_KERNEL_ENTRIES || \
|
||||
defined CONFIG_BENCHMARK_TRACEPOINTS
|
||||
|
||||
@@ -102,6 +102,12 @@ config_option(
|
||||
|
||||
config_option(KernelArmGicV3 ARM_GIC_V3_SUPPORT "Build support for GICv3" DEFAULT OFF)
|
||||
|
||||
if(KernelArmPASizeBits40 AND ARM_HYPERVISOR_SUPPORT)
|
||||
config_set(KernelAarch64VspaceS2StartL1 AARCH64_VSPACE_S2_START_L1 "ON")
|
||||
else()
|
||||
config_set(KernelAarch64VspaceS2StartL1 AARCH64_VSPACE_S2_START_L1 "OFF")
|
||||
endif()
|
||||
|
||||
config_option(
|
||||
KernelArmHypEnableVCPUCP14SaveAndRestore ARM_HYP_ENABLE_VCPU_CP14_SAVE_AND_RESTORE
|
||||
"Trap, but don't save/restore VCPUs' CP14 accesses \
|
||||
|
||||
Reference in New Issue
Block a user