summaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorShannon Zhao <shannon.zhao@linaro.org>2016-04-07 20:03:22 +0800
committerDavid Vrabel <david.vrabel@citrix.com>2016-07-06 10:34:43 +0100
commit712a5b77cb5a1d3028a8c202f4f839802a03f19f (patch)
tree2e5471dcb9f6e1fd3e0d1b87c9f7cd8ac773bfa8 /include/xen
parent3cf4095d7446efde28b48c26050b9db6f0bcb004 (diff)
downloadop-kernel-dev-712a5b77cb5a1d3028a8c202f4f839802a03f19f.zip
op-kernel-dev-712a5b77cb5a1d3028a8c202f4f839802a03f19f.tar.gz
xen: memory : Add new XENMAPSPACE type XENMAPSPACE_dev_mmio
Add a new type of Xen map space for Dom0 to map device's MMIO region. Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org> Reviewed-by: Julien Grall <julien.grall@arm.com> Tested-by: Julien Grall <julien.grall@arm.com>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/interface/memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xen/interface/memory.h b/include/xen/interface/memory.h
index 2ecfe4f..9aa8988 100644
--- a/include/xen/interface/memory.h
+++ b/include/xen/interface/memory.h
@@ -160,6 +160,7 @@ DEFINE_GUEST_HANDLE_STRUCT(xen_machphys_mapping_t);
#define XENMAPSPACE_gmfn_foreign 4 /* GMFN from another dom,
* XENMEM_add_to_physmap_range only.
*/
+#define XENMAPSPACE_dev_mmio 5 /* device mmio region */
/*
* Sets the GPFN at which a particular page appears in the specified guest's
OpenPOWER on IntegriCloud