From 05ec439680ec0c24900fd1515fee293752f69ee8 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 21 Oct 2009 16:08:28 +0100 Subject: 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 --- extras/mini-os/include/lib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'extras/mini-os/include') 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 -- cgit v1.2.3