[Xorg] The big multiconsole nasty

Jesse Barnes jbarnes at engr.sgi.com
Tue Jul 13 12:40:47 PDT 2004


On Tuesday, July 13, 2004 3:25 pm, Jesse Barnes wrote:
> On Tuesday, July 13, 2004 3:09 pm, Egbert Eich wrote:
> > Jesse Barnes writes:
> >  > In the arch specific in/out routines you mean?  I see lots of lines
> >  > like inb(0x3c8) in various drivers and other code...
> >
> > Can you point me to them, please?
>
> There are too many to list.  Just do a 'grep -r inb' in hw/xorg.  Many of
> the inb calls refer to a base, but in some cases (maybe all cases) the
> IOBase is assumed to be global and unique, rather than per-device or
> per-bus.

Actually, now that I've looked at it some more, it's not *that* bad.  There 
are some places that use absolute values, but many are relative to a base.  
Not all platforms support it though, since many declare their in/out routines 
to take unsigned short values...

Jesse




More information about the xorg mailing list