Changeset 13923 in vbox
- Timestamp:
- Nov 6, 2008 3:01:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r13919 r13923 1010 1010 * Check if the modified PDEs are present and mappings. 1011 1011 */ 1012 const RTGCUINTPTR offPD = GCPhysFault & PAGE_OFFSET_MASK;1012 const RTGCUINTPTR offPD = GCPhysFault & PAGE_OFFSET_MASK; 1013 1013 const unsigned iPD1 = offPD / sizeof(X86PDE); 1014 1014 const unsigned iPD2 = (offPD + cb - 1) / sizeof(X86PDE); 1015 1015 1016 1016 Assert(cb > 0 && cb <= 8); 1017 Assert(iPD1 < RT_ELEMENTS(pVM->pgm.s.CTX_SUFF(pGuestPD)->a)); /// @todo R3/R0 separation.1018 Assert(iPD2 < RT_ELEMENTS(pVM->pgm.s.CTX_SUFF(pGuestPD)->a));1017 Assert(iPD1 < X86_PG_ENTRIES); 1018 Assert(iPD2 < X86_PG_ENTRIES); 1019 1019 1020 1020 #ifdef DEBUG … … 1026 1026 if (!pVM->pgm.s.fMappingsFixed) 1027 1027 { 1028 PX86PD pPDSrc = p VM->pgm.s.CTX_SUFF(pGuestPD);1028 PX86PD pPDSrc = pgmGstGet32bitPDPtr(&pVM->pgm.s); 1029 1029 if ( ( pPDSrc->a[iPD1].n.u1Present 1030 1030 && pgmGetMapping(pVM, (RTGCPTR)(iPD1 << X86_PD_SHIFT)) )
Note:
See TracChangeset
for help on using the changeset viewer.