VirtualBox

Changeset 13195 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Oct 13, 2008 8:45:56 AM (16 years ago)
Author:
vboxsync
Message:

Prefetch the four PDPT entries in PAE mode (EPT only).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r13188 r13195  
    12111211}
    12121212
     1213/**
     1214 * Gets the specified page directory pointer table entry.
     1215 *
     1216 * @returns PDP entry
     1217 * @param   pPGM        Pointer to the PGM instance data.
     1218 * @param   iPdpt       PDPT index
     1219 */
     1220VMMDECL(X86PDPE) PGMGstGetPaePDPtr(PVM pVM, unsigned iPdpt)
     1221{
     1222    Assert(iPdpt <= 3);
     1223    return pVM->pgm.s.CTXSUFF(pGstPaePDPT)->a[iPdpt & 3];
     1224}
     1225
    12131226
    12141227/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette