VirtualBox

Changeset 80118 in vbox for trunk/src/VBox/VMM/VMMR3/TM.cpp


Ignore:
Timestamp:
Aug 4, 2019 2:39:54 AM (5 years ago)
Author:
vboxsync
Message:

VMM: Kicking out raw-mode and 32-bit hosts - MM, PGM, ++. bugref:9517 bugref:9511

File:
1 edited

Legend:

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

    r80115 r80118  
    248248    AssertMsgRCReturn(rc, ("Failed to get GIP physical address!\n"), rc);
    249249
     250#ifndef PGM_WITHOUT_MAPPINGS
    250251    RTGCPTR GCPtr;
    251 #ifdef SUP_WITH_LOTS_OF_CPUS
     252# ifdef SUP_WITH_LOTS_OF_CPUS
    252253    rc = MMR3HyperMapHCPhys(pVM, pVM->tm.s.pvGIPR3, NIL_RTR0PTR, HCPhysGIP, (size_t)pGip->cPages * PAGE_SIZE,
    253254                            "GIP", &GCPtr);
    254 #else
     255# else
    255256    rc = MMR3HyperMapHCPhys(pVM, pVM->tm.s.pvGIPR3, NIL_RTR0PTR, HCPhysGIP, PAGE_SIZE, "GIP", &GCPtr);
    256 #endif
     257# endif
    257258    if (RT_FAILURE(rc))
    258259    {
     
    262263    pVM->tm.s.pvGIPRC = GCPtr;
    263264    LogFlow(("TMR3Init: HCPhysGIP=%RHp at %RRv\n", HCPhysGIP, pVM->tm.s.pvGIPRC));
    264     MMR3HyperReserve(pVM, PAGE_SIZE, "fence", NULL);
     265    MMR3HyperReserveFence(pVM);
     266#endif
     267
    265268
    266269    /* Check assumptions made in TMAllVirtual.cpp about the GIP update interval. */
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