qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5366] Handle MSR_IA32_PERF_STATUS in rdmsr (Alexander Graf).
@ 2008-09-30 23:35 Andrzej Zaborowski
  0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-09-30 23:35 UTC (permalink / raw)
  To: qemu-devel

Revision: 5366
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5366
Author:   balrog
Date:     2008-09-30 23:35:18 +0000 (Tue, 30 Sep 2008)

Log Message:
-----------
Handle MSR_IA32_PERF_STATUS in rdmsr (Alexander Graf).

Modified Paths:
--------------
    trunk/target-i386/op_helper.c

Modified: trunk/target-i386/op_helper.c
===================================================================
--- trunk/target-i386/op_helper.c	2008-09-30 23:31:35 UTC (rev 5365)
+++ trunk/target-i386/op_helper.c	2008-09-30 23:35:18 UTC (rev 5366)
@@ -3175,12 +3175,6 @@
     case MSR_VM_HSAVE_PA:
         env->vm_hsave = val;
         break;
-    case MSR_IA32_PERF_STATUS:
-        /* tsc_increment_by_tick */ 
-        val = 1000ULL;
-        /* CPU multiplier */
-        val |= (((uint64_t)4ULL) << 40);
-        break;
 #ifdef TARGET_X86_64
     case MSR_LSTAR:
         env->lstar = val;
@@ -3238,6 +3232,12 @@
     case MSR_VM_HSAVE_PA:
         val = env->vm_hsave;
         break;
+    case MSR_IA32_PERF_STATUS:
+        /* tsc_increment_by_tick */
+        val = 1000ULL;
+        /* CPU multiplier */
+        val |= (((uint64_t)4ULL) << 40);
+        break;
 #ifdef TARGET_X86_64
     case MSR_LSTAR:
         val = env->lstar;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-30 23:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-30 23:35 [Qemu-devel] [5366] Handle MSR_IA32_PERF_STATUS in rdmsr (Alexander Graf) Andrzej Zaborowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).