📄 cacheattr.h
字号:
#ifndef __HVM_CACHEATTR_H__#define __HVM_CACHEATTR_H__struct hvm_mem_pinned_cacheattr_range { struct list_head list; uint64_t start, end; uint32_t type;};void hvm_init_cacheattr_region_list( struct domain *d);void hvm_destroy_cacheattr_region_list( struct domain *d);/* * To see guest_fn is in the pinned range or not, * if yes, return 1, and set type to value in this range * if no, return 0, and set type to 0 */int32_t hvm_get_mem_pinned_cacheattr( struct domain *d, uint64_t guest_fn, uint32_t *type);/* Set pinned caching type for a domain. */int32_t hvm_set_mem_pinned_cacheattr( struct domain *d, uint64_t gfn_start, uint64_t gfn_end, uint32_t type);#endif /* __HVM_CACHEATTR_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -