[PATCH] X86EMU: handle CPUID instruction (passthrough)
Daniel Stone
daniel at fooishbar.org
Sat Feb 2 14:24:51 PST 2008
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.
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080203/2cc50670/attachment.pgp>
More information about the xorg
mailing list