]> Git Repo - u-boot.git/blob - include/xen/gnttab.h
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
[u-boot.git] / include / xen / gnttab.h
1 /* SPDX-License-Identifier: GPL-2.0
2  *
3  * (C) 2006, Steven Smith <[email protected]>
4  * (C) 2006, Grzegorz Milos <[email protected]>
5  * (C) 2020, EPAM Systems Inc.
6  */
7 #ifndef __GNTTAB_H__
8 #define __GNTTAB_H__
9
10 #include <xen/interface/grant_table.h>
11
12 void init_gnttab(void);
13 void fini_gnttab(void);
14
15 grant_ref_t gnttab_alloc_and_grant(void **map);
16 grant_ref_t gnttab_grant_access(domid_t domid, unsigned long frame,
17                                 int readonly);
18 int gnttab_end_access(grant_ref_t ref);
19 const char *gnttabop_error(int16_t status);
20
21 void get_gnttab_base(phys_addr_t *gnttab_base, phys_size_t *gnttab_sz);
22
23 #endif /* !__GNTTAB_H__ */
This page took 0.027067 seconds and 4 git commands to generate.