direct-io.hg

view Config.mk @ 8686:c0a0f4db5ab1

Create a block of reserved PFNs in shadow translate mode guests, and
move the shared info and grant table pfns into that block. This
allows us to remove the get_gnttablist dom0 op, and simplifies the
domain creation code slightly. Having the reserved block managed by
Xen may also make it slightly easier to handle the case where the
grant table needs to be extended at run time.

Suggested-by: kaf24
Signed-off-by: Steven Smith, sos22@cam.ac.uk
author sos22@douglas.cl.cam.ac.uk
date Thu Jan 26 19:40:13 2006 +0100 (2006-01-26)
parents 5fc47ed682d6
children 7e68bc2745af
line source
1 # -*- mode: Makefile; -*-
3 # Currently supported architectures: x86_32, x86_64
4 XEN_COMPILE_ARCH ?= $(shell uname -m | sed -e s/i.86/x86_32/)
5 XEN_TARGET_ARCH ?= $(XEN_COMPILE_ARCH)
6 XEN_TARGET_X86_PAE ?= n
8 # Tools to run on system hosting the build
9 HOSTCC = gcc
10 HOSTCFLAGS = -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
12 AS = $(CROSS_COMPILE)as
13 LD = $(CROSS_COMPILE)ld
14 CC = $(CROSS_COMPILE)gcc
15 CPP = $(CROSS_COMPILE)gcc -E
16 AR = $(CROSS_COMPILE)ar
17 RANLIB = $(CROSS_COMPILE)ranlib
18 NM = $(CROSS_COMPILE)nm
19 STRIP = $(CROSS_COMPILE)strip
20 OBJCOPY = $(CROSS_COMPILE)objcopy
21 OBJDUMP = $(CROSS_COMPILE)objdump
23 DISTDIR ?= $(XEN_ROOT)/dist
25 INSTALL = install
26 INSTALL_DIR = $(INSTALL) -d -m0755
27 INSTALL_DATA = $(INSTALL) -m0644
28 INSTALL_PROG = $(INSTALL) -m0755
30 ifeq ($(XEN_TARGET_ARCH),x86_64)
31 LIBDIR = lib64
32 else
33 LIBDIR = lib
34 endif
36 ifneq ($(EXTRA_PREFIX),)
37 EXTRA_INCLUDES += $(EXTRA_PREFIX)/include
38 EXTRA_LIB += $(EXTRA_PREFIX)/$(LIBDIR)
39 endif
41 test-gcc-flag = $(shell $(1) -v --help 2>&1 | grep -q " $(2) " && echo $(2))
43 HOSTCFLAGS += $(call test-gcc-flag,$(HOSTCC),-Wdeclaration-after-statement)
44 CFLAGS += $(call test-gcc-flag,$(CC),-Wdeclaration-after-statement)
46 LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i))
47 CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))
49 # Choose the best mirror to download linux kernel
50 KERNEL_REPO = http://www.kernel.org
52 # If ACM_SECURITY = y, then the access control module is compiled
53 # into Xen and the policy type can be set by the boot policy file
54 # y - Build the Xen ACM framework
55 # n - Do not build the Xen ACM framework
56 ACM_SECURITY ?= n
58 # If ACM_SECURITY = y and no boot policy file is installed,
59 # then the ACM defaults to the security policy set by
60 # ACM_DEFAULT_SECURITY_POLICY
61 # Supported models are:
62 # ACM_NULL_POLICY
63 # ACM_CHINESE_WALL_POLICY
64 # ACM_SIMPLE_TYPE_ENFORCEMENT_POLICY
65 # ACM_CHINESE_WALL_AND_SIMPLE_TYPE_ENFORCEMENT_POLICY
66 ACM_DEFAULT_SECURITY_POLICY ?= ACM_NULL_POLICY
68 # Optional components
69 XENSTAT_XENTOP ?= y
71 VTPM_TOOLS ?= n
73 -include $(XEN_ROOT)/.config