summaryrefslogtreecommitdiff
path: root/xserver/render/glyph.c
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2008-06-10 22:31:31 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2008-06-10 22:31:31 +0000
commit362affcae887d15bfba9454b386fd1bf4d617276 (patch)
tree48ab5c5933abf5ed255f9c41915ec0e6f5dfe380 /xserver/render/glyph.c
parent8ca489daad37dcf6e4211e248438fe939bdd17c7 (diff)
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
Diffstat (limited to 'xserver/render/glyph.c')
0 files changed, 0 insertions, 0 deletions