[PATCH] int10: Remove the vm86 and stub backends

Egbert Eich eich at freedesktop.org
Wed Sep 14 12:28:48 PDT 2011


On Wed, Sep 14, 2011 at 12:25:20PM -0500, Jamey Sharp wrote:
> From: Adam Jackson <ajax at redhat.com>
> 
> vm86 has been defaulted off since 1.6, and is still a terrible idea to
> actually use.  Time to say goodbye.

Not a good idea. I've reenabled it in our enterprise product lately.

Reason: I've run into issues with SMIs that were triggered by outb()s
to specific registers. These SMIs returned their return state in CPU 
registers whose values were checked later on in the code.
The emulator doesn't track the state of CPU register itself thus 
will not catch any such results.

> 
> The stub backend is only ever built by default on freebsd/ppc, and can't
> be doing any good there.  The right fix is --disable-int10 if you want
> to not ship int10 support.

This was used to handle the request for loading the int10 module and 
provide targets for the function calls in drivers. If it can be ensured 
that drivers won't load this module and call its function this can probably 
be deleted.

Cheers,
	Egbert.


More information about the xorg-devel mailing list