1 /* SPDX-License-Identifier: GPL-2.0
3 * (C) 2006, Steven Smith <sos22@cam.ac.uk>
4 * (C) 2006, Grzegorz Milos <gm281@cam.ac.uk>
5 * (C) 2020, EPAM Systems Inc.
10 #include <xen/interface/grant_table.h>
12 void init_gnttab(void);
13 void fini_gnttab(void);
15 grant_ref_t gnttab_alloc_and_grant(void **map);
16 grant_ref_t gnttab_grant_access(domid_t domid, unsigned long frame,
18 int gnttab_end_access(grant_ref_t ref);
19 const char *gnttabop_error(int16_t status);
21 void get_gnttab_base(phys_addr_t *gnttab_base, phys_size_t *gnttab_sz);
23 #endif /* !__GNTTAB_H__ */