VirtualBox

Changeset 44347 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Jan 24, 2013 12:27:56 AM (12 years ago)
Author:
vboxsync
Message:

PGM,SSM,STAM: Changed APIs used by Main to take PUVM instead of PVM as the VM handle.

Location:
trunk/include/VBox/vmm
Files:
3 edited

Legend:

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

    r43872 r44347  
    469469VMMR3DECL(int)      PGMR3PhysGetRange(PVM pVM, uint32_t iRange, PRTGCPHYS pGCPhysStart, PRTGCPHYS pGCPhysLast,
    470470                                      const char **ppszDesc, bool *pfIsMmio);
    471 VMMR3DECL(int)      PGMR3QueryMemoryStats(PVM pVM, uint64_t *pcbTotalMem, uint64_t *pcbPrivateMem, uint64_t *pcbSharedMem, uint64_t *pcbZeroMem);
    472 VMMR3DECL(int)      PGMR3QueryGlobalMemoryStats(PVM pVM, uint64_t *pcbAllocMem, uint64_t *pcbFreeMem, uint64_t *pcbBallonedMem, uint64_t *pcbSharedMem);
     471VMMR3DECL(int)      PGMR3QueryMemoryStats(PUVM pUVM, uint64_t *pcbTotalMem, uint64_t *pcbPrivateMem, uint64_t *pcbSharedMem, uint64_t *pcbZeroMem);
     472VMMR3DECL(int)      PGMR3QueryGlobalMemoryStats(PUVM pUVM, uint64_t *pcbAllocMem, uint64_t *pcbFreeMem, uint64_t *pcbBallonedMem, uint64_t *pcbSharedMem);
    473473
    474474VMMR3DECL(int)      PGMR3PhysMMIORegister(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb,
  • trunk/include/VBox/vmm/ssm.h

    r41900 r44347  
    11441144                                              PFNSSMINTSAVEPREP pfnSavePrep, PFNSSMINTSAVEEXEC pfnSaveExec, PFNSSMINTSAVEDONE pfnSaveDone,
    11451145                                              PFNSSMINTLOADPREP pfnLoadPrep, PFNSSMINTLOADEXEC pfnLoadExec, PFNSSMINTLOADDONE pfnLoadDone);
    1146 VMMR3DECL(int)          SSMR3RegisterExternal(PVM pVM, const char *pszName, uint32_t uInstance, uint32_t uVersion, size_t cbGuess,
     1146VMMR3DECL(int)          SSMR3RegisterExternal(PUVM pUVM, const char *pszName, uint32_t uInstance, uint32_t uVersion, size_t cbGuess,
    11471147                                              PFNSSMEXTLIVEPREP pfnLivePrep, PFNSSMEXTLIVEEXEC pfnLiveExec, PFNSSMEXTLIVEVOTE pfnLiveVote,
    11481148                                              PFNSSMEXTSAVEPREP pfnSavePrep, PFNSSMEXTSAVEEXEC pfnSaveExec, PFNSSMEXTSAVEDONE pfnSaveDone,
     
    11771177VMMR3_INT_DECL(int)     SSMR3HandleSetGCPtrSize(PSSMHANDLE pSSM, unsigned cbGCPtr);
    11781178VMMR3DECL(void)         SSMR3HandleReportLivePercent(PSSMHANDLE pSSM, unsigned uPercent);
    1179 VMMR3DECL(int)          SSMR3Cancel(PVM pVM);
     1179VMMR3DECL(int)          SSMR3Cancel(PUVM pUVM);
    11801180
    11811181
  • trunk/include/VBox/vmm/stam.h

    r39917 r44347  
    12211221    STAM_STATS({ STAM_REL_DEREG(pVM, pvSample); })
    12221222
    1223 VMMR3DECL(int)  STAMR3ResetU(PUVM pUVM, const char *pszPat);
    1224 VMMR3DECL(int)  STAMR3Reset(PVM pVM, const char *pszPat);
    1225 VMMR3DECL(int)  STAMR3SnapshotU(PUVM pUVM, const char *pszPat, char **ppszSnapshot, size_t *pcchSnapshot, bool fWithDesc);
    1226 VMMR3DECL(int)  STAMR3Snapshot(PVM pVM, const char *pszPat, char **ppszSnapshot, size_t *pcchSnapshot, bool fWithDesc);
    1227 VMMR3DECL(int)  STAMR3SnapshotFreeU(PUVM pUVM, char *pszSnapshot);
    1228 VMMR3DECL(int)  STAMR3SnapshotFree(PVM pVM, char *pszSnapshot);
    1229 VMMR3DECL(int)  STAMR3DumpU(PUVM pUVM, const char *pszPat);
    1230 VMMR3DECL(int)  STAMR3Dump(PVM pVM, const char *pszPat);
    1231 VMMR3DECL(int)  STAMR3DumpToReleaseLogU(PUVM pUVM, const char *pszPat);
    1232 VMMR3DECL(int)  STAMR3DumpToReleaseLog(PVM pVM, const char *pszPat);
    1233 VMMR3DECL(int)  STAMR3PrintU(PUVM pUVM, const char *pszPat);
    1234 VMMR3DECL(int)  STAMR3Print(PVM pVM, const char *pszPat);
     1223VMMR3DECL(int)  STAMR3Reset(PUVM pUVM, const char *pszPat);
     1224VMMR3DECL(int)  STAMR3Snapshot(PUVM pUVM, const char *pszPat, char **ppszSnapshot, size_t *pcchSnapshot, bool fWithDesc);
     1225VMMR3DECL(int)  STAMR3SnapshotFree(PUVM pUVM, char *pszSnapshot);
     1226VMMR3DECL(int)  STAMR3Dump(PUVM pUVM, const char *pszPat);
     1227VMMR3DECL(int)  STAMR3DumpToReleaseLog(PUVM pUVM, const char *pszPat);
     1228VMMR3DECL(int)  STAMR3Print(PUVM pUVM, const char *pszPat);
    12351229
    12361230/**
     
    12521246typedef FNSTAMR3ENUM *PFNSTAMR3ENUM;
    12531247
    1254 VMMR3DECL(int)  STAMR3EnumU(PUVM pUVM, const char *pszPat, PFNSTAMR3ENUM pfnEnum, void *pvUser);
    1255 VMMR3DECL(int)  STAMR3Enum(PVM pVM, const char *pszPat, PFNSTAMR3ENUM pfnEnum, void *pvUser);
     1248VMMR3DECL(int)  STAMR3Enum(PUVM pUVM, const char *pszPat, PFNSTAMR3ENUM pfnEnum, void *pvUser);
    12561249VMMR3DECL(const char *) STAMR3GetUnit(STAMUNIT enmUnit);
    12571250
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