realemu: fix cpuid
ECX and EDX were incorrectly swapped. Ref: http://wiki.osdev.org/CPUID thanks Anthony Martin <ality@pbrane.org> for sending the patch!front
parent
d9d6cdffac
commit
f0b471efb9
|
@ -932,9 +932,9 @@ opcpuid(Cpu *cpu, Inst *)
|
|||
} tab[] = {
|
||||
0,
|
||||
5,
|
||||
0x756e6547,
|
||||
0x49656e69,
|
||||
0x6c65746e,
|
||||
0x756e6547, /* Genu */
|
||||
0x6c65746e, /* ntel */
|
||||
0x49656e69, /* ineI */
|
||||
1,
|
||||
4<<8,
|
||||
0x00000000,
|
||||
|
|
Loading…
Reference in New Issue