xenocara/xserver/hw/xfree86/x86emu/x86emu
mbalmer ef9d4b4b8c Pull in a patch from X.Org-current to let X11 run on AMD Geode LX
CPUs in basic VESA mode:

X86EMU: handle CPUID instruction

Starting X on an AMD Geode LX system such as an Alix board with VGA
connector, the Xorg driver attempts to issue INT 10/0 to go to mode
3 (VGA).  The emulator, running the BIOS code, would then spit out:

	c000:0282: A2 ILLEGAL EXTENDED X86 OPCODE!

The opcode was 0F A2, or CPUID; it was not implemented in the
emulator. With this patch it handles the CPUID instruction in one of
two ways:

1) if ran on __i386__ or __x86_64__ then it calls the CPUID instruction
   directly.

2) if ran elsewhere it returns a canned 486dx4 set of values for function 1.

Tested with & ok matthieu
2008-06-10 22:31:30 +00:00
..
debug.h Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
decode.h Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
fpu_regs.h Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
fpu.h Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
ops.h Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
prim_asm.h Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
prim_ops.h Pull in a patch from X.Org-current to let X11 run on AMD Geode LX 2008-06-10 22:31:30 +00:00
prim_x86_gcc.h Pull in a patch from X.Org-current to let X11 run on AMD Geode LX 2008-06-10 22:31:30 +00:00
regs.h Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
types.h Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
x86emui.h Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00