[Xorg-driver-geode] [PATCH] X86EMU: handle CPUID instruction (passthrough)
Jaymz Julian
jaymz at artificial-stupidity.net
Sat Feb 2 17:25:41 PST 2008
On Sat, Feb 02, 2008 at 08:04:02PM -0500, Bart Trojanowski wrote:
> * 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?
POSTing an ordinary ISA/PCI vga card on {ppc|arm|sparc|other isa/pci
non-x86 archs}
--jj
--
--
Jaymz Julian - Coder, Visionary, Fat Ass.
"Hannibal is a serial killer. He only likes to kill and eat people.
Very few people have `I want to be killed and eaten' on their cards,
so Hannibal is out of a job." - http://cards.sf.net
More information about the xorg
mailing list