Shared memory communication and event notification between the driver and the application layer

Source: Internet
Author: User

Between the driver and the application through the shared memory communication, namely RING0 and Ring3 shared memory, sometimes is an obvious demand, in addition, the driver in many cases also need to actively notify the application after a certain condition is satisfied to do the corresponding operation, this article makes some of my own learning experience record, for later reference.

Shared Memory

About the kernel and application layer shared memory, in fact, gave a OSR article and code, all the problems have been solved, I found on the Internet some of the translation of this article, but the bizarre is all these translations did not have the original link to add, the original sample is not given out, I had to continue to spend time searching the web for the original and original sample code.

Here is not prepared to write too much, in the OSR article has been very clear, this time is doing this, do a good job to take out the code to share with you.

Osr:a Common Topic explained-sharing Memory between Drivers and applications

http://www.osronline.com/article.cfm?article=39

There are a lot of translations for this article, and two layouts are good, title: share memory between the driver and the application.

Http://blog.csdn.net/lovesunshine2008/archive/2009/04/01/4041755.aspx

http://laokaddk.blog.51cto.com/368606/167228

Event Notification

Osr:sharing is caring-sharing Events between Kernel-user Mode

http://www.osronline.com/article.cfm?id=108

For convenience, the TXT version, the link and the two sample code of the two articles of OSR, I packed together into the CSDN download and needed to download it by myself.

http://download.csdn.net/source/2137398

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.