|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] x86: convert bigmem to Kconfig
commit 165f36d5fa60ade72f691fbb81aad0a2cadaca37
Author: Doug Goldstein <cardoe@xxxxxxxxxx>
AuthorDate: Tue Jan 12 11:27:49 2016 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Jan 12 11:27:49 2016 +0100
x86: convert bigmem to Kconfig
Convert the bigmem build option to Kconfig.
Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx>
---
xen/arch/x86/Kconfig | 11 +++++++++++
xen/arch/x86/Rules.mk | 2 --
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig
index 7d2ed96..d629767 100644
--- a/xen/arch/x86/Kconfig
+++ b/xen/arch/x86/Kconfig
@@ -25,6 +25,17 @@ config ARCH_DEFCONFIG
menu "Architecture Features"
+config BIGMEM
+ bool "big memory support"
+ default n
+ ---help---
+ Allows Xen to support up to 123Tb of memory.
+
+ This requires enlarging struct page_info as well as shrinking
+ the always accessible direct mapped memory range.
+
+ If unsure, say N.
+
endmenu
source "common/Kconfig"
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk
index b76a754..a108d24 100644
--- a/xen/arch/x86/Rules.mk
+++ b/xen/arch/x86/Rules.mk
@@ -23,7 +23,6 @@ $(call as-insn-check,CFLAGS,CC,".equ \"x\"$$(comma)1", \
'-D__OBJECT_LABEL__=$(subst $(BASEDIR)/,,$(CURDIR))/$$@')
shadow-paging ?= y
-bigmem ?= n
CFLAGS += -mno-red-zone -mno-sse -fpic
CFLAGS += -fno-asynchronous-unwind-tables
@@ -33,4 +32,3 @@ CFLAGS += -DGCC_HAS_VISIBILITY_ATTRIBUTE
endif
CFLAGS-$(shadow-paging) += -DCONFIG_SHADOW_PAGING
-CFLAGS-$(bigmem) += -DCONFIG_BIGMEM
--
generated by git-patchbot for /home/xen/git/xen.git#master
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |