HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comment
Michael Anderson
User Rank
Blogger
Re: Part III: The Ins & Outs of DebugFS
Michael Anderson   8/8/2012 3:15:46 PM
NO RATINGS
@GBr look in the kernel source tree in <kernel>/drivers/char/mem.c to see an example of remap_pfn_range.  You can embedd that code in your own driver's mmap() callback from the file operations table.  Then use the user-space mmap() call to call the driver to do the mapping.  It's pretty straightforward once you look at the mem.c code.



Partner Zone
Latest Analysis
It took engineers nearly half a century to determine why the SS Schenectady, while docked quietly in a harbor off Portland, Ore. one day, suddenly snapped in half.
The medical devices behind the superbug outbreak at UCLA suffer from a design flaw that experts have been aware of for decades.
Just when you thought mobile technology couldn’t get any more personal, Proctor & Gamble have come up with a way to put your mobile where your mouth is, in the form of a Bluetooth 4.0 connected toothbrush.
The grab bag of plastic and rubber materials featured in this new product slideshow are aimed at lighting applications or automotive uses. The rest are for a wide variety of industries, including aerospace, oil & gas, RF and radar, automotive, building materials, and more.
Made By Monkeys highlights products that somehow slipped by the QC cops.
More:Blogs|News
Design News Webinar Series
2/25/2015 11:00 a.m. California / 2:00 p.m. New York
12/11/2014 8:00 a.m. California / 11:00 a.m. New York
12/10/2014 8:00 a.m. California / 11:00 a.m. New York
11/19/2014 11:00 a.m. California / 2:00 p.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Mar 9 - 13, Implementing Motor Control Designs with MCUs and FPGAs: An Introduction and Update
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  67


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2015 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service