VirtualBox

Changeset 44410 in vbox for trunk


Ignore:
Timestamp:
Jan 28, 2013 9:58:16 AM (12 years ago)
Author:
vboxsync
Message:

VMM: dbg build fix

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r43045 r44410  
    2323#include <VBox/vmm/pgm.h>
    2424#include <VBox/vmm/stam.h>
     25#include <VBox/vmm/uvm.h>
    2526#include "PGMInternal.h"
    2627#include <VBox/vmm/vm.h>
     
    328329 * @param   cArgs       Number of arguments in the array.
    329330 */
    330 DECLCALLBACK(int) pgmR3CmdCheckDuplicatePages(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PVM pVM, PCDBGCVAR paArgs, unsigned cArgs)
     331DECLCALLBACK(int) pgmR3CmdCheckDuplicatePages(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs)
    331332{
    332333    unsigned cBallooned = 0;
     
    338339    unsigned cPages     = 0;
    339340    NOREF(pCmd); NOREF(paArgs); NOREF(cArgs);
     341    PVM pVM = pUVM->pVM;
    340342
    341343    pgmLock(pVM);
     
    420422 * @param   cArgs       Number of arguments in the array.
    421423 */
    422 DECLCALLBACK(int) pgmR3CmdShowSharedModules(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PVM pVM, PCDBGCVAR paArgs, unsigned cArgs)
     424DECLCALLBACK(int) pgmR3CmdShowSharedModules(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs)
    423425{
    424426    NOREF(pCmd); NOREF(paArgs); NOREF(cArgs);
     427    PVM pVM = pUVM->pVM;
    425428
    426429    pgmLock(pVM);
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r43872 r44410  
    40254025
    40264026# if defined(VBOX_STRICT) && HC_ARCH_BITS == 64 && defined(IN_RING3)
    4027 DECLCALLBACK(int)  pgmR3CmdCheckDuplicatePages(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PVM pVM, PCDBGCVAR paArgs, unsigned cArgs);
    4028 DECLCALLBACK(int)  pgmR3CmdShowSharedModules(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PVM pVM, PCDBGCVAR paArgs, unsigned cArgs);
     4027DECLCALLBACK(int)  pgmR3CmdCheckDuplicatePages(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs);
     4028DECLCALLBACK(int)  pgmR3CmdShowSharedModules(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs);
    40294029# endif
    40304030
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