Ok, I will check how the latency in device drivers are, perhaps they
are not so bad, atleast for x86 , I was thinking arm .... someone was
mentioning they had to do some copying on interrupts ( ie, context
switches ... ).
 Lets investigate, it's no worse than a scope to the parport and
setting one pin with outb and another with a driver.

 / Lars


2012/8/31 Jon Elson <[email protected]>:
> 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

------------------------------------------------------------------------------
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