[Xorg] The big multiconsole nasty

Alan Cox alan at lxorguk.ukuu.org.uk
Tue Jul 13 11:02:22 PDT 2004


On Maw, 2004-07-13 at 04:28, Jesse Barnes wrote:
> So, in short, unless there are problems, I'd like to see things like
> 
>   val = inb(0x3c8)
> 
> changed to
> 
>   iobase = xf86GetLegacyIOBase(Tag);
>   ...
>   val = inb(iobase + 0x3c8)
> 
> *or*
> 
>   val = inb(Tag, 0x3c8)

To make it work well would it not be better to make

	iobase = xf86MapIORange(Tag, size);

for many platforms thats very very efficient to implement. You would
still want explicitly to select the VGA device I suspect though.






More information about the xorg mailing list