VirtualBox

Changeset 7797 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Apr 8, 2008 12:37:58 PM (17 years ago)
Author:
vboxsync
Message:

Cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r7796 r7797  
    263263        {
    264264            PX86PT pPTSrc;
    265 #  ifdef IN_GC
    266             rc = PGMGCDynMapGCPage(pVM, PdeSrc.u & GST_PDE_PG_MASK, (void **)&pPTSrc);
    267 #  else
    268             pPTSrc = (PX86PT)MMPhysGCPhys2HCVirt(pVM, PdeSrc.u & GST_PDE_PG_MASK, sizeof(*pPTSrc));
    269             if (pPTSrc == 0)
    270                 rc = VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS;
    271 #  endif
     265            rc = PGM_GCPHYS_2_PTR(pVM, PdeSrc.u & GST_PDE_PG_MASK, &pPTSrc);
    272266            if (VBOX_SUCCESS(rc))
    273267            {
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