diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-02-27 15:52:43 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-02-27 15:52:43 +0100 |
commit | 79e4b2910a4c3ee7736885a630c51ec5a882c3cf (patch) | |
tree | ff2db9d7f8d46c9e813e4706c8848b4b69c5c650 /xen/arch/x86/Rules.mk | |
parent | d521323da39e6f54deae666bdeb78a6b04d7420d (diff) | |
download | xen-79e4b2910a4c3ee7736885a630c51ec5a882c3cf.tar.gz xen-79e4b2910a4c3ee7736885a630c51ec5a882c3cf.tar.bz2 xen-79e4b2910a4c3ee7736885a630c51ec5a882c3cf.zip |
Add a compile time option to enable domain 0 running in ring 0.
In this mode only a single guest kernel is supported.
This mode only works for x86/32 (not x86/64).
Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/Rules.mk')
-rw-r--r-- | xen/arch/x86/Rules.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index 79670678b7..f3597ee722 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -6,6 +6,7 @@ # 'make clean' before rebuilding. # pae ?= n +supervisor_mode_kernel ?= n CFLAGS += -nostdinc -fno-builtin -fno-common -fno-strict-aliasing CFLAGS += -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe @@ -32,6 +33,9 @@ ifeq ($(pae),y) CFLAGS += -DCONFIG_X86_PAE=1 endif endif +ifeq ($(supervisor_mode_kernel),y) +CFLAGS += -DCONFIG_X86_SUPERVISOR_MODE_KERNEL=1 +endif ifeq ($(TARGET_SUBARCH),x86_64) CFLAGS += -m64 -mno-red-zone -fpic -fno-reorder-blocks |