当前位置:网站首页>[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位:当前活跃的客户端 (参考
边栏推荐
- Practical example of propeller easydl: automatic scratch recognition of industrial parts
- [untitled]
- 【无标题】
- Find ID value MySQL in string
- The difference between cache and buffer
- File operation command
- Ip2long and long2ip analysis
- 《开源圆桌派》第十一期“冰与火之歌”——如何平衡开源与安全间的天然矛盾?
- “新红旗杯”桌面应用创意大赛2022
- 智云健康上市:市值150亿港元 SIG经纬与京新基金是股东
猜你喜欢
达晨与小米投的凌云光上市:市值153亿 为机器植入眼睛和大脑
Smart cloud health listed: with a market value of HK $15billion, SIG Jingwei and Jingxin fund are shareholders
10 张图打开 CPU 缓存一致性的大门
关于 appium 启动 app 后闪退的问题 - (已解决)
[untitled]
.Net下极限生产力之efcore分表分库全自动化迁移CodeFirst
- Oui. Migration entièrement automatisée de la Sous - base de données des tableaux d'effets sous net
centso7 openssl 报错Verify return code: 20 (unable to get local issuer certificate)
AUTOCAD——大于180度的角度标注、CAD直径符号怎么输入?
Scrapy教程经典实战【新概念英语】
随机推荐
Isprs2021/ remote sensing image cloud detection: a geographic information driven method and a new large-scale remote sensing cloud / snow detection data set
Per capita Swiss number series, Swiss number 4 generation JS reverse analysis
[learning notes] segment tree selection
Blog recommendation | Apache pulsar cross regional replication scheme selection practice
【学习笔记】线段树选做
PACP学习笔记三:PCAP方法说明
PCAP学习笔记二:pcap4j源码笔记
分布式事务解决方案
Steps of building SSM framework
Practical example of propeller easydl: automatic scratch recognition of industrial parts
事务的七种传播行为
centso7 openssl 报错Verify return code: 20 (unable to get local issuer certificate)
抓细抓实抓好安全生产各项工作 全力确保人民群众生命财产安全
博文推荐|Apache Pulsar 跨地域复制方案选型实践
将数学公式在el-table里面展示出来
服务器到服务器 (S2S) 事件 (Adjust)
How to reset Google browser? Google Chrome restore default settings?
How to continue after handling chain interruption / sub chain error removed from scheduling
File operation command
飞桨EasyDL实操范例:工业零件划痕自动识别