Xen Test Framework
|
A driver for the Xen Grant Table interface. More...
Go to the source code of this file.
Functions | |
const char * | gntst_strerror (int err) |
Convert a grant status error value to a string. More... | |
int | xtf_init_grant_table (unsigned int version) |
Initialise XTF's grant infrastructure. More... | |
Variables | |
uint8_t | gnttab_raw [] |
Raw grant table mapping from Xen. More... | |
grant_entry_v1_t | gnttab_v1 [] |
grant_entry_v2_t | gnttab_v2 [] |
A driver for the Xen Grant Table interface.
Definition in file grant_table.c.
const char * gntst_strerror | ( | int | err | ) |
Convert a grant status error value to a string.
err | GNTST_* |
Definition at line 13 of file grant_table.c.
int xtf_init_grant_table | ( | unsigned int | version | ) |
Initialise XTF's grant infrastructure.
Sets a grant table version, and maps the grant table itself. Safe to be called multiple times to switch grant table version, as long as there are no active grants.
Definition at line 21 of file grant_table.c.
uint8_t gnttab_raw[] |
Raw grant table mapping from Xen.
Valid once arch_map_gnttab() has returned successfully.
Definition at line 9 of file grant_table.c.
|
extern |
|
extern |