Changeset 19232 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Apr 28, 2009 10:04:38 AM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMM.cpp
r19141 r19232 1079 1079 Log2(("VMMR3RawRunGC: (cs:eip=%04x:%08x)\n", CPUMGetGuestCS(pVCpu), CPUMGetGuestEIP(pVCpu))); 1080 1080 1081 AssertReturn(pVM->cCPUs == 1, VERR_RAW_MODE_INVALID_SMP); 1082 1081 1083 /* 1082 1084 * Set the EIP and ESP. … … 1210 1212 { 1211 1213 /* Raw mode implies 1 VCPU. */ 1212 Assert (pVM->cCPUs == 1);1214 AssertReturn(pVM->cCPUs == 1, VERR_RAW_MODE_INVALID_SMP); 1213 1215 PVMCPU pVCpu = &pVM->aCpus[0]; 1214 1216 … … 1329 1331 { 1330 1332 Log(("VMMR3ResumeHyper: eip=%RRv esp=%RRv\n", CPUMGetHyperEIP(pVCpu), CPUMGetHyperESP(pVCpu))); 1333 AssertReturn(pVM->cCPUs == 1, VERR_RAW_MODE_INVALID_SMP); 1331 1334 1332 1335 /* -
trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp
r19175 r19232 634 634 Log4(("pgmMapActivateCR3: fixed mappings=%d idxShwPageCR3=%#x\n", pVM->pgm.s.fMappingsFixed, pShwPageCR3 ? pShwPageCR3->idx : NIL_PGMPOOL_IDX)); 635 635 636 Assert(pVM->cCPUs == 1); 637 638 #ifdef DEBUG 636 #ifdef VBOX_STRICT 639 637 /* This only applies to raw mode where we only support 1 VCPU. */ 640 638 PVMCPU pVCpu = &pVM->aCpus[0]; 641 #endif642 639 Assert(pShwPageCR3 && pShwPageCR3 == pVCpu->pgm.s.CTX_SUFF(pShwPageCR3)); 640 #endif 643 641 644 642 /* -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r19032 r19232 552 552 bool fVTxDisabled; 553 553 554 if (RT_UNLIKELY(pVM->cCPUs > 1)) 555 { 556 pVM->vmm.s.iLastGZRc = VERR_RAW_MODE_INVALID_SMP; 557 return; 558 } 559 554 560 #ifndef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 555 561 if (RT_UNLIKELY(!PGMGetHyperCR3(pVCpu)))
Note:
See TracChangeset
for help on using the changeset viewer.