Michael Anderson
User Rank
Re: Part III: The Ins & Outs of DebugFS
Michael Anderson   8/8/2012 3:09:00 PM
@GBr For debugfs, you'd need to allocate the maximum buffer size and leave it there.  Then you could have a size variable and the actual buffer as two separate values to handle the variable buffer part.  Or, you could use remap_pfn_range() in the kernel and mmap() from user-space to just map the buffer directly into the user's address space.  Debugfs is probably less prone to errors though.

Partner Zone
Latest Analysis
The IoT will bring us the many positives of AI, evolving our technologies in ways that only a few years ago seemed like science fiction, according to ARM’s buyer.
Days after a massive, distributed denial-of-service attack took down dozens of major websites around the country, ARM Holdings plc is rolling out a pair of new processor architectures aimed at shoring up IoT security.
Dow Chemical and several other companies have launched a program in Omaha, Neb. to divert about 36 tons of plastics from landfills in its first phase, and convert it into energy used for cement production.
Both traditional automation companies and startups are developing technologies to improve processes on the factory floor, while smart sensors and other IoT-related technologies are improving how products are handled during transport and across the supply chain.
Remote monitoring now looks beyond the individual motor or conveyor and instead views the process from end to end.
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Oct 10 - 14, Embedded System Design Techniques™: Getting Started Developing Professional Embedded Software
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9 | 10

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.
Next Course September 27-29:
Sponsored by 3M
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Technology Marketplace

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