ef9d4b4b8c
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 |
||
---|---|---|
.. | ||
debug.h | ||
decode.h | ||
fpu_regs.h | ||
fpu.h | ||
ops.h | ||
prim_asm.h | ||
prim_ops.h | ||
prim_x86_gcc.h | ||
regs.h | ||
types.h | ||
x86emui.h |