aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/public/xen.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-14 20:49:41 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-14 20:49:41 +0100
commitd99686755dac4d18f945d5515aead08d5da29900 (patch)
treee32e70377d2088240710d1b325ec2bd68d3f640d /xen/include/public/xen.h
parent7f01473211b2586130c653d3b1ac15acc082d4df (diff)
downloadxen-d99686755dac4d18f945d5515aead08d5da29900.tar.gz
xen-d99686755dac4d18f945d5515aead08d5da29900.tar.bz2
xen-d99686755dac4d18f945d5515aead08d5da29900.zip
Reserve MMUEXT_[UN]MARK_SUPER mmuext operations.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/public/xen.h')
-rw-r--r--xen/include/public/xen.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h
index b3a9056602..8136b2eaf8 100644
--- a/xen/include/public/xen.h
+++ b/xen/include/public/xen.h
@@ -254,6 +254,9 @@ DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
* cmd: MMUEXT_COPY_PAGE
* mfn: Machine frame number of the destination page.
* src_mfn: Machine frame number of the source page.
+ *
+ * cmd: MMUEXT_[UN]MARK_SUPER
+ * mfn: Machine frame number of head of superpage to be [un]marked.
*/
#define MMUEXT_PIN_L1_TABLE 0
#define MMUEXT_PIN_L2_TABLE 1
@@ -273,13 +276,15 @@ DEFINE_XEN_GUEST_HANDLE(xen_pfn_t);
#define MMUEXT_CLEAR_PAGE 16
#define MMUEXT_COPY_PAGE 17
#define MMUEXT_FLUSH_CACHE_GLOBAL 18
+#define MMUEXT_MARK_SUPER 19
+#define MMUEXT_UNMARK_SUPER 20
#ifndef __ASSEMBLY__
struct mmuext_op {
unsigned int cmd;
union {
/* [UN]PIN_TABLE, NEW_BASEPTR, NEW_USER_BASEPTR
- * CLEAR_PAGE, COPY_PAGE */
+ * CLEAR_PAGE, COPY_PAGE, [UN]MARK_SUPER */
xen_pfn_t mfn;
/* INVLPG_LOCAL, INVLPG_ALL, SET_LDT */
unsigned long linear_addr;