ia64/xen-unstable

view extras/mini-os/include/gntmap.h @ 19836:d9890e67d2b7

tools: add SHAREDIR to buildmakevars2file

c/s 19818 dropped SHAREDIR from xen/util/path.py, which broke the "xm
new" command. This patch adds SHAREDIR back to the new
buildmakevars2file-closure function.

Signed-off-by: Ryan O'Connor <rjo@cs.ubc.ca>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 13:05:10 2009 +0100 (2009-06-25)
parents 379dd201c36c
children
line source
1 #ifndef __GNTMAP_H__
2 #define __GNTMAP_H__
4 #include <os.h>
6 /*
7 * Please consider struct gntmap opaque. If instead you choose to disregard
8 * this message, I insist that you keep an eye out for raptors.
9 */
10 struct gntmap {
11 int nentries;
12 struct gntmap_entry *entries;
13 };
15 int
16 gntmap_set_max_grants(struct gntmap *map, int count);
18 int
19 gntmap_munmap(struct gntmap *map, unsigned long start_address, int count);
21 void*
22 gntmap_map_grant_refs(struct gntmap *map,
23 uint32_t count,
24 uint32_t *domids,
25 int domids_stride,
26 uint32_t *refs,
27 int writable);
29 void
30 gntmap_init(struct gntmap *map);
32 void
33 gntmap_fini(struct gntmap *map);
35 #endif /* !__GNTMAP_H__ */