Lars Segerlund wrote: > Nicely presented, and I liked the clarity of it, enjoy. > > http://free-electrons.com/doc/posix-api.pdf > > The killer might be to talk to hardware through device drivers ..... > There are methods to access hardware from user mode, but it requires super-user privileges set on that executable. The RT system or rtapi may take care of that for you, I don't know preempt. But, once you have the privilege, iopl() will open access to a range of I/O ports for x-86 style hardware. there is an mmap function to access memory-mapped hardware on the ARM CPUs, and I have worked out how to do that on the Beagle Board.
Jon ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
