Changeset 20158 in vbox
- Timestamp:
- May 29, 2009 3:25:31 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/err.h
r19844 r20158 82 82 /** Invalid Virtual CPU ID. */ 83 83 #define VERR_INVALID_CPU_ID (-1018) 84 /** Too many VCPUs. */ 85 #define VERR_TOO_MANY_CPUS (-1019) 84 86 /** @} */ 85 87 -
trunk/src/VBox/VMM/CPUM.cpp
r20157 r20158 423 423 if (pVM->cpum.s.enmCPUVendor == CPUMCPUVENDOR_INTEL) 424 424 { 425 AssertReturn(pVM->cCPUs <= 64, VERR_TOO_MANY_CPUS); 425 426 /* One logical processor with possibly multiple cores. */ 426 427 pCPUM->aGuestCpuIdStd[4].eax |= ((pVM->cCPUs - 1) << 26); /* 6 bits only -> 64 cores! */ -
trunk/src/VBox/VMM/PGMInternal.h
r20151 r20158 2222 2222 bool fRamPreAlloc; 2223 2223 /** Alignment padding. */ 2224 bool afAlignment0[ 7];2224 bool afAlignment0[11]; 2225 2225 2226 2226 /* -
trunk/src/VBox/VMM/VM.cpp
r19495 r20158 215 215 * Validate input. 216 216 */ 217 AssertLogRelMsgReturn(cCPUs > 0 && cCPUs <= VMM_MAX_CPU_COUNT, ("%RU32\n", cCPUs), VERR_ INVALID_PARAMETER);217 AssertLogRelMsgReturn(cCPUs > 0 && cCPUs <= VMM_MAX_CPU_COUNT, ("%RU32\n", cCPUs), VERR_TOO_MANY_CPUS); 218 218 219 219 /*
Note:
See TracChangeset
for help on using the changeset viewer.