gntmap.h

来自「xen虚拟机源代码安装包」· C头文件 代码 · 共 36 行

H
36
字号
#ifndef __GNTMAP_H__#define __GNTMAP_H__#include <os.h>/* * Please consider struct gntmap opaque. If instead you choose to disregard * this message, I insist that you keep an eye out for raptors. */struct gntmap {    int nentries;    struct gntmap_entry *entries;};intgntmap_set_max_grants(struct gntmap *map, int count);intgntmap_munmap(struct gntmap *map, unsigned long start_address, int count);void*gntmap_map_grant_refs(struct gntmap *map,                       uint32_t count,                      uint32_t *domids,                      int domids_stride,                      uint32_t *refs,                      int writable);voidgntmap_init(struct gntmap *map);voidgntmap_fini(struct gntmap *map);#endif /* !__GNTMAP_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?