xenocara/xserver/hw/xfree86/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
..
x86emu Pull in a patch from X.Org-current to let X11 run on AMD Geode LX 2008-06-10 22:31:30 +00:00
debug.c xserver 1.4 2007-11-24 17:55:21 +00:00
decode.c Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
fpu.c Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
Makefile.am xserver 1.4 2007-11-24 17:55:21 +00:00
Makefile.in regen. 2008-05-24 20:39:01 +00:00
ops2.c Pull in a patch from X.Org-current to let X11 run on AMD Geode LX 2008-06-10 22:31:30 +00:00
ops.c Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
prim_ops.c Pull in a patch from X.Org-current to let X11 run on AMD Geode LX 2008-06-10 22:31:30 +00:00
sys.c Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
validate.c Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00
x86emu.h Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00