andy pugh wrote:
> On 30 August 2012 05:16, Jon Elson <[email protected]> wrote:
>
>   
>> 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 think rtapi already includes rtapi_inb() and rtapi_outb() which
> presumably (hopefully?) could be abstracted.
> A lot of the drivers don't actually use them, but could presumably be made to.
>   
Well, this would be fine for X-86 architecture, but not on memory-mapped
ones like ARM.  But, if their versions of inb() and outb() are different 
from
the ones we use now, that would require some work in rtapi, I guess.
It would be nice if we don't have to call a wrapper routine that calls a
wrapper routine to do these functions, too.

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

Reply via email to