当前位置:网站首页>[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位:当前活跃的客户端 (参考
边栏推荐
- Enterprise custom form engine solution (XII) -- experience code directory structure
- Pcap learning notes II: pcap4j source code Notes
- JS determines whether an object is empty
- About the problem of APP flash back after appium starts the app - (solved)
- 明星企业普渡科技大裁员:曾募资超10亿 腾讯红杉是股东
- 【无标题】
- .Net下极限生产力之efcore分表分库全自动化迁移CodeFirst
- Sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
- Adopt a cow to sprint A shares: it plans to raise 1.85 billion yuan, and Xu Xiaobo holds nearly 40%
- MySQL master-slave replication
猜你喜欢

About how appium closes apps (resolved)

博文推荐|Apache Pulsar 跨地域复制方案选型实践

Differences between MySQL storage engine MyISAM and InnoDB

HZOJ #240. Graphic printing IV

单片机原理期末复习笔记

10 张图打开 CPU 缓存一致性的大门

通过Keil如何查看MCU的RAM与ROM使用情况

DHCP 动态主机设置协议 分析

自定义线程池拒绝策略

Sample chapter of "uncover the secrets of asp.net core 6 framework" [200 pages /5 chapters]
随机推荐
JNA learning notes 1: Concepts
Japanese government and enterprise employees got drunk and lost 460000 information USB flash drives. They publicly apologized and disclosed password rules
Coscon'22 community convening order is coming! Open the world, invite all communities to embrace open source and open a new world~
《ASP.NET Core 6框架揭秘》样章[200页/5章]
[untitled]
Practical example of propeller easydl: automatic scratch recognition of industrial parts
[untitled]
How does MySQL create, delete, and view indexes?
初学XML
Cinnamon 任务栏网速
Conversion from non partitioned table to partitioned table and precautions
非分区表转换成分区表以及注意事项
Practical example of propeller easydl: automatic scratch recognition of industrial parts
Why can basic data types call methods in JS
Test next summary
基于鲲鹏原生安全,打造安全可信的计算平台
The URL modes supported by ThinkPHP include four common modes, pathinfo, rewrite and compatibility modes
高瓴投的澳斯康生物冲刺科创板:年营收4.5亿 丢掉与康希诺合作
ISPRS2021/遥感影像云检测:一种地理信息驱动的方法和一种新的大规模遥感云/雪检测数据集
Sequoia China completed the new phase of $9billion fund raising