- Timestamp:
- Apr 9, 2008 8:52:56 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r7820 r7822 112 112 if (!pVM->pgm.s.CTXMID(p,PaePDPT)->a[iPDPTE].n.u1Present) 113 113 { 114 /* lazily clear the page directory */115 ASMMemZero32(pVM->pgm.s.CTXMID(ap,PaePDs)[iPDPTE], PAGE_SIZE);116 114 pVM->pgm.s.CTXMID(p,PaePDPT)->a[iPDPTE].n.u1Present = 1; 117 115 } … … 2684 2682 { 2685 2683 /* PDPT not present */ 2684 if (pVM->pgm.s.CTXMID(p,PaePDPT)->a[iPDPTE].n.u1Present) 2685 { 2686 for (unsigned iPD = 0; iPD < ELEMENTS(pPDSrc->a); iPD++) 2687 { 2688 if (pPDEDst[iPD].n.u1Present) 2689 { 2690 pgmPoolFreeByPage(pPool, pgmPoolGetPage(pPool, pPDEDst[iPD].u & SHW_PDE_PG_MASK), SHW_POOL_ROOT_IDX, iPDPTE * X86_PG_PAE_ENTRIES + iPD); 2691 pPDEDst[iPD].u = 0; 2692 } 2693 } 2694 } 2686 2695 pVM->pgm.s.CTXMID(p,PaePDPT)->a[iPDPTE].n.u1Present = 0; 2687 2696 continue;
Note:
See TracChangeset
for help on using the changeset viewer.