Deleted Added
full compact
gnttab.h (183375) gnttab.h (185605)
1/******************************************************************************
2 * gnttab.h
3 *
4 * Two sets of functionality:
5 * 1. Granting foreign access to our memory reservation.
6 * 2. Accessing others' memory reservations via grant references.
7 * (i.e., mechanisms for both sender and recipient of grant references)
8 *

--- 35 unchanged lines hidden (view full) ---

44
45struct gnttab_free_callback {
46 struct gnttab_free_callback *next;
47 void (*fn)(void *);
48 void *arg;
49 uint16_t count;
50};
51
1/******************************************************************************
2 * gnttab.h
3 *
4 * Two sets of functionality:
5 * 1. Granting foreign access to our memory reservation.
6 * 2. Accessing others' memory reservations via grant references.
7 * (i.e., mechanisms for both sender and recipient of grant references)
8 *

--- 35 unchanged lines hidden (view full) ---

44
45struct gnttab_free_callback {
46 struct gnttab_free_callback *next;
47 void (*fn)(void *);
48 void *arg;
49 uint16_t count;
50};
51
52int gnttab_init(void);
53
52int gnttab_grant_foreign_access(domid_t domid, unsigned long frame,
53 int flags);
54
55/*
56 * End access through the given grant reference, iff the grant entry is no
57 * longer in use. Return 1 if the grant entry was freed, 0 if it is still in
58 * use.
59 */

--- 93 unchanged lines hidden ---
54int gnttab_grant_foreign_access(domid_t domid, unsigned long frame,
55 int flags);
56
57/*
58 * End access through the given grant reference, iff the grant entry is no
59 * longer in use. Return 1 if the grant entry was freed, 0 if it is still in
60 * use.
61 */

--- 93 unchanged lines hidden ---