VirtualBox

Changeset 17461 in vbox for trunk/src/VBox/VMM/PGMInternal.h


Ignore:
Timestamp:
Mar 6, 2009 12:47:54 PM (16 years ago)
Author:
vboxsync
Message:

Removed obsolete return codes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMInternal.h

    r17438 r17461  
    47294729 * Locks a page to prevent flushing (important for cr3 root pages or shadow pae pd pages).
    47304730 *
    4731  * @returns VBox status code.
    47324731 * @param   pVM         VM Handle.
    47334732 * @param   pPage       PGM pool page
    47344733 */
    4735 DECLINLINE(int) pgmPoolLockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
     4734DECLINLINE(void) pgmPoolLockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    47364735{
    47374736    Assert(!pPage->fLocked);
    47384737    pPage->fLocked = true;
    4739     return VINF_SUCCESS;
    47404738}
    47414739
     
    47444742 * Unlocks a page to allow flushing again
    47454743 *
    4746  * @returns VBox status code.
    47474744 * @param   pVM         VM Handle.
    47484745 * @param   pPage       PGM pool page
    47494746 */
    4750 DECLINLINE(int) pgmPoolUnlockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
     4747DECLINLINE(void) pgmPoolUnlockPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    47514748{
    47524749    Assert(pPage->fLocked);
    47534750    pPage->fLocked = false;
    4754     return VINF_SUCCESS;
    47554751}
    47564752
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