Am 28.12.2012 um 18:54 schrieb andy pugh:

> On 28 December 2012 09:56, Michael Haberler <mai...@mah.priv.at> wrote:
> 
>>> If rtapi abstracts inb and outb then I probably just need to make the
>>> driver use the rtapi_inb and rtapi_outb versions? (I wasn't aware of
>>> them when I wrote the driver)
> 
>> There is no point whatsoever in 'abstracting' an instruction which is 
>> available on exactly one platform to start with.
> 
> Doesn't the instruction require kernel-level access to hardware, though?
> 
> I admit to being very unclear on this.

it requires 'I/O privileges', a userland process might get them through iopl() 
- see man iopl 
this is what rtapi_app does in the userland thread styles.

-m

> 
> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> 
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to