当前位置:网站首页>[QNX Hypervisor 2.2用户手册]6.3.4 虚拟寄存器(guest_shm.h)
[QNX Hypervisor 2.2用户手册]6.3.4 虚拟寄存器(guest_shm.h)
2022-07-07 11:19:00 【高桐@BILL】
guest_shm.h公开头文件包含了guest使用shmem虚拟设备的各种定义。
一、GUEST_SHM_*
1.1 概要
#define GUEST_SHM_MAX_CLIENTS 16 #define GUEST_SHM_MAX_NAME 32 #define GUEST_SHM_SIGNATURE 0x4d534732474d5651
1.2 数据
GUEST_SHM_*常量包括以下:
- GUEST_SHM_MAX_CLIENTS
允许连接到共享内存区域的最大客户端的数量(16)
- GUEST_SHM_MAX_NAME
共享内存区域名称的最大长度(32)
- GUEST_SHM_SIGNATURE
用于验证Shmem虚拟设备是否存在的签名 (0x4d534732474d5651)
二、guest_shm_control
共享内存区域控制页的寄存器布局。
2.1 大纲
struct guest_shm_control {
uint32_t status;
uint32_t idx;
uint32_t notify;
uint32_t detach;
};2.2 数据
guest_shm_control的成员包括:
- status
只读。低16位:等待通知的位集;高16位:当前活跃的客户端 (参考
边栏推荐
- Sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
- [untitled]
- Sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
- Layer pop-up layer closing problem
- [learning notes] agc010
- MySQL importing SQL files and common commands
- [Presto profile series] timeline use
- Per capita Swiss number series, Swiss number 4 generation JS reverse analysis
- Why can basic data types call methods in JS
- HZOJ #236. Recursive implementation of combinatorial enumeration
猜你喜欢
随机推荐
Go语言学习笔记-结构体(Struct)
【学习笔记】AGC010
关于 appium 启动 app 后闪退的问题 - (已解决)
Cmu15445 (fall 2019) project 2 - hash table details
AUTOCAD——大于180度的角度标注、CAD直径符号怎么输入?
聊聊伪共享
【Presto Profile系列】Timeline使用
MongoDB命令汇总
test
php——laravel缓存cache
国泰君安证券开户怎么开的?开户安全吗?
线程池拒绝策略最佳实践
RecyclerView的数据刷新
博文推荐|Apache Pulsar 跨地域复制方案选型实践
How does MySQL create, delete, and view indexes?
Practical example of propeller easydl: automatic scratch recognition of industrial parts
服务器到服务器 (S2S) 事件 (Adjust)
How to make the new window opened by electorn on the window taskbar
Test next summary
《ASP.NET Core 6框架揭秘》样章[200页/5章]








