Changeset 21353 in vbox
- Timestamp:
- Jul 7, 2009 3:59:53 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49702
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r21350 r21353 427 427 AssertReturn(pVM->cCPUs <= 64, VERR_TOO_MANY_CPUS); 428 428 /* One logical processor with possibly multiple cores. */ 429 pCPUM->aGuestCpuIdStd[4].eax |= (pVM->cCPUs << 26); /* 6 bits only -> 64 cores! */ 429 /* See http://www.intel.com/Assets/PDF/appnote/241618.pdf p. 29 */ 430 pCPUM->aGuestCpuIdStd[4].eax |= ((pVM->cCPUs - 1) << 26); /* 6 bits only -> 64 cores! */ 430 431 } 431 432 #endif
Note:
See TracChangeset
for help on using the changeset viewer.