Changeset 36236 in vbox
- Timestamp:
- Mar 9, 2011 5:27:22 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70458
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp
r36234 r36236 695 695 if (RTMpGetArraySize() > RT_ELEMENTS(g_aLApics)) 696 696 { 697 LogRel(("CPUM: Too many real CPUs - %u, max %u\n", RTMpGetArraySize(), RT_ELEMENTS(g_aLApics)));697 LogRel(("CPUM: Too many real CPUs/cores/threads - %u, max %u\n", RTMpGetArraySize(), RT_ELEMENTS(g_aLApics))); 698 698 return VERR_TOO_MANY_CPUS; 699 699 } -
trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp
r35346 r36236 154 154 bool fAMDVPresent = false; 155 155 156 memset(&HWACCMR0Globals, 0, sizeof(HWACCMR0Globals));157 156 HWACCMR0Globals.enmHwAccmState = HWACCMSTATE_UNINITIALIZED; 158 157 for (unsigned i = 0; i < RT_ELEMENTS(HWACCMR0Globals.aCpuInfo); i++) … … 173 172 /* Default is global VT-x/AMD-V init */ 174 173 HWACCMR0Globals.fGlobalInit = true; 174 175 /* 176 * Make sure aCpuInfo is big enough for all the CPUs on this system. 177 */ 178 if (RTMpGetArraySize() > RT_ELEMENTS(HWACCMR0Globals.aCpuInfo)) 179 { 180 LogRel(("HWACCM: Too many real CPUs/cores/threads - %u, max %u\n", RTMpGetArraySize(), RT_ELEMENTS(HWACCMR0Globals.aCpuInfo))); 181 return VERR_TOO_MANY_CPUS; 182 } 175 183 176 184 /*
Note:
See TracChangeset
for help on using the changeset viewer.