当前位置:网站首页>[QNX hypervisor 2.2 user manual]6.3.1 factory page and control page
[QNX hypervisor 2.2 user manual]6.3.1 factory page and control page
2022-07-04 19:41:00 【Gao Tong @bill】
QNX Hypervisor Shared memory by using factory pages and control pages (Factory pages and Control Pages) Realization .
Factory and control pages are kept shmem Virtual machine register of virtual device ( Reference resources “Virtual registers (guest_shm.h)”).Guest Drivers in can access guest-physical These registers in memory , And interact with it , It's like interacting with physical registers , Read and write at the specified offset .
The page size of factory and control pages is the same as QNX Hypervisor The kernel page is the same (4KB).
One 、 Factory page
because qvm The process will be vm Create a factory page , You need to host Guest Of VM Of qvm Configuration contains shmem Virtual device . Typically , Every qvm The configuration file contains only one shmem Virtual device , So every VM There is only one factory page .
A factory page contains information about shared memory , This includes a control page that stores each shared memory area guest-physical Area of address . And the value of this area will be in Guest Create or attach (attach) Different shared memory areas change .
A factory page may be located in Guest Any location of unallocated memory that can be accessed . for example , Suppose no other memory has been allocated , If we assign 192MB Of memory ( stay qvm The configuration has ram 192M), We can put the factory page outside of this assignment at at 0x10000000 (256 MB). At this address guest-physical Address , It is not the actual physical address in the hardware .shmem The virtual device will be VM Virtual factory page . And no other device will use this location .
When Guest An application in wants
边栏推荐
- Master the use of auto analyze in data warehouse
- 牛客小白月赛7 F题
- 测试工程师如何“攻城”(上)
- Shell programming core technology "three"
- "Only one trip", active recommendation and exploration of community installation and maintenance tasks
- Lm10 cosine wave homeopathic grid strategy
- 牛客小白月赛7 E Applese的超能力
- 欧拉函数
- 偏移量函数及开窗函数
- HDU 6440 2018 Chinese college student program design network competition
猜你喜欢
Mysql database basic operation -ddl | dark horse programmer
记一次 .NET 某工控数据采集平台 线程数 爆高分析
There are multiple divs in the large div, which are displayed on the same line. After overflow, scroll bars are generated without line breaks
牛客小白月赛7 谁是神箭手
多表操作-外连接查询
Several methods of online database migration
Opencv functions and methods related to binary threshold processing are summarized for comparison and use
BCG 使用之CBCGPProgressDlg进度条使用
欧拉函数
YOLOv5s-ShuffleNetV2
随机推荐
node_ Exporter deployment
JVM系列之对象的创建
多表操作-内连接查询
1011 World Cup betting (20 points) (pat a)
kotlin 类和对象
在线SQL转Excel(xls/xlsx)工具
.NET ORM框架HiSql实战-第二章-使用Hisql实现菜单管理(增删改查)
双冒号作用运算符以及命名空间详解
1009 Product of Polynomials(25 分)(PAT甲级)
Allure of pytest visual test report
用实际例子详细探究OpenCV的轮廓绘制函数drawContours()
明明的随机数
OpenCV的二值化处理函数threshold()详解
爬虫(6) - 网页数据解析(2) | BeautifulSoup4在爬虫中的使用
1007 maximum subsequence sum (25 points) (PAT class a)
记一次 .NET 某工控数据采集平台 线程数 爆高分析
大div中有多个div,这些div在同一行显示,溢出后产生滚动条而不换行
An example of multi module collaboration based on NCF
添加命名空间声明
页面元素垂直水平居中、实现已知或者未知宽度的垂直水平居中。