mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Signed-off-by: John D. Ramsdell <ramsdell@mitre.org> Signed-off-by: Steven Smith <sos22@cam.ac.uk>
16 lines
466 B
C
16 lines
466 B
C
#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);
|
|
const char *gnttabop_error(int16_t status);
|
|
|
|
#endif /* !__GNTTAB_H__ */
|