当前位置:网站首页>[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
边栏推荐
- 天猫商品详情接口(APP,H5端)
- 字符串匹配问题
- HMS core machine learning service helps zaful users to shop conveniently
- 3. Function pointers and pointer functions
- Openharmony notes --------- (4)
- 删除元素(带过渡动画)
- Yyds dry goods inventory software encryption lock function
- Daily learning 3
- Fabric. JS upper dash, middle dash (strikethrough), underline
- buuctf-pwn write-ups (7)
猜你喜欢

Implement a server with multi process concurrency

Uniapp automated test learning

A white hole formed by antineutrons produced by particle accelerators

Fabric. JS free draw circle

The use of TestNG, the testing framework (II): the use of TestNG XML

Stm32-dac Experiment & high frequency DAC output test

ONNX+TensorRT:将预处理操作写入ONNX并完成TRT部署

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 '

Yolov3 & yolov5 output result description

关于Flink框架窗口(window)函数最全解析
随机推荐
taobao.trade.memo.add( 对一笔交易添加备注 )接口,淘宝店铺插旗接口,淘宝订单插旗API接口,oAuth2.0接口
mathML转latex
Large top heap, small top heap and heap sequencing
Pycharm连接远程服务器
Go operation redis
Tencent cloud tstor unified storage passed the evaluation of the first batch of basic file storage capabilities of the ICT Institute
< schematic diagram of oral arithmetic exercise machine program development> oral arithmetic exercise machine / oral arithmetic treasure / children's math treasure / children's calculator LCD LCD driv
YoloV6训练:训练自己数据集遇到的各种问题
实现一个多进程并发的服务器
Fabric.js 手动加粗文本iText
threejs的控制器 立方体空间 基本控制器+惯性控制+飞行控制
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 '
Fabric.js 橡皮擦的用法(包含恢复功能)
3、函数指针和指针函数
大顶堆、小顶堆与堆排序
Fabric. JS manual bold text iText
Socket and socket address
2、const 型指针
STM32库函数进行GPIO初始化
卷积神经网络(入门)