Changeset 80118 in vbox for trunk/src/VBox/VMM/VMMR3/TM.cpp
- Timestamp:
- Aug 4, 2019 2:39:54 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/TM.cpp
r80115 r80118 248 248 AssertMsgRCReturn(rc, ("Failed to get GIP physical address!\n"), rc); 249 249 250 #ifndef PGM_WITHOUT_MAPPINGS 250 251 RTGCPTR GCPtr; 251 # ifdef SUP_WITH_LOTS_OF_CPUS252 # ifdef SUP_WITH_LOTS_OF_CPUS 252 253 rc = MMR3HyperMapHCPhys(pVM, pVM->tm.s.pvGIPR3, NIL_RTR0PTR, HCPhysGIP, (size_t)pGip->cPages * PAGE_SIZE, 253 254 "GIP", &GCPtr); 254 # else255 # else 255 256 rc = MMR3HyperMapHCPhys(pVM, pVM->tm.s.pvGIPR3, NIL_RTR0PTR, HCPhysGIP, PAGE_SIZE, "GIP", &GCPtr); 256 # endif257 # endif 257 258 if (RT_FAILURE(rc)) 258 259 { … … 262 263 pVM->tm.s.pvGIPRC = GCPtr; 263 264 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 265 268 266 269 /* Check assumptions made in TMAllVirtual.cpp about the GIP update interval. */
Note:
See TracChangeset
for help on using the changeset viewer.