@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.
Truchard will be presented the award at the 2014 Golden Mousetrap Awards ceremony during the co-located events Pacific Design & Manufacturing, MD&M West, WestPack, PLASTEC West, Electronics West, ATX West, and AeroCon.
For industrial control applications, or even a simple assembly line, that machine can go almost 24/7 without a break. But what happens when the task is a little more complex? That’s where the “smart” machine would come in. The smart machine is one that has some simple (or complex in some cases) processing capability to be able to adapt to changing conditions. Such machines are suited for a host of applications, including automotive, aerospace, defense, medical, computers and electronics, telecommunications, consumer goods, and so on. This discussion will examine what’s possible with smart machines, and what tradeoffs need to be made to implement such a solution.