Changeset 7505 in vbox
- Timestamp:
- Mar 19, 2008 4:31:06 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp
r7503 r7505 465 465 { 466 466 int rc = RTR0MemObjAllocCont(&HWACCMR0Globals.aCpuInfo[i].pMemObj, 1 << PAGE_SHIFT, true /* executable R0 mapping */); 467 AssertRC(rc); 467 468 if (RT_FAILURE(rc)) 468 469 return rc; 469 470 470 471 void *pvR0 = RTR0MemObjAddress(HWACCMR0Globals.aCpuInfo[i].pMemObj); 472 Assert(pvR0); 471 473 memset(pvR0, 0, PAGE_SIZE); 472 474 … … 525 527 { 526 528 paRc[idCpu] = VMXR0EnableCpu(idCpu, pVM, pvPageCpu, pPageCpuPhys); 529 AssertRC(paRc[idCpu]); 527 530 if (VBOX_SUCCESS(paRc[idCpu])) 528 531 HWACCMR0Globals.aCpuInfo[idCpu].fVMXConfigured = true; … … 532 535 { 533 536 paRc[idCpu] = SVMR0EnableCpu(idCpu, pVM, pvPageCpu, pPageCpuPhys); 537 AssertRC(paRc[idCpu]); 534 538 if (VBOX_SUCCESS(paRc[idCpu])) 535 539 HWACCMR0Globals.aCpuInfo[idCpu].fSVMConfigured = true;
Note:
See TracChangeset
for help on using the changeset viewer.