aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/public/xen.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-11-19 14:25:32 +0000
committerIan Campbell <ian.campbell@citrix.com>2012-11-19 14:25:32 +0000
commit8fbd7a7958515439a82c260b370b87fcc6827189 (patch)
tree096d525a8941a150920b0e4b4faaf34aa3ae792f /xen/include/public/xen.h
parentb1a83cf4f95072f245097c2eb802f1e2d03376c8 (diff)
downloadxen-8fbd7a7958515439a82c260b370b87fcc6827189.tar.gz
xen-8fbd7a7958515439a82c260b370b87fcc6827189.tar.bz2
xen-8fbd7a7958515439a82c260b370b87fcc6827189.zip
docs: document HYPERVISOR_update_va_mapping(_other_domain)
Mark-up for inclusion of generated docs. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/public/xen.h')
-rw-r--r--xen/include/public/xen.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h
index 7352d1edb0..f97f1726a6 100644
--- a/xen/include/public/xen.h
+++ b/xen/include/public/xen.h
@@ -423,9 +423,25 @@ typedef struct mmuext_op mmuext_op_t;
DEFINE_XEN_GUEST_HANDLE(mmuext_op_t);
#endif
+/*
+ * ` enum neg_errnoval
+ * ` HYPERVISOR_update_va_mapping(unsigned long va, u64 val,
+ * ` enum uvm_flags flags)
+ * `
+ * ` enum neg_errnoval
+ * ` HYPERVISOR_update_va_mapping_otherdomain(unsigned long va, u64 val,
+ * ` enum uvm_flags flags,
+ * ` domid_t domid)
+ * `
+ * ` @va: The virtual address whose mapping we want to change
+ * ` @val: The new page table entry, must contain a machine address
+ * ` @flags: Control TLB flushes
+ */
+*/
/* These are passed as 'flags' to update_va_mapping. They can be ORed. */
/* When specifying UVMF_MULTI, also OR in a pointer to a CPU bitmap. */
/* UVMF_LOCAL is merely UVMF_MULTI with a NULL bitmap pointer. */
+/* ` enum uvm_flags { */
#define UVMF_NONE (0UL<<0) /* No flushing at all. */
#define UVMF_TLB_FLUSH (1UL<<0) /* Flush entire TLB(s). */
#define UVMF_INVLPG (2UL<<0) /* Flush only one entry. */
@@ -433,6 +449,7 @@ DEFINE_XEN_GUEST_HANDLE(mmuext_op_t);
#define UVMF_MULTI (0UL<<2) /* Flush subset of TLBs. */
#define UVMF_LOCAL (0UL<<2) /* Flush local TLB. */
#define UVMF_ALL (1UL<<2) /* Flush all TLBs. */
+/* ` } */
/*
* Commands to HYPERVISOR_console_io().