VirtualBox

Ignore:
Timestamp:
Jan 28, 2013 11:53:24 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83392
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PGMSharedPage.cpp

    r44410 r44418  
    320320
    321321/**
    322  * The '.pgmcheckduppages' command.
    323  *
    324  * @returns VBox status.
    325  * @param   pCmd        Pointer to the command descriptor (as registered).
    326  * @param   pCmdHlp     Pointer to command helper functions.
    327  * @param   pVM         Pointer to the current VM (if any).
    328  * @param   paArgs      Pointer to (readonly) array of arguments.
    329  * @param   cArgs       Number of arguments in the array.
     322 * @callback_method_impl{FNDBGCCMD, The '.pgmcheckduppages' command.}
    330323 */
    331324DECLCALLBACK(int) pgmR3CmdCheckDuplicatePages(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs)
     
    339332    unsigned cPages     = 0;
    340333    NOREF(pCmd); NOREF(paArgs); NOREF(cArgs);
    341     PVM pVM = pUVM->pVM;
     334    PVM      pVM = pUVM->pVM;
     335    VM_ASSERT_VALID_EXT_RETURN(pVM, VERR_INVALID_VM_HANDLE);
    342336
    343337    pgmLock(pVM);
     
    413407
    414408/**
    415  * The '.pgmsharedmodules' command.
    416  *
    417  * @returns VBox status.
    418  * @param   pCmd        Pointer to the command descriptor (as registered).
    419  * @param   pCmdHlp     Pointer to command helper functions.
    420  * @param   pVM         Pointer to the current VM (if any).
    421  * @param   paArgs      Pointer to (readonly) array of arguments.
    422  * @param   cArgs       Number of arguments in the array.
     409 * @callback_method_impl{FNDBGCCMD, The '.pgmsharedmodules' command.}
    423410 */
    424411DECLCALLBACK(int) pgmR3CmdShowSharedModules(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs)
     
    426413    NOREF(pCmd); NOREF(paArgs); NOREF(cArgs);
    427414    PVM pVM = pUVM->pVM;
     415    VM_ASSERT_VALID_EXT_RETURN(pVM, VERR_INVALID_VM_HANDLE);
    428416
    429417    pgmLock(pVM);
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