Changeset 80179 in vbox for trunk/src/VBox/VMM/VMMR3/PGMPool.cpp
- Timestamp:
- Aug 7, 2019 10:48:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMPool.cpp
r80111 r80179 234 234 pVM->pgm.s.pPoolR3 = pPool; 235 235 pVM->pgm.s.pPoolR0 = MMHyperR3ToR0(pVM, pPool); 236 pVM->pgm.s.pPoolRC = MMHyperR3ToRC(pVM, pPool);237 236 238 237 /* … … 241 240 pPool->pVMR3 = pVM; 242 241 pPool->pVMR0 = pVM->pVMR0; 243 pPool->pVMRC = pVM->pVMRC;244 242 pPool->cMaxPages = cMaxPages; 245 243 pPool->cCurPages = PGMPOOL_IDX_FIRST; … … 249 247 pPool->paUsersR3 = paUsers; 250 248 pPool->paUsersR0 = MMHyperR3ToR0(pVM, paUsers); 251 pPool->paUsersRC = MMHyperR3ToRC(pVM, paUsers);252 249 for (unsigned i = 0; i < cMaxUsers; i++) 253 250 { … … 262 259 pPool->paPhysExtsR3 = paPhysExts; 263 260 pPool->paPhysExtsR0 = MMHyperR3ToR0(pVM, paPhysExts); 264 pPool->paPhysExtsRC = MMHyperR3ToRC(pVM, paPhysExts);265 261 for (unsigned i = 0; i < cMaxPhysExts; i++) 266 262 { … … 466 462 void pgmR3PoolRelocate(PVM pVM) 467 463 { 468 pVM->pgm.s.pPoolRC = MMHyperR3ToRC(pVM, pVM->pgm.s.pPoolR3); 469 pVM->pgm.s.pPoolR3->pVMRC = pVM->pVMRC; 470 pVM->pgm.s.pPoolR3->paUsersRC = MMHyperR3ToRC(pVM, pVM->pgm.s.pPoolR3->paUsersR3); 471 pVM->pgm.s.pPoolR3->paPhysExtsRC = MMHyperR3ToRC(pVM, pVM->pgm.s.pPoolR3->paPhysExtsR3); 464 RT_NOREF(pVM); 472 465 } 473 466
Note:
See TracChangeset
for help on using the changeset viewer.