Changeset 22890 in vbox for trunk/src/VBox/VMM/PATM/CSAM.cpp
- Timestamp:
- Sep 9, 2009 11:11:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/CSAM.cpp
r22793 r22890 563 563 int rc; 564 564 R3PTRTYPE(void *) pHCPtr; 565 Assert(pVM->cC PUs == 1);565 Assert(pVM->cCpus == 1); 566 566 PVMCPU pVCpu = VMMGetCpu0(pVM); 567 567 … … 612 612 RTGCUINTPTR32 pInstrGC = (uintptr_t)pCpu->apvUserData[2]; 613 613 int orgsize = size; 614 Assert(pVM->cC PUs == 1);614 Assert(pVM->cCpus == 1); 615 615 PVMCPU pVCpu = VMMGetCpu0(pVM); 616 616 … … 1087 1087 R3PTRTYPE(uint8_t *) pCurInstrHC = 0; 1088 1088 int rc2; 1089 Assert(pVM->cC PUs == 1);1089 Assert(pVM->cCpus == 1); 1090 1090 PVMCPU pVCpu = VMMGetCpu0(pVM); 1091 1091 … … 1363 1363 uint32_t val[5]; 1364 1364 int rc; 1365 Assert(pVM->cC PUs == 1);1365 Assert(pVM->cCpus == 1); 1366 1366 PVMCPU pVCpu = VMMGetCpu0(pVM); 1367 1367 … … 1431 1431 RTGCPHYS GCPhys = 0; 1432 1432 uint64_t fFlags = 0; 1433 Assert(pVM->cC PUs == 1 || !CSAMIsEnabled(pVM));1433 Assert(pVM->cCpus == 1 || !CSAMIsEnabled(pVM)); 1434 1434 1435 1435 if (!CSAMIsEnabled(pVM)) … … 1624 1624 int rc; 1625 1625 bool ret; 1626 Assert(pVM->cC PUs == 1);1626 Assert(pVM->cCpus == 1); 1627 1627 PVMCPU pVCpu = VMMGetCpu0(pVM); 1628 1628 … … 1727 1727 int rc; 1728 1728 bool fMonitorInvalidation; 1729 Assert(pVM->cC PUs == 1);1729 Assert(pVM->cCpus == 1); 1730 1730 PVMCPU pVCpu = VMMGetCpu0(pVM); 1731 1731 … … 1873 1873 { 1874 1874 PCSAMPAGEREC pPageRec; 1875 Assert(pVM->cC PUs == 1);1875 Assert(pVM->cCpus == 1); 1876 1876 PVMCPU pVCpu = VMMGetCpu0(pVM); 1877 1877 … … 2194 2194 static int csamR3FlushDirtyPages(PVM pVM) 2195 2195 { 2196 Assert(pVM->cC PUs == 1);2196 Assert(pVM->cCpus == 1); 2197 2197 PVMCPU pVCpu = VMMGetCpu0(pVM); 2198 2198 … … 2245 2245 static int csamR3FlushCodePages(PVM pVM) 2246 2246 { 2247 Assert(pVM->cC PUs == 1);2247 Assert(pVM->cCpus == 1); 2248 2248 PVMCPU pVCpu = VMMGetCpu0(pVM); 2249 2249 … … 2289 2289 VMMR3DECL(int) CSAMR3CheckGates(PVM pVM, uint32_t iGate, uint32_t cGates) 2290 2290 { 2291 Assert(pVM->cC PUs == 1);2291 Assert(pVM->cCpus == 1); 2292 2292 PVMCPU pVCpu = VMMGetCpu0(pVM); 2293 2293 uint16_t cbIDT;
Note:
See TracChangeset
for help on using the changeset viewer.