Changeset 11525 in vbox for trunk/src/VBox/VMM/PGMInternal.h
- Timestamp:
- Aug 21, 2008 9:07:51 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35088
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMInternal.h
r11309 r11525 2224 2224 RTHCPHYS aHCPhysDynPageMapCache[MM_HYPER_DYNAMIC_SIZE >> (PAGE_SHIFT + 1)]; 2225 2225 2226 /** 4 MB page mask; 32 or 36 bits depending on PSE-36 */ 2227 RTGCPHYS GCPhys4MBPSEMask; 2228 2226 2229 /** A20 gate mask. 2227 2230 * Our current approach to A20 emulation is to let REM do it and don't bother … … 3242 3245 } 3243 3246 3247 /** 3248 * Calculated the guest physical address of the large (4 MB) page in 32 bits paging mode. 3249 * Takes PSE-36 into account. 3250 * 3251 * @returns guest physical address 3252 * @param pPGM Pointer to the PGM instance data. 3253 * @param Pde Guest Pde 3254 */ 3255 DECLINLINE(RTGCPHYS) pgmGstGet4MBPhysPage(PPGM pPGM, X86PDE Pde) 3256 { 3257 RTGCPHYS GCPhys = Pde.u & X86_PDE4M_PG_MASK; 3258 GCPhys |= (RTGCPHYS)Pde.b.u8PageNoHigh << 32; 3259 3260 return GCPhys & pPGM->GCPhys4MBPSEMask; 3261 } 3244 3262 3245 3263 /**
Note:
See TracChangeset
for help on using the changeset viewer.