当前位置:网站首页>[QNX hypervisor 2.2 user manual]6.3.4 virtual register (guest_shm.h)
[QNX hypervisor 2.2 user manual]6.3.4 virtual register (guest_shm.h)
2022-07-07 13:16:00 【Gao Tong @bill】
guest_shm.h The public header file contains guest Use shmem Various definitions of virtual devices .
One 、GUEST_SHM_*
1.1 Summary
#define GUEST_SHM_MAX_CLIENTS 16 #define GUEST_SHM_MAX_NAME 32 #define GUEST_SHM_SIGNATURE 0x4d534732474d5651
1.2 data
GUEST_SHM_* Constants include the following :
- GUEST_SHM_MAX_CLIENTS
The maximum number of clients allowed to connect to the shared memory area (16)
- GUEST_SHM_MAX_NAME
Maximum length of shared memory region name (32)
- GUEST_SHM_SIGNATURE
Used to verify Shmem Whether the virtual device has a signature (0x4d534732474d5651)
Two 、guest_shm_control
The shared memory area controls the register layout of the page .
2.1 The outline
struct guest_shm_control { uint32_t status; uint32_t idx; uint32_t notify; uint32_t detach; };
2.2 data
guest_shm_control Our members include :
- status
read-only . low 16 position : Bit set waiting for notification ; high 16 position : Currently active clients ( Reference resources
边栏推荐
- 【无标题】
- The difference between cache and buffer
- 10 张图打开 CPU 缓存一致性的大门
- LIS 最长上升子序列问题(动态规划、贪心+二分)
- Star Enterprise Purdue technology layoffs: Tencent Sequoia was a shareholder who raised more than 1billion
- php——laravel缓存cache
- MongoDB的导入导出、备份恢复总结
- Cmu15445 (fall 2019) project 2 - hash table details
- Scripy tutorial classic practice [New Concept English]
- 初学XML
猜你喜欢
Lingyunguang of Dachen and Xiaomi investment is listed: the market value is 15.3 billion, and the machine is implanted into the eyes and brain
[learning notes] agc010
MySQL master-slave replication
聊聊伪共享
Analysis of DHCP dynamic host setting protocol
单片机原理期末复习笔记
About how appium closes apps (resolved)
靠卖概念上市,认养一头牛能走多远?
将数学公式在el-table里面展示出来
leecode3. 无重复字符的最长子串
随机推荐
.Net下極限生產力之efcore分錶分庫全自動化遷移CodeFirst
关于 appium 如何关闭 app (已解决)
学习突围2 - 关于高效学习的方法
MongoDB 分片总结
靠卖概念上市,认养一头牛能走多远?
Ogre入门尝鲜
迅为iTOP-IMX6ULL开发板Pinctrl和GPIO子系统实验-修改设备树文件
[untitled]
test
Aosikang biological sprint scientific innovation board of Hillhouse Investment: annual revenue of 450million yuan, lost cooperation with kangxinuo
[untitled]
【无标题】
Go language learning notes - structure
【无标题】
[QNX Hypervisor 2.2用户手册]6.3.4 虚拟寄存器(guest_shm.h)
ESP32系列专栏
Cloud detection 2020: self attention generation countermeasure network for cloud detection in high-resolution remote sensing images
Practical example of propeller easydl: automatic scratch recognition of industrial parts
regular expression
“新红旗杯”桌面应用创意大赛2022