aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/posix
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-07-02 13:54:20 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-07-02 13:54:20 +0100
commitde4e0840642f41b2a0feef8a97afc360c734bb2b (patch)
tree8dff9dc8e7b57d0bd762cc2dd213fd6ca8600a25 /extras/mini-os/include/posix
parentdac6f79804f05cde83ebd877939b66b71ee8cdf8 (diff)
downloadxen-de4e0840642f41b2a0feef8a97afc360c734bb2b.tar.gz
xen-de4e0840642f41b2a0feef8a97afc360c734bb2b.tar.bz2
xen-de4e0840642f41b2a0feef8a97afc360c734bb2b.zip
stubdom: PCI passthrough support via PV-PCI
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include/posix')
-rw-r--r--extras/mini-os/include/posix/sys/mman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/mini-os/include/posix/sys/mman.h b/extras/mini-os/include/posix/sys/mman.h
index 318d574877..46def46141 100644
--- a/extras/mini-os/include/posix/sys/mman.h
+++ b/extras/mini-os/include/posix/sys/mman.h
@@ -9,6 +9,9 @@
#define MAP_PRIVATE 0x02
#define MAP_ANON 0x20
+/* Pages are always resident anyway */
+#define MAP_LOCKED 0x0
+
#define MAP_FAILED ((void*)0)
void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset);