VirtualBox

Ignore:
Timestamp:
Aug 7, 2019 10:48:23 AM (5 years ago)
Author:
vboxsync
Message:

VMM: Kicking out raw-mode - Bunch of R0PTRTYPE use in PGM. bugref:9517

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGMPool.cpp

    r80111 r80179  
    234234    pVM->pgm.s.pPoolR3 = pPool;
    235235    pVM->pgm.s.pPoolR0 = MMHyperR3ToR0(pVM, pPool);
    236     pVM->pgm.s.pPoolRC = MMHyperR3ToRC(pVM, pPool);
    237236
    238237    /*
     
    241240    pPool->pVMR3     = pVM;
    242241    pPool->pVMR0     = pVM->pVMR0;
    243     pPool->pVMRC     = pVM->pVMRC;
    244242    pPool->cMaxPages = cMaxPages;
    245243    pPool->cCurPages = PGMPOOL_IDX_FIRST;
     
    249247    pPool->paUsersR3 = paUsers;
    250248    pPool->paUsersR0 = MMHyperR3ToR0(pVM, paUsers);
    251     pPool->paUsersRC = MMHyperR3ToRC(pVM, paUsers);
    252249    for (unsigned i = 0; i < cMaxUsers; i++)
    253250    {
     
    262259    pPool->paPhysExtsR3 = paPhysExts;
    263260    pPool->paPhysExtsR0 = MMHyperR3ToR0(pVM, paPhysExts);
    264     pPool->paPhysExtsRC = MMHyperR3ToRC(pVM, paPhysExts);
    265261    for (unsigned i = 0; i < cMaxPhysExts; i++)
    266262    {
     
    466462void pgmR3PoolRelocate(PVM pVM)
    467463{
    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);
    472465}
    473466
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette