qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/4] target-i386: Helpers for CPUID version


From: Andreas Färber
Subject: [Qemu-devel] [PATCH 0/4] target-i386: Helpers for CPUID version
Date: Fri, 17 Feb 2012 17:46:00 +0100

Hello x86 gurus,

This series came out of my qom-cpu work. The reasoning is that in a QOM world
we will need this logic twice, once as before and once for
-cpu family=x,model=y,stepping=z,model_id=foo.

Note: The family=x value is not bounds-checked in cpu_x86_find_by_name()!

I'd appreciate if someone could double-check the masks I added. I calculated
them based on "Intel® Processor Identification and the CPUID Instruction.
Application Note 485. January 2011".

Thanks,
Andreas

Cc: Andre Przywara <address@hidden>

Andreas Färber (4):
  target-i386: Introduce x86_cpuid_version_set_family()
  target-i386: Introduce x86_cpuid_version_set_model()
  target-i386: Introduce x86_cpuid_version_set_stepping()
  target-i386: Introduce x86_cpuid_set_model_id()

 target-i386/cpuid.c |   64 +++++++++++++++++++++++++++++++++++----------------
 1 files changed, 44 insertions(+), 20 deletions(-)

-- 
1.7.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]