Files
Linux_Drivers/u-boot-2021.10/include/xen/gnttab.h
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

24 lines
616 B
C

/* SPDX-License-Identifier: GPL-2.0
*
* (C) 2006, Steven Smith <sos22@cam.ac.uk>
* (C) 2006, Grzegorz Milos <gm281@cam.ac.uk>
* (C) 2020, EPAM Systems Inc.
*/
#ifndef __GNTTAB_H__
#define __GNTTAB_H__
#include <xen/interface/grant_table.h>
void init_gnttab(void);
void fini_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);
int gnttab_end_access(grant_ref_t ref);
const char *gnttabop_error(int16_t status);
void get_gnttab_base(phys_addr_t *gnttab_base, phys_size_t *gnttab_sz);
#endif /* !__GNTTAB_H__ */