source: trunk/packages/xen-common/xen-common/extras/mini-os/include/gnttab.h @ 34

Last change on this file since 34 was 34, checked in by hartmans, 17 years ago

Add xen and xen-common

File size: 466 bytes
Line 
1#ifndef __GNTTAB_H__
2#define __GNTTAB_H__
3
4#include <xen/grant_table.h>
5
6void init_gnttab(void);
7grant_ref_t gnttab_alloc_and_grant(void **map);
8grant_ref_t gnttab_grant_access(domid_t domid, unsigned long frame,
9                                int readonly);
10grant_ref_t gnttab_grant_transfer(domid_t domid, unsigned long pfn);
11unsigned long gnttab_end_transfer(grant_ref_t gref);
12int gnttab_end_access(grant_ref_t ref);
13const char *gnttabop_error(int16_t status);
14
15#endif /* !__GNTTAB_H__ */
Note: See TracBrowser for help on using the repository browser.