From 7d0b678231c097279f86221eed0138df8badb3a4 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 24 Jul 2008 14:14:27 +0100 Subject: minios: grant table map (gntdev) for minios I've implemented a grant map for mini-os to support the xc_gnttab_*() functions, the equivalent of gntdev in linux. This is useful for my work in putting xenstored in a stub domain. Signed-off-by: Diego Ongaro --- extras/mini-os/include/lib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extras/mini-os/include/lib.h') diff --git a/extras/mini-os/include/lib.h b/extras/mini-os/include/lib.h index b508c38f51..8822dd14a7 100644 --- a/extras/mini-os/include/lib.h +++ b/extras/mini-os/include/lib.h @@ -59,6 +59,7 @@ #include #include #include +#include "gntmap.h" #ifdef HAVE_LIBC #include @@ -138,6 +139,7 @@ enum fd_type { FTYPE_XENBUS, FTYPE_XC, FTYPE_EVTCHN, + FTYPE_GNTMAP, FTYPE_SOCKET, FTYPE_TAP, FTYPE_BLK, @@ -168,6 +170,7 @@ extern struct file { int bound; } ports[MAX_EVTCHN_PORTS]; } evtchn; + struct gntmap gntmap; struct { struct netfront_dev *dev; } tap; -- cgit v1.2.3