aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* remove ia64Jan Beulich2012-04-031-4/+1
| | | | | | | | | | | It retains IA64-specific bits in code imported from elsewhere (e.g. ACPI, EFI) as well as in the public headers. It also doesn't touch the tools, mini-os, and unmodified_drivers sub-trees. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
* fix compat header generation after 24503:86b8a1e3a419Jan Beulich2012-01-161-1/+1
| | | | | | | | | At once also remove the duplicate forced inclusion of public/xen-compat.h there (it's already done through cppflags-y) and convert --include to the canonical -include in said c/s' adjustments to CFLAGS-y and AFLAGS-y. Signed-off-by: Jan Beulich <jbeulich@suse.com>
* Do not re-define XEN_ROOT in hypervisor sub-Makefiles.Keir Fraser2011-03-171-1/+0
| | | | | | | We can globally export it from xen/Makefile instead, as all hypervisor builds have this Makefile at their root. Signed-off-by: Keir Fraser <keir@xen.org>
* Introduce a grant_entry_v2 structure.Keir Fraser2009-10-071-1/+1
| | | | Signed-off-by: Steven Smith <steven.smith@citrix.com>
* Slightly more accurate dependency tracking for the .c and .h files inKeir Fraser2009-10-071-2/+2
| | | | | | | include/compat. They should depend on the scripts which generate them, as well as the inputs to those scripts. Signed-off-by: Steven Smith <steven.smith@citrix.com>
* Use $(PYTHON) Makefile variable when building the hypervisor.Keir Fraser2009-07-091-2/+3
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* Remove bogus checked in file headers.chk, remove it on make clean, andKeir Fraser2009-06-181-1/+1
| | | | | | add it to .hgignore file. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* Introduce mechanism to check standard conformance of headersKeir Fraser2009-06-171-0/+19
| | | | | | | | | | | While pretty simplistic, it appears to serve the purpose at the moment (i.e. it spotted two places where a GNU extension was used withou proper preprocessor conditionals). The "simplistic" here includes that the checking gets only done for native builds, and ia64 gets excluded due to its arch-specific header intentionally (for whatever reason) checking that anonymous struct/unions can be used. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Transcendent memory ("tmem") for Xen.Keir Fraser2009-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tmem, when called from a tmem-capable (paravirtualized) guest, makes use of otherwise unutilized ("fallow") memory to create and manage pools of pages that can be accessed from the guest either as "ephemeral" pages or as "persistent" pages. In either case, the pages are not directly addressible by the guest, only copied to and fro via the tmem interface. Ephemeral pages are a nice place for a guest to put recently evicted clean pages that it might need again; these pages can be reclaimed synchronously by Xen for other guests or other uses. Persistent pages are a nice place for a guest to put "swap" pages to avoid sending them to disk. These pages retain data as long as the guest lives, but count against the guest memory allocation. Tmem pages may optionally be compressed and, in certain cases, can be shared between guests. Tmem also handles concurrency nicely and provides limited QoS settings to combat malicious DoS attempts. Save/restore and live migration support is not yet provided. Tmem is primarily targeted for an x86 64-bit hypervisor. On a 32-bit x86 hypervisor, it has limited functionality and testing due to limitations of the xen heap. Nearly all of tmem is architecture-independent; three routines remain to be ported to ia64 and it should work on that architecture too. It is also structured to be portable to non-Xen environments. Tmem defaults off (for now) and must be enabled with a "tmem" xen boot option (and does nothing unless a tmem-capable guest is running). The "tmem_compress" boot option enables compression which takes about 10x more CPU but approximately doubles the number of pages that can be stored. Tmem can be controlled via several "xm" commands and many interesting tmem statistics can be obtained. A README and internal specification will follow, but lots of useful prose about tmem, as well as Linux patches, can be found at http://oss.oracle.com/projects/tmem . Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
* x86-64: don't generate dependency files when building compat headersKeir Fraser2009-01-271-1/+1
| | | | | | | | | | | | | | The generated dependency files weren't correct (as their names get derived only from the base name of the target file, and there are public headers with the same base name in different directories), not needed (as the makefile already listed all necessary dependencies explicitly), and resulted in the first re-build in an already built tree to be an almost full re-build since the *.c files explicitly mentioned in the .*.d result in make not considering them as intermediate anymore, thus triggering re-generation of the headers, and hence re-building of almost the entire tree. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* x86: MCA support.Keir Fraser2008-07-041-0/+1
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* Fix some build system error handling.Keir Fraser2007-12-201-1/+1
| | | | Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
* Use $(SHELL) to find shell to run get-fields.sh script.Keir Fraser2007-10-231-1/+1
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix x86/64 build for *BSD.Keir Fraser2007-10-191-1/+1
| | | | | | | - Config.mk: uname -m prints "amd64". Deal with this. - do not assume python is always in /usr/bin - get-fields.sh: make it portable and non-bash specific Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* acm: Remove unecessary compat shim from do_acm_op().kfraser@localhost.localdomain2007-04-261-2/+0
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix compat build for weird solaris gcc target.kaf24@localhost.localdomain2007-01-281-2/+2
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Make domctl/sysctl interfaces 32-/64-bit invariant.kfraser@localhost.localdomain2007-01-241-2/+0
| | | | | | | This kills off a fair amount of unpleasant CONFIG_COMPAT shimming and avoids needing to keep the compat paths in sync as these interfaces continue to develop. Signed-off-by: Keir Fraser <keir@xensource.com>
* Make get-fields.sh really get run by bash rather than default /bin/sh.Alastair Tse2007-01-121-1/+1
| | | | | | Also fix some bashisms in the script. Signed-off-by: Alastair Tse <atse@xensource.com>
* [XEN] Partial fix for compat build non-portability.Emmanuel Ackaouy2007-01-101-23/+27
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Merge vcpuop compat header creationEmmanuel Ackaouy2007-01-051-0/+2
| | | | Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
* Handle shared info (having different layout for native and compatibilityEmmanuel Ackaouy2007-01-051-1/+4
| | | | | | mode guests) accesses. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Handle the creation of startup info for compatibility mode guests. ThisEmmanuel Ackaouy2007-01-051-1/+8
| | | | | | | includes a script to auto-generate checking or translation code between native and compatibility mode hypercall argument structures. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Add logic to generate headers reflecting the compatibility mode layoutEmmanuel Ackaouy2007-01-051-0/+57
of hypercall arguments. Provide infrastructure for accessing handles passed from compatibility mode guests. Vector those hypercalls not needing any translation to their native implementations. Signed-off-by: Jan Beulich <jbeulich@novell.com>