VirtualBox

Changeset 26685 in vbox for trunk/include


Ignore:
Timestamp:
Feb 22, 2010 5:48:23 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57914
Message:

Large page changes

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pgm.h

    r26616 r26685  
    283283    (    (enmProt) == PGMROMPROT_READ_ROM_WRITE_IGNORE \
    284284      || (enmProt) == PGMROMPROT_READ_ROM_WRITE_RAM )
     285
     286
    285287
    286288VMMDECL(bool)       PGMIsLocked(PVM pVM);
     
    405407
    406408
     409VMMDECL(void) PGMSetLargePageUsage(PVM pVM, bool fUseLargePages);
     410
     411/**
     412 * Query large page usage state
     413 *
     414 * @returns 0 - disabled, 1 - enabled
     415 * @param   pVM         The VM to operate on.
     416 */
     417#define PGMIsUsingLargePages(pVM) (pVM->fUseLargePages)
     418
     419
    407420#ifdef IN_RC
    408421/** @defgroup grp_pgm_gc  The PGM Guest Context API
  • trunk/include/VBox/vm.h

    r26066 r26685  
    784784    /** PARAV enabled flag. */
    785785    bool                        fPARAVEnabled;
     786    /** Large page enabled flag. */
     787    bool                        fUseLargePages;
    786788    /** @} */
    787789
Note: See TracChangeset for help on using the changeset viewer.

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