[Xorg-driver-geode] [PATCH] X86EMU: handle CPUID instruction (passthrough)

Bart Trojanowski bart at jukie.net
Sat Feb 2 17:04:02 PST 2008


* Daniel Stone <daniel at fooishbar.org> [080202 17:23]:
> On Sat, Feb 02, 2008 at 12:40:30PM -0500, Bart Trojanowski wrote:
> > The opcode was 0F A2, or CPUID; it was not implemented in the emulator.
> > This simple patch, against 1.3.0.0, handles the CPUID instruction by
> > getting the values from the real hardware (Geode LX in this case).
> 
> Er, that won't work on non-x86 architectures, so you really want to,
> well, emulate it, and then return a fake result.

I am a bit confused.  Is there a case where one would use BIOS and 
INT 0x10 services on a non x86 architecture?

-Bart

-- 
				WebSig: http://www.jukie.net/~bart/sig/



More information about the xorg mailing list