aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/public/xen.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-04 12:41:11 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-04 12:41:11 +0100
commitc499509ef2595a5daa8ef804168c94291e90ec48 (patch)
tree04b6c42424014edaef67090c6987905f20b5ff0c /xen/include/public/xen.h
parent283fec5d9ac814b489580c1c8d1069447454fe63 (diff)
downloadxen-c499509ef2595a5daa8ef804168c94291e90ec48.tar.gz
xen-c499509ef2595a5daa8ef804168c94291e90ec48.tar.bz2
xen-c499509ef2595a5daa8ef804168c94291e90ec48.zip
x86: add support for domain-initiated global cache flush
Newer Linux' AGP code wants to flush caches on all CPUs under certain circumstances. Since doing this on all vCPU-s of the domain in question doesn't yield the intended effect, this needs to be done in the hypervisor. Add a new MMUEXT operation for this. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/public/xen.h')
-rw-r--r--xen/include/public/xen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h
index 1a5e3e840c..b3a9056602 100644
--- a/xen/include/public/xen.h
+++ b/xen/include/public/xen.h
@@ -239,6 +239,10 @@ DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
*
* cmd: MMUEXT_FLUSH_CACHE
* No additional arguments. Writes back and flushes cache contents.
+ *
+ * cmd: MMUEXT_FLUSH_CACHE_GLOBAL
+ * No additional arguments. Writes back and flushes cache contents
+ * on all CPUs in the system.
*
* cmd: MMUEXT_SET_LDT
* linear_addr: Linear address of LDT base (NB. must be page-aligned).
@@ -268,6 +272,7 @@ DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
#define MMUEXT_NEW_USER_BASEPTR 15
#define MMUEXT_CLEAR_PAGE 16
#define MMUEXT_COPY_PAGE 17
+#define MMUEXT_FLUSH_CACHE_GLOBAL 18
#ifndef __ASSEMBLY__
struct mmuext_op {