aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/gnttab.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-07-05 14:29:57 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-07-05 14:29:57 +0100
commitcbffd93cada80251a78a6d4178138072f9ebc30f (patch)
treeaf9a0e0ab3b769141333aa9e0cdf2ca4038c0d30 /extras/mini-os/include/gnttab.h
parent5edcddf706ed90180701eac5a15cff6f3cec614d (diff)
downloadxen-cbffd93cada80251a78a6d4178138072f9ebc30f.tar.gz
xen-cbffd93cada80251a78a6d4178138072f9ebc30f.tar.bz2
xen-cbffd93cada80251a78a6d4178138072f9ebc30f.zip
[MINIOS] Mapping page frames on demand added to the memory management.
Signed-off-by: Steven Smith <sos22@cam.ac.uk> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Diffstat (limited to 'extras/mini-os/include/gnttab.h')
-rw-r--r--extras/mini-os/include/gnttab.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/extras/mini-os/include/gnttab.h b/extras/mini-os/include/gnttab.h
new file mode 100644
index 0000000000..65a02aa85f
--- /dev/null
+++ b/extras/mini-os/include/gnttab.h
@@ -0,0 +1,14 @@
+#ifndef __GNTTAB_H__
+#define __GNTTAB_H__
+
+#include <xen/grant_table.h>
+
+void init_gnttab(void);
+grant_ref_t gnttab_alloc_and_grant(void **map);
+grant_ref_t gnttab_grant_access(domid_t domid, unsigned long frame,
+ int readonly);
+grant_ref_t gnttab_grant_transfer(domid_t domid, unsigned long pfn);
+unsigned long gnttab_end_transfer(grant_ref_t gref);
+int gnttab_end_access(grant_ref_t ref);
+
+#endif /* !__GNTTAB_H__ */