VirtualBox

Changeset 30895 in vbox


Ignore:
Timestamp:
Jul 17, 2010 2:25:17 AM (15 years ago)
Author:
vboxsync
Message:

build fixes.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMInline.h

    r30889 r30895  
    679679#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    680680    PX86PDPT pGuestPDPT = NULL;
    681     int rc = pgmR0DynMapGCPageOffInlined(&pVCpu->CTX_SUCC(pVM)->pgm.s, pPGM->GCPhysCR3, (void **)&pGuestPDPT);
     681    int rc = pgmR0DynMapGCPageOffInlined(&pVCpu->CTX_SUFF(pVM)->pgm.s, pVCpu->pgm.s.GCPhysCR3, (void **)&pGuestPDPT);
    682682    AssertRCReturn(rc, NULL);
    683683#else
     
    798798{
    799799#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    800     int rc = pgmR0DynMapGCPageInlined(&pVCpu->CTX_SUFF(pVM)->pgm.s, pPGM->GCPhysCR3, (void **)ppPml4);
     800    int rc = pgmR0DynMapGCPageInlined(&pVCpu->CTX_SUFF(pVM)->pgm.s, pVCpu->pgm.s.GCPhysCR3, (void **)ppPml4);
    801801    if (RT_FAILURE(rc))
    802802    {
     
    840840#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    841841    PX86PML4 pGuestPml4;
    842     int rc = pgmR0DynMapGCPageInlined(PGMCPU2PGM(pPGM), pPGM->GCPhysCR3, (void **)&pGuestPml4);
     842    int rc = pgmR0DynMapGCPageInlined(&pVCpu->CTX_SUFF(pVM)->pgm.s, pVCpu->pgm.s.GCPhysCR3, (void **)&pGuestPml4);
    843843    AssertRCReturn(rc, NULL);
    844844#else
  • trunk/src/VBox/VMM/PGMInternal.h

    r30892 r30895  
    289289 */
    290290#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    291 # define PGM_RCPHYS_2_PTR_BY_VMCPU(pVCpu, GCPhys, ppv) \
     291# define PGM_GCPHYS_2_PTR_BY_VMCPU(pVCpu, GCPhys, ppv) \
    292292     pgmR0DynMapGCPageInlined(&(pVCpu)->CTX_SUFF(pVM)->pgm.s, GCPhys, (void **)(ppv))
    293293#else
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r30891 r30895  
    35013501
    35023502#  elif PGM_GST_TYPE == PGM_TYPE_AMD64
    3503     unsigned        iPDSrc;
    3504     PX86PML4E       pPml4eSrc;
     3503    unsigned        iPDSrc = 0;         /* shut up gcc */
     3504    PX86PML4E       pPml4eSrc = NULL;   /* ditto */
    35053505    X86PDPE         PdpeSrc;
    35063506    PGSTPD          pPDSrc = pgmGstGetLongModePDPtr(pVCpu, GCPtrPage, &pPml4eSrc, &PdpeSrc, &iPDSrc);
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