aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-10-21 16:08:28 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-10-21 16:08:28 +0100
commit05ec439680ec0c24900fd1515fee293752f69ee8 (patch)
tree10b9ad282ea5f2e8810bb7d1db3e508f5a0803e4 /extras/mini-os/include
parent9cd9340a83eef7e52b0444c5d927eca149a25cc9 (diff)
downloadxen-05ec439680ec0c24900fd1515fee293752f69ee8.tar.gz
xen-05ec439680ec0c24900fd1515fee293752f69ee8.tar.bz2
xen-05ec439680ec0c24900fd1515fee293752f69ee8.zip
stubdom: mmap on /dev/mem support
This patch adds support for mmap on /dev/mem in a stubdom; it is secure because it only works for memory areas that have been explicitly allowed by the toolstack (xc_domain_iomem_permission). Incidentally this is all that is needed to make MSI-X passthrough work with stubdoms. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include')
-rw-r--r--extras/mini-os/include/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/mini-os/include/lib.h b/extras/mini-os/include/lib.h
index 0834a18c62..9102d55b81 100644
--- a/extras/mini-os/include/lib.h
+++ b/extras/mini-os/include/lib.h
@@ -145,6 +145,7 @@ enum fd_type {
FTYPE_BLK,
FTYPE_KBD,
FTYPE_FB,
+ FTYPE_MEM,
};
#define MAX_EVTCHN_PORTS 16