Index: /trunk/src/VBox/VMM/VMMR3/TM.cpp
===================================================================
--- /trunk/src/VBox/VMM/VMMR3/TM.cpp	(revision 54086)
+++ /trunk/src/VBox/VMM/VMMR3/TM.cpp	(revision 54087)
@@ -3457,13 +3457,12 @@
 
 /**
- * Gets the descriptive TM TSC mode name.
+ * Gets the descriptive TM TSC mode name given the enum value.
  *
  * @returns The name.
  * @param   pVM      Pointer to the VM.
  */
-static const char *tmR3GetTSCModeName(PVM pVM)
-{
-    Assert(pVM);
-    switch (pVM->tm.s.enmTSCMode)
+static const char *tmR3GetTSCModeNameEx(TMTSCMODE enmMode)
+{
+    switch (enmMode)
     {
         case TMTSCMODE_REAL_TSC_OFFSET:    return "RealTscOffset";
@@ -3476,18 +3475,13 @@
 
 /**
- * Gets the descriptive TM TSC mode name given the enum value.
+ * Gets the descriptive TM TSC mode name.
  *
  * @returns The name.
  * @param   pVM      Pointer to the VM.
  */
-static const char *tmR3GetTSCModeNameEx(TMTSCMODE enmMode)
-{
-    switch (enmMode)
-    {
-        case TMTSCMODE_REAL_TSC_OFFSET:    return "RealTscOffset";
-        case TMTSCMODE_VIRT_TSC_EMULATED:  return "VirtTscEmulated";
-        case TMTSCMODE_DYNAMIC:            return "Dynamic";
-        default:                           return "???";
-    }
-}
-
+static const char *tmR3GetTSCModeName(PVM pVM)
+{
+    Assert(pVM);
+    return tmR3GetTSCModeNameEx(pVM->tm.s.enmTSCMode);
+}
+
Index: /trunk/src/VBox/VMM/include/TMInternal.h
===================================================================
--- /trunk/src/VBox/VMM/include/TMInternal.h	(revision 54086)
+++ /trunk/src/VBox/VMM/include/TMInternal.h	(revision 54087)
@@ -768,4 +768,8 @@
 DECLEXPORT(uint64_t)    tmVirtualNanoTSRediscover(PRTTIMENANOTSDATA pData);
 
+#ifdef IN_RING3
+static const char *     tmR3GetTSCModeNameEx(TMTSCMODE enmMode);
+#endif
+
 
 /**
