Changeset 60411 in vbox
- Timestamp:
- Apr 10, 2016 5:16:09 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 106497
- Location:
- trunk/src/VBox
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r60410 r60411 978 978 /* CPUM profile name. */ 979 979 hrc = pMachine->COMGETTER(CPUProfile)(bstr.asOutParam()); H(); 980 InsertConfigString(p Root, "GuestCPUName", bstr);980 InsertConfigString(pCPUM, "GuestCpuName", bstr); 981 981 982 982 /* … … 986 986 * dead wrong on 8086 (see http://www.os2museum.com/wp/undocumented-8086-opcodes/). 987 987 */ 988 if ( bstr.equals("80286") 989 || bstr.equals("80186") 990 || bstr.equals("V30") 991 || bstr.equals("V20") 992 || bstr.equals("8086") 993 || bstr.equals("8088") ) 988 if ( bstr.equals("Intel 80286") 989 || bstr.equals("Intel 80186") 990 || bstr.equals("Nec V20") 991 || bstr.equals("Intel 8086") ) 994 992 InsertConfigInteger(pEM, "IemExecutesAll", true); 995 993 -
trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
r59792 r60411 2219 2219 uint32_t uMaxCentaurLeaf; 2220 2220 uint32_t uMaxIntelFamilyModelStep; 2221 char szCpuName[128];2221 char szCpuName[128]; 2222 2222 } CPUMCPUIDCONFIG; 2223 2223 /** Pointer to CPUID config (from CFGM). */ -
trunk/src/VBox/VMM/VMMR3/CPUMR3Db.cpp
r58653 r60411 53 53 /** Scalable bus frequency used for reporting other frequencies. */ 54 54 uint64_t uScalableBusFreq; 55 /** Flags (TBD). */55 /** Flags - CPUDB_F_XXX. */ 56 56 uint32_t fFlags; 57 57 /** The maximum physical address with of the CPU. This should correspond to … … 80 80 * Defined Constants And Macros * 81 81 *********************************************************************************************************************************/ 82 /** @name CPUDB_F_XXX - CPUDBENTRY::fFlags 83 * @{ */ 84 /** Should execute all in IEM. 85 * @todo Implement this - currently done in Main... */ 86 #define CPUDB_F_EXECUTE_ALL_IN_IEM RT_BIT_32(0) 87 /** @} */ 88 82 89 83 90 /** @def NULL_ALONE … … 186 193 #include "cpus/Intel_Pentium_4_3_00GHz.h" 187 194 #include "cpus/Intel_Atom_330_1_60GHz.h" 195 #include "cpus/Intel_80286.h" 196 #include "cpus/Intel_80186.h" 197 #include "cpus/Intel_8086.h" 188 198 189 199 #include "cpus/AMD_FX_8150_Eight_Core.h" … … 238 248 &g_Entry_Intel_Pentium_4_3_00GHz, 239 249 #endif 250 #ifdef VBOX_CPUDB_Intel_80486 251 &g_Entry_Intel_80486, 252 #endif 253 #ifdef VBOX_CPUDB_Intel_80386 254 &g_Entry_Intel_80386, 255 #endif 256 #ifdef VBOX_CPUDB_Intel_80286 257 &g_Entry_Intel_80286, 258 #endif 259 #ifdef VBOX_CPUDB_Intel_80186 260 &g_Entry_Intel_80186, 261 #endif 262 #ifdef VBOX_CPUDB_Intel_8086 263 &g_Entry_Intel_8086, 264 #endif 240 265 241 266 #ifdef VBOX_CPUDB_AMD_FX_8150_Eight_Core … … 257 282 #ifdef VBOX_CPUDB_VIA_QuadCore_L4700_1_2_GHz 258 283 &g_Entry_VIA_QuadCore_L4700_1_2_GHz, 284 #endif 285 286 #ifdef VBOX_CPUDB_NEC_V20 287 &g_Entry_NEC_V20, 259 288 #endif 260 289 }; … … 851 880 if (pEntry->cCpuIdLeaves) 852 881 { 853 pInfo->paCpuIdLeavesR3 = (PCPUMCPUIDLEAF)RTMemDup(pEntry->paCpuIdLeaves, 854 sizeof(pEntry->paCpuIdLeaves[0]) * pEntry->cCpuIdLeaves); 882 /* Must allocate a multiple of 16 here, matching cpumR3CpuIdEnsureSpace. */ 883 size_t cbExtra = sizeof(pEntry->paCpuIdLeaves[0]) * (RT_ALIGN(pEntry->cCpuIdLeaves, 16) - pEntry->cCpuIdLeaves); 884 pInfo->paCpuIdLeavesR3 = (PCPUMCPUIDLEAF)RTMemDupEx(pEntry->paCpuIdLeaves, 885 sizeof(pEntry->paCpuIdLeaves[0]) * pEntry->cCpuIdLeaves, 886 cbExtra); 855 887 if (!pInfo->paCpuIdLeavesR3) 856 888 return VERR_NO_MEMORY;
Note:
See TracChangeset
for help on using the changeset viewer.