当前位置:网站首页>[QNX hypervisor 2.2 user manual]6.3 communication between guest and external
[QNX hypervisor 2.2 user manual]6.3 communication between guest and external
2022-07-02 14:42:00 【Gao Tong @bill】
Hypervisor In the system Guest You can share memory areas to share information with others Guset or Hypervisor Host To transmit data .
stay QNX Hypervisor In the system , Running on the Guest The client program in can create and manage shared memory , Then use the shared memory area to exchange data . It should be noted that , This shared memory area is not created and managed by , It is Hypervisor.Host Applications can also create a shared memory area or attach a shared memory area created by others if permission allows .
QNX Hypervisor Provided hypervisor-shmem-examples-*.tgz Contains QNX Guest Related shared memory case program code :ghstest.c and Hypervisor Host Relevant case program code :hhstest.c.
In order to Hypervisor Host And Guest Modules that share data perform write operations , You need to use virtualization API(libhyp.a). This part is not included in QNX hypervisor file , But in Virtualization API Reference Described in . To include this additional documentation , And support for host Module write operation , You can contact QNX interface (QNX representative).
One 、 Working mechanism of shared memory
In order to use shared memory , One Guest Client program or Hypervisor Host The program in needs to do something :
- Map shared memory area ;
- When the shared memory area is updated , Hardware interrupts can be used to notify other users of shared memory ;
Hypervisor Provides shmem Virtual device , The device realizes the mapping of setting the shared memory area and the interrupts required for using the shared memory . This virtual device provides additional functionality for using shared memory , Include
边栏推荐
- <口算練習機 方案開發原理圖>口算練習機/口算寶/兒童數學寶/兒童計算器 LCD液晶顯示驅動IC-VK1621B,提供技術支持
- Fabric. JS manual bold text iText
- Implement a server with multi process concurrency
- STM32库函数进行GPIO初始化
- Stm32-dac Experiment & high frequency DAC output test
- Onnx+tensorrt: write preprocessing operations to onnx and complete TRT deployment
- Openharmony notes --------- (4)
- Fabric.js 手动加粗文本iText
- threejs的控制器 立方體空間 基本控制器+慣性控制+飛行控制
- 3. Function pointers and pointer functions
猜你喜欢

Fabric. Usage of JS eraser (including recovery function)

Chinese science and technology from the Winter Olympics (III): the awakening and evolution of digital people

Tencent cloud tstor unified storage passed the evaluation of the first batch of basic file storage capabilities of the ICT Institute

##51单片机实验之简易验证码发生器

途家木鸟美团夏日折扣对垒,门槛低就一定香吗?

Makefile separates file names and suffixes

Fabric.js 缩放画布

Available solution development oral arithmetic training machine / math treasure / children's oral arithmetic treasure / intelligent math treasure LCD LCD driver ic-vk1622 (lqfp64 package), original te

Quick analysis: easy to share the Internet

Makefile 分隔文件名与后缀
随机推荐
4、数组指针和指针数组
Understanding of mongodb
Large top heap, small top heap and heap sequencing
Packet capturing tool Fiddler learning
taobao.trades.sold.get-查询卖家已卖出的交易数据(根据创建时间),淘宝店铺卖出订单查询API接口,淘宝R2接口,淘宝oAuth2.0交易接口代码分享
The use of TestNG, the testing framework (II): the use of TestNG XML
obsidian安装第三方插件——无法加载插件
STM32库函数进行GPIO初始化
taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口
Go operation redis
docker mysql
【apipost】使用教程
Fabric. JS free draw circle
Tmall product details interface (APP, H5 end)
There is no solution to the decryption error of the remote user 'sa' and the service master password mapped from the remote server 'to the local user' (null) /sa '
< schéma de développement de la machine d'exercice oral > machine d'exercice oral / trésor d'exercice oral / trésor de mathématiques pour enfants / lecteur LCD de calculatrice pour enfants IC - vk1621
taobao. trade. Get (get some information of a single transaction), Taobao store order interface, Taobao oauth2.0 interface, Taobao R2 interface code docking and sharing
[Space & single cellomics] phase 1: single cell binding space transcriptome research PDAC tumor microenvironment
每日学习2
Chapter 9: xshell free version installation