]> xenbits.xensource.com Git - people/hx242/xen.git/commitdiff
Kconfig: add an option to enable and disable the direct map
authorHongyan Xia <hongyax@amazon.com>
Wed, 9 Oct 2019 13:41:40 +0000 (14:41 +0100)
committerHongyan Xia <hongyax@amazon.com>
Wed, 16 Oct 2019 12:25:06 +0000 (13:25 +0100)
This only works for x86 for now but can include Arm at some point.

Signed-off-by: Hongyan Xia <hongyax@amazon.com>
xen/common/Kconfig

index 7b5dd9d49596c333249ec36956386d37899188b9..d4ad2807154fab009ae38a78a754c4596831d53a 100644 (file)
@@ -115,6 +115,15 @@ config KEXEC
 
          If unsure, say Y.
 
+config DIRECTMAP
+       bool "Map the 1:1 direct map region"
+       default n
+       depends on X86
+       ---help---
+         Create always-mapped 1:1 mappings in the direct map region during boot.
+
+         If unsure, say N.
+
 config XENOPROF
        def_bool y
        prompt "Xen Oprofile Support" if EXPERT = "y"