]> xenbits.xensource.com Git - mini-os.git/commit
stubdom: mmap on /dev/mem support
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 21 Oct 2009 15:08:28 +0000 (16:08 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 21 Oct 2009 15:08:28 +0000 (16:08 +0100)
commited871fc11b31adef1561da35b36e99ad33e12e41
tree3f7c96fe92790078e6230acdff81e3ee6d16ed80
parentcd28497b633e1ccae23ba3c14a29baf42d905d8c
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>
include/lib.h
lib/sys.c