Changeset 18952 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Apr 16, 2009 2:44:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r18951 r18952 3217 3217 { 3218 3218 PVM pVM = PGM2VM(pPGM); 3219 PPGMCPU pPGMCPU = &((PPGMCPU)((uint8_t *)VMMGetCpu(pVM) + pPGM->offVCpuPGM)); /* very pretty ;-) */3220 PPGMMAPSET pSet = pPGMCPU->AutoSet;3219 PPGMCPU pPGMCPU = (PPGMCPU)((uint8_t *)VMMGetCpu(pVM) + pPGM->offVCpuPGM); /* very pretty ;-) */ 3220 PPGMMAPSET pSet = &pPGMCPU->AutoSet; 3221 3221 3222 3222 STAM_PROFILE_START(&pPGMCPU->StatR0DynMapHCPageInl, a); … … 3255 3255 { 3256 3256 PVM pVM = PGM2VM(pPGM); 3257 PPGMCPU pPGMCPU = &((PPGMCPU)((uint8_t *)VMMGetCpu(pVM) + pPGM->offVCpuPGM)); /* very pretty ;-) */3257 PPGMCPU pPGMCPU = (PPGMCPU)((uint8_t *)VMMGetCpu(pVM) + pPGM->offVCpuPGM); /* very pretty ;-) */ 3258 3258 3259 3259 STAM_PROFILE_START(&pPGMCPU->StatR0DynMapGCPageInl, a); … … 3279 3279 * pgmR0DynMapHCPageInlined with out stats. 3280 3280 */ 3281 PPGMMAPSET pSet = pPGMCPU->AutoSet;3281 PPGMMAPSET pSet = &pPGMCPU->AutoSet; 3282 3282 Assert(!(HCPhys & PAGE_OFFSET_MASK)); 3283 3283 Assert(pSet->cEntries <= RT_ELEMENTS(pSet->aEntries));
Note:
See TracChangeset
for help on using the changeset viewer.