« Previous | Next » 

Revision 33f373d7

ID33f373d7c56350fd2ec3e31f4f2c46cb49464911

Added by Liu Jinsong over 10 years ago

target-i386: fix cpuid leaf 0x0d

Fix cpuid leaf 0x0d which incorrectly parsed eax and ebx.

However, before this patch the CPUID worked fine -- the .offset
field contained the size and was stored in the register that
is supposed to hold the size (eax), and likewise the .size field
contained the offset and was stored in the register trhat is
supposed to hold the offset (ebx).

Signed-off-by: Liu Jinsong <>
Signed-off-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences