Searched defs:pUVM (Results 51 - 75 of 100) sorted by relevance

1234

/vbox/src/VBox/VMM/VMMR3/
H A DEM.cpp694 * @param pUVM The user mode VM handle.
698 VMMR3DECL(int) EMR3SetExecutionPolicy(PUVM pUVM, EMEXECPOLICY enmPolicy, bool fEnforce) argument
700 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
701 VM_ASSERT_VALID_EXT_RETURN(pUVM->pVM, VERR_INVALID_VM_HANDLE);
705 return VMMR3EmtRendezvous(pUVM->pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_DESCENDING, emR3SetExecutionPolicy, &Args);
713 * @param pUVM The user mode VM handle.
717 VMMR3DECL(int) EMR3QueryExecutionPolicy(PUVM pUVM, EMEXECPOLICY enmPolicy, bool *pfEnforced) argument
721 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
722 PVM pVM = pUVM->pVM;
1702 rc2 = VMR3Reset(pVM->pUVM);
[all...]
H A DPDMCritSect.cpp43 static int pdmR3CritSectDeleteOne(PVM pVM, PUVM pUVM, PPDMCRITSECTINT pCritSect, PPDMCRITSECTINT pPrev, bool fFinal);
44 static int pdmR3CritSectRwDeleteOne(PVM pVM, PUVM pUVM, PPDMCRITSECTRWINT pCritSect, PPDMCRITSECTRWINT pPrev, bool fFinal);
69 PUVM pUVM = pVM->pUVM; local
70 RTCritSectEnter(&pUVM->pdm.s.ListCritSect);
72 for (PPDMCRITSECTINT pCur = pUVM->pdm.s.pCritSects;
77 for (PPDMCRITSECTRWINT pCur = pUVM->pdm.s.pRwCritSects;
82 RTCritSectLeave(&pUVM->pdm.s.ListCritSect);
102 PUVM pUVM = pVM->pUVM; local
195 PUVM pUVM = pVM->pUVM; local
296 PUVM pUVM = pVM->pUVM; local
490 pdmR3CritSectDeleteOne(PVM pVM, PUVM pUVM, PPDMCRITSECTINT pCritSect, PPDMCRITSECTINT pPrev, bool fFinal) argument
547 pdmR3CritSectRwDeleteOne(PVM pVM, PUVM pUVM, PPDMCRITSECTRWINT pCritSect, PPDMCRITSECTRWINT pPrev, bool fFinal) argument
621 PUVM pUVM = pVM->pUVM; local
660 PUVM pUVM = pVM->pUVM; local
731 PUVM pUVM = pVM->pUVM; local
770 PUVM pUVM = pVM->pUVM; local
1042 PUVM pUVM = pVM->pUVM; local
[all...]
H A DPDMDevice.cpp600 int rc = pdmR3LoadR3U(pVM->pUVM, pszFilename, pszName);
783 * @param pUVM The user mode VM handle.
791 VMMR3DECL(int) PDMR3DeviceAttach(PUVM pUVM, const char *pszDevice, unsigned iInstance, unsigned iLun, uint32_t fFlags, PPPDMIBASE ppBase) argument
793 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
794 PVM pVM = pUVM->pVM;
845 * @param pUVM The user mode VM handle.
852 VMMR3DECL(int) PDMR3DeviceDetach(PUVM pUVM, const char *pszDevice, unsigned iInstance, unsigned iLun, uint32_t fFlags) argument
854 return PDMR3DriverDetach(pUVM, pszDevice, iInstance, iLun, NULL, 0, fFlags);
890 * @param pUVM The user mode VM handle.
899 VMMR3DECL(int) PDMR3DriverAttach(PUVM pUVM, cons argument
986 PDMR3DriverDetach(PUVM pUVM, const char *pszDevice, unsigned iDevIns, unsigned iLun, const char *pszDriver, unsigned iOccurance, uint32_t fFlags) argument
1070 PDMR3DriverReattach(PUVM pUVM, const char *pszDevice, unsigned iDevIns, unsigned iLun, const char *pszDriver, unsigned iOccurance, uint32_t fFlags, PCFGMNODE pCfg, PPPDMIBASE ppBase) argument
[all...]
H A DPGMDbg.cpp106 * @param pUVM The user mode VM handle.
110 VMMR3DECL(int) PGMR3DbgR3Ptr2GCPhys(PUVM pUVM, RTR3PTR R3Ptr, PRTGCPHYS pGCPhys) argument
112 NOREF(pUVM); NOREF(R3Ptr);
128 * @param pUVM The user mode VM handle.
132 VMMR3DECL(int) PGMR3DbgR3Ptr2HCPhys(PUVM pUVM, RTR3PTR R3Ptr, PRTHCPHYS pHCPhys) argument
134 NOREF(pUVM); NOREF(R3Ptr);
149 * @param pUVM The user mode VM handle.
153 VMMR3DECL(int) PGMR3DbgHCPhys2GCPhys(PUVM pUVM, RTHCPHYS HCPhys, PRTGCPHYS pGCPhys) argument
155 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
156 VM_ASSERT_VALID_EXT_RETURN(pUVM
[all...]
H A DSTAM.cpp81 PUVM pUVM; member in struct:STAMR3PRINTONEARGS
145 static int stamR3RegisterU(PUVM pUVM, void *pvSample, PFNSTAMR3CALLBACKRESET pfnReset, PFNSTAMR3CALLBACKPRINT pfnPrint,
157 static int stamR3EnumU(PUVM pUVM, const char *pszPat, bool fUpdateRing0, int (pfnCallback)(PSTAMDESC pDesc, void *pvArg), void *pvArg);
158 static void stamR3Ring0StatsRegisterU(PUVM pUVM);
159 static void stamR3Ring0StatsUpdateU(PUVM pUVM, const char *pszPat);
160 static void stamR3Ring0StatsUpdateMultiU(PUVM pUVM, const char * const *papszExpressions, unsigned cExpressions);
273 VMMR3DECL(int) STAMR3InitUVM(PUVM pUVM) argument
280 AssertCompile(sizeof(pUVM->stam.s) <= sizeof(pUVM->stam.padding));
281 AssertRelease(sizeof(pUVM
343 STAMR3TermUVM(PUVM pUVM) argument
390 STAMR3RegisterU(PUVM pUVM, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility, const char *pszName, STAMUNIT enmUnit, const char *pszDesc) argument
441 STAMR3RegisterFU(PUVM pUVM, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility, STAMUNIT enmUnit, const char *pszDesc, const char *pszName, ...) argument
491 STAMR3RegisterVU(PUVM pUVM, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility, STAMUNIT enmUnit, const char *pszDesc, const char *pszName, va_list args) argument
[all...]
H A DVMEmt.cpp76 PUVM pUVM = pUVCpu->pUVM; local
79 AssertReleaseMsg(VALID_PTR(pUVM) && pUVM->u32Magic == UVM_MAGIC,
82 rc = RTTlsSet(pUVM->vm.s.idxTLS, pUVCpu);
83 AssertReleaseMsgRCReturn(rc, ("RTTlsSet %x failed with %Rrc\n", pUVM->vm.s.idxTLS, rc), rc);
85 if ( pUVM->pVmm2UserMethods
86 && pUVM->pVmm2UserMethods->pfnNotifyEmtInit)
87 pUVM->pVmm2UserMethods->pfnNotifyEmtInit(pUVM
409 vmR3HaltMethod12ReadConfigU(PUVM pUVM) argument
466 vmR3HaltMethod1Init(PUVM pUVM) argument
479 PUVM pUVM = pUVCpu->pUVM; local
627 vmR3HaltGlobal1Init(PUVM pUVM) argument
665 PUVM pUVM = pUVCpu->pUVM; local
844 PUVM pUVM = pUVCpu->pUVM; local
1006 VMR3NotifyGlobalFFU(PUVM pUVM, uint32_t fFlags) argument
1031 PUVM pUVM = pUVCpu->pUVM; local
1104 PUVM pUVM = pUVCpu->pUVM; local
1155 PUVM pUVM = pUVCpu->pUVM; local
1184 VMR3AsyncPdmNotificationWakeupU(PUVM pUVM) argument
1202 PUVM pUVM = pVM->pUVM; local
1256 vmR3SetHaltMethodU(PUVM pUVM, VMHALTMETHOD enmHaltMethod) argument
[all...]
H A DVMMTests.cpp147 DBGFR3InfoStdErr(pVM->pUVM, "cpuid", "verbose");
340 PUVM pUVM = pVM->pUVM; local
403 DBGFR3AddrFromFlat(pUVM, &Addr, 0x10000);
405 rc = DBGFR3BpSetReg(pUVM, &Addr, 0, ~(uint64_t)0, X86_DR7_RW_EO, 1, &iBp0);
416 DBGFR3AddrFromFlat(pUVM, &Addr, RCPtrEP);
418 rc = DBGFR3BpSetReg(pUVM, &Addr, 0, ~(uint64_t)0, X86_DR7_RW_EO, 1, &iBp1);
470 if ( RT_FAILURE(DBGFR3BpClear(pUVM, iBp0))
471 || RT_FAILURE(DBGFR3BpClear(pUVM, iBp1)))
808 DBGFR3Info(pVM->pUVM, "cpui
[all...]
H A DVMReq.cpp43 static int vmR3ReqProcessOneU(PUVM pUVM, PVMREQ pReq);
73 int rc = VMR3ReqCallVU(pVM->pUVM, idDstCpu, &pReq, RT_INDEFINITE_WAIT, VMREQFLAGS_VBOX_STATUS,
105 VMMR3DECL(int) VMR3ReqCallWaitU(PUVM pUVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...) argument
110 int rc = VMR3ReqCallVU(pUVM, idDstCpu, &pReq, RT_INDEFINITE_WAIT, VMREQFLAGS_VBOX_STATUS,
143 int rc = VMR3ReqCallVU(pVM->pUVM, idDstCpu, NULL, 0, VMREQFLAGS_VBOX_STATUS | VMREQFLAGS_NO_WAIT,
158 * @param pUVM Pointer to the VM.
168 VMMR3DECL(int) VMR3ReqCallNoWaitU(PUVM pUVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...) argument
172 int rc = VMR3ReqCallVU(pUVM, idDstCpu, NULL, 0, VMREQFLAGS_VBOX_STATUS | VMREQFLAGS_NO_WAIT,
203 int rc = VMR3ReqCallVU(pVM->pUVM, idDstCpu, &pReq, RT_INDEFINITE_WAIT, VMREQFLAGS_VOID,
219 * @param pUVM Pointe
229 VMR3ReqCallVoidWaitU(PUVM pUVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...) argument
334 VMR3ReqPriorityCallWaitU(PUVM pUVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...) argument
368 VMR3ReqPriorityCallVoidWaitU(PUVM pUVM, VMCPUID idDstCpu, PFNRT pfnFunction, unsigned cArgs, ...) argument
410 VMR3ReqCallU(PUVM pUVM, VMCPUID idDstCpu, PVMREQ *ppReq, RTMSINTERVAL cMillies, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, ...) argument
458 VMR3ReqCallVU(PUVM pUVM, VMCPUID idDstCpu, PVMREQ *ppReq, RTMSINTERVAL cMillies, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, va_list Args) argument
587 VMR3ReqAlloc(PUVM pUVM, PVMREQ *ppReq, VMREQTYPE enmType, VMCPUID idDstCpu) argument
763 PUVM pUVM = pReq->pUVM; local
830 PUVM pUVM = ((VMREQ volatile *)pReq)->pUVM; /* volatile paranoia */ local
985 PUVM pUVM = pReq->pUVM; local
1019 vmR3ReqSetFF(PUVM pUVM, VMCPUID idDstCpu) argument
1041 vmR3ReqProcessUTooManyHelper(PUVM pUVM, VMCPUID idDstCpu, PVMREQ pReqList, PVMREQ volatile *ppReqs) argument
1104 VMR3ReqProcessU(PUVM pUVM, VMCPUID idDstCpu, bool fPriorityOnly) argument
1192 vmR3ReqProcessOneU(PUVM pUVM, PVMREQ pReq) argument
[all...]
H A DDBGFAddrSpace.cpp109 #define DBGF_AS_DB_LOCK_WRITE(pUVM) \
111 int rcSem = RTSemRWRequestWrite((pUVM)->dbgf.s.hAsDbLock, RT_INDEFINITE_WAIT); \
116 #define DBGF_AS_DB_UNLOCK_WRITE(pUVM) \
118 int rcSem = RTSemRWReleaseWrite((pUVM)->dbgf.s.hAsDbLock); \
123 #define DBGF_AS_DB_LOCK_READ(pUVM) \
125 int rcSem = RTSemRWRequestRead((pUVM)->dbgf.s.hAsDbLock, RT_INDEFINITE_WAIT); \
130 #define DBGF_AS_DB_UNLOCK_READ(pUVM) \
132 int rcSem = RTSemRWReleaseRead((pUVM)->dbgf.s.hAsDbLock); \
142 * @param pUVM The user mode VM handle.
144 int dbgfR3AsInit(PUVM pUVM) argument
289 dbgfR3AsTerm(PUVM pUVM) argument
316 dbgfR3AsRelocate(PUVM pUVM, RTGCUINTPTR offDelta) argument
392 DBGFR3AsGetConfig(PUVM pUVM) argument
408 DBGFR3AsAdd(PUVM pUVM, RTDBGAS hDbgAs, RTPROCESS ProcId) argument
464 DBGFR3AsDelete(PUVM pUVM, RTDBGAS hDbgAs) argument
528 DBGFR3AsSetAlias(PUVM pUVM, RTDBGAS hAlias, RTDBGAS hAliasFor) argument
624 dbgfR3AsLazyPopulate(PUVM pUVM, RTDBGAS hAlias) argument
662 DBGFR3AsResolve(PUVM pUVM, RTDBGAS hAlias) argument
683 DBGFR3AsResolveAndRetain(PUVM pUVM, RTDBGAS hAlias) argument
727 DBGFR3AsQueryByName(PUVM pUVM, const char *pszName) argument
765 DBGFR3AsQueryByPid(PUVM pUVM, RTPROCESS ProcId) argument
918 dbgfR3AsSearchCfgPath(PUVM pUVM, const char *pszFilename, const char *pszCfgValue, PFNDBGFR3ASSEARCHOPEN pfnOpen, void *pvUser) argument
953 DBGFR3AsLoadImage(PUVM pUVM, RTDBGAS hDbgAs, const char *pszFilename, const char *pszModName, RTLDRARCH enmArch, PCDBGFADDRESS pModAddress, RTDBGSEGIDX iModSeg, uint32_t fFlags) argument
1003 DBGFR3AsLoadMap(PUVM pUVM, RTDBGAS hDbgAs, const char *pszFilename, const char *pszModName, PCDBGFADDRESS pModAddress, RTDBGSEGIDX iModSeg, RTGCUINTPTR uSubtrahend, uint32_t fFlags) argument
1043 DBGFR3AsLinkModule(PUVM pUVM, RTDBGAS hDbgAs, RTDBGMOD hMod, PCDBGFADDRESS pModAddress, RTDBGSEGIDX iModSeg, uint32_t fFlags) argument
1079 DBGFR3AsUnlinkModuleByName(PUVM pUVM, RTDBGAS hDbgAs, const char *pszModName) argument
1175 DBGFR3AsSymbolByAddr(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, uint32_t fFlags, PRTGCINTPTR poffDisp, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod) argument
1235 DBGFR3AsSymbolByAddrA(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, uint32_t fFlags, PRTGCINTPTR poffDisp, PRTDBGMOD phMod) argument
1264 DBGFR3AsSymbolByName(PUVM pUVM, RTDBGAS hDbgAs, const char *pszSymbol, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod) argument
1307 DBGFR3AsLineByAddr(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, PRTGCINTPTR poffDisp, PRTDBGLINE pLine, PRTDBGMOD phMod) argument
1344 DBGFR3AsLineByAddrA(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, PRTGCINTPTR poffDisp, PRTDBGMOD phMod) argument
[all...]
H A DFTM.cpp640 int rc = VMR3Suspend(pVM->pUVM, VMSUSPENDREASON_FTM_SYNC);
658 rc = VMR3SaveFT(pVM->pUVM, &g_ftmR3TcpOps, pVM, &fSuspended, false /* fSkipStateChanges */);
670 rc = VMR3Resume(pVM->pUVM, VMRESUMEREASON_FTM_SYNC);
1094 rc = VMR3LoadFromStreamFT(pVM->pUVM, &g_ftmR3TcpOps, pVM);
1129 * @param pUVM The user mode VM handle.
1140 VMMR3DECL(int) FTMR3PowerOn(PUVM pUVM, bool fMaster, unsigned uInterval, argument
1143 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
1144 PVM pVM = pUVM->pVM;
1183 return VMR3PowerOn(pVM->pUVM);
1220 * @param pUVM Th
1222 FTMR3CancelStandby(PUVM pUVM) argument
[all...]
H A DHM.cpp1748 rc = DBGFR3DisasInstrEx(pVM->pUVM, pVCpu->idCpu, CPUMGetGuestCS(pVCpu), pInstrGC, DBGF_DISAS_FLAGS_DEFAULT_MODE,
1772 rc = DBGFR3DisasInstrEx(pVM->pUVM, pVCpu->idCpu, CPUMGetGuestCS(pVCpu), pInstrGC, DBGF_DISAS_FLAGS_DEFAULT_MODE,
2215 rc = DBGFR3DisasInstrEx(pVM->pUVM, pVCpu->idCpu, pCtx->cs.Sel, GCPtrInstr, DBGF_DISAS_FLAGS_DEFAULT_MODE,
2716 * @param pUVM The user mode VM handle.
2719 VMMR3DECL(bool) HMR3IsEnabled(PUVM pUVM) argument
2721 UVM_ASSERT_VALID_EXT_RETURN(pUVM, false);
2722 PVM pVM = pUVM->pVM;
2732 * @param pUVM The user mode VM handle.
2735 VMMR3DECL(bool) HMR3IsVmxEnabled(PUVM pUVM) argument
2737 UVM_ASSERT_VALID_EXT_RETURN(pUVM, fals
2753 HMR3IsSvmEnabled(PUVM pUVM) argument
2770 HMR3IsNestedPagingActive(PUVM pUVM) argument
2785 HMR3IsVpidActive(PUVM pUVM) argument
2801 HMR3IsUXActive(PUVM pUVM) argument
[all...]
H A DPDMAsyncCompletionFile.cpp597 static DECLCALLBACK(int) pdmacEpFileErrorInject(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR pArgs, unsigned cArgs) argument
602 DBGC_CMDHLP_REQ_UVM_RET(pCmdHlp, pCmd, pUVM);
609 pEpClassFile = (PPDMASYNCCOMPLETIONEPCLASSFILE)pUVM->pdm.s.apAsyncCompletionEndpointClass[PDMASYNCCOMPLETIONEPCLASSTYPE_FILE];
662 static DECLCALLBACK(int) pdmacEpFileDelayInject(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR pArgs, unsigned cArgs) argument
667 DBGC_CMDHLP_REQ_UVM_RET(pCmdHlp, pCmd, pUVM);
674 pEpClassFile = (PPDMASYNCCOMPLETIONEPCLASSFILE)pUVM->pdm.s.apAsyncCompletionEndpointClass[PDMASYNCCOMPLETIONEPCLASSTYPE_FILE];
1071 PUVM pUVM = VMR3GetUVM(pEpClassFile->Core.pVM); local
1073 rc = VMR3SetError(pUVM, rc, RT_SRC_POS,
1078 rc = VMR3SetError(pUVM, rc, RT_SRC_POS,
1085 PUVM pUVM local
[all...]
H A DVM.cpp104 static int vmR3CreateU(PUVM pUVM, uint32_t cCpus, PFNCFGMCONSTRUCTOR pfnCFGMConstructor, void *pvUserCFGM);
105 static int vmR3ReadBaseConfig(PVM pVM, PUVM pUVM, uint32_t cCpus);
106 static int vmR3InitRing3(PVM pVM, PUVM pUVM);
115 static void vmR3DestroyUVM(PUVM pUVM, uint32_t cMilliesEMTWait);
118 static void vmR3DoAtState(PVM pVM, PUVM pUVM, VMSTATE enmStateNew, VMSTATE enmStateOld);
120 static void vmR3SetStateLocked(PVM pVM, PUVM pUVM, VMSTATE enmStateNew, VMSTATE enmStateOld);
122 static int vmR3SetErrorU(PUVM pUVM, int rc, RT_SRC_POS_DECL, const char *pszFormat, ...);
232 PUVM pUVM = NULL; /* shuts up gcc */ local
233 int rc = vmR3CreateUVM(cCpus, pVmm2UserMethods, &pUVM);
237 rc = VMR3AtErrorRegister(pUVM, pfnVMAtErro
473 PUVM pUVM = (PUVM)RTMemPageAllocZ(RT_OFFSETOF(UVM, aCpus[cCpus])); local
583 vmR3CreateU(PUVM pUVM, uint32_t cCpus, PFNCFGMCONSTRUCTOR pfnCFGMConstructor, void *pvUserCFGM) argument
775 vmR3ReadBaseConfig(PVM pVM, PUVM pUVM, uint32_t cCpus) argument
873 vmR3InitRing3(PVM pVM, PUVM pUVM) argument
1203 PUVM pUVM = (PUVM)pvUser; local
1325 VMR3PowerOn(PUVM pUVM) argument
1423 VMR3Suspend(PUVM pUVM, VMSUSPENDREASON enmReason) argument
1447 VMR3GetSuspendReason(PUVM pUVM) argument
1521 VMR3Resume(PUVM pUVM, VMRESUMEREASON enmReason) argument
1547 VMR3GetResumeReason(PUVM pUVM) argument
1576 PUVM pUVM = pVM->pUVM; local
1931 VMR3Save(PUVM pUVM, const char *pszFilename, bool fContinueAfterwards, PFNVMPROGRESS pfnProgress, void *pvUser, bool *pfSuspended) argument
1978 VMR3SaveFT(PUVM pUVM, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser, bool *pfSuspended, bool fSkipStateChanges) argument
2023 VMR3Teleport(PUVM pUVM, uint32_t cMsMaxDowntime, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser, PFNVMPROGRESS pfnProgress, void *pvProgressUser, bool *pfSuspended) argument
2070 vmR3Load(PUVM pUVM, const char *pszFilename, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser, PFNVMPROGRESS pfnProgress, void *pvProgressUser, bool fTeleporting, bool fSkipStateChanges) argument
2148 VMR3LoadFromFile(PUVM pUVM, const char *pszFilename, PFNVMPROGRESS pfnProgress, void *pvUser) argument
2186 VMR3LoadFromStream(PUVM pUVM, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser, PFNVMPROGRESS pfnProgress, void *pvProgressUser) argument
2225 VMR3LoadFromStreamFT(PUVM pUVM, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser) argument
2367 PUVM pUVM = pVM->pUVM; local
2392 VMR3PowerOff(PUVM pUVM) argument
2425 VMR3Destroy(PUVM pUVM) argument
2476 PUVM pUVM = pVM->pUVM; local
2571 vmR3DestroyUVM(PUVM pUVM, uint32_t cMilliesEMTWait) argument
2832 PUVM pUVM = pVM->pUVM; local
2871 VMR3Reset(PUVM pUVM) argument
2922 VMR3GetVM(PUVM pUVM) argument
2938 VMR3RetainUVM(PUVM pUVM) argument
2952 vmR3DoReleaseUVM(PUVM pUVM) argument
2977 VMR3ReleaseUVM(PUVM pUVM) argument
[all...]
H A DCSAM.cpp2741 * @param pUVM The user mode VM handle.
2743 VMMR3DECL(bool) CSAMR3IsEnabled(PUVM pUVM) argument
2745 UVM_ASSERT_VALID_EXT_RETURN(pUVM, false);
2746 PVM pVM = pUVM->pVM;
2756 * @param pUVM The user mode VM handle.
2759 VMMR3DECL(int) CSAMR3SetScanningEnabled(PUVM pUVM, bool fEnabled) argument
2761 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
2762 PVM pVM = pUVM->pVM;
2785 static DECLCALLBACK(int) csamr3CmdOff(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs) argument
2787 DBGC_CMDHLP_REQ_UVM_RET(pCmdHlp, pCmd, pUVM);
2802 csamr3CmdOn(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs) argument
[all...]
/vbox/include/VBox/vmm/
H A Dmm.h247 VMMR3DECL(int) MMR3InitUVM(PUVM pUVM); variable
252 VMMR3DECL(void) MMR3TermUVM(PUVM pUVM); variable
309 VMMR3DECL(void *) MMR3HeapAllocU(PUVM pUVM, MMTAG enmTag, size_t cbSize);
311 VMMR3DECL(int) MMR3HeapAllocExU(PUVM pUVM, MMTAG enmTag, size_t cbSize, void **ppv);
313 VMMR3DECL(void *) MMR3HeapAllocZU(PUVM pUVM, MMTAG enmTag, size_t cbSize);
315 VMMR3DECL(int) MMR3HeapAllocZExU(PUVM pUVM, MMTAG enmTag, size_t cbSize, void **ppv);
318 VMMR3DECL(char *) MMR3HeapStrDupU(PUVM pUVM, MMTAG enmTag, const char *psz);
320 VMMR3DECL(char *) MMR3HeapAPrintfU(PUVM pUVM, MMTAG enmTag, const char *pszFormat, ...);
322 VMMR3DECL(char *) MMR3HeapAPrintfVU(PUVM pUVM, MMTAG enmTag, const char *pszFormat, va_list va);
H A Dpdmusb.h1061 VMMR3DECL(int) PDMR3UsbCreateEmulatedDevice(PUVM pUVM, const char *pszDeviceName, PCFGMNODE pDeviceNode, PCRTUUID pUuid,
1063 VMMR3DECL(int) PDMR3UsbCreateProxyDevice(PUVM pUVM, PCRTUUID pUuid, bool fRemote, const char *pszAddress, void *pvBackend,
1065 VMMR3DECL(int) PDMR3UsbDetachDevice(PUVM pUVM, PCRTUUID pUuid);
1066 VMMR3DECL(bool) PDMR3UsbHasHub(PUVM pUVM); variable
1067 VMMR3DECL(int) PDMR3UsbDriverAttach(PUVM pUVM, const char *pszDevice, unsigned iDevIns, unsigned iLun, uint32_t fFlags,
1069 VMMR3DECL(int) PDMR3UsbDriverDetach(PUVM pUVM, const char *pszDevice, unsigned iDevIns, unsigned iLun,
1071 VMMR3DECL(int) PDMR3UsbQueryLun(PUVM pUVM, const char *pszDevice, unsigned iInstance, unsigned iLun, PPDMIBASE *ppBase);
H A Dvmapi.h95 * @param pUVM The user mode VM handle. Can be NULL if an error
103 typedef DECLCALLBACK(void) FNVMATERROR(PUVM pUVM, void *pvUser, int rc, RT_SRC_POS_DECL, const char *pszError, va_list args);
146 * @param pUVM The user mode VM handle.
153 typedef DECLCALLBACK(void) FNVMATRUNTIMEERROR(PUVM pUVM, void *pvUser, uint32_t fFlags, const char *pszErrorId,
186 * @param pUVM The user mode VM handle.
191 typedef DECLCALLBACK(void) FNVMATSTATE(PUVM pUVM, VMSTATE enmState, VMSTATE enmOldState, void *pvUser);
263 PUVM pUVM; member in struct:VMREQ
393 * @param pUVM The user mode VM handle.
397 typedef DECLCALLBACK(int) FNVMPROGRESS(PUVM pUVM, unsigned uPercent, void *pvUser);
406 VMMR3DECL(int) VMR3PowerOn(PUVM pUVM); variable
411 VMMR3DECL(int) VMR3Reset(PUVM pUVM); variable
420 VMMR3DECL(int) VMR3PowerOff(PUVM pUVM); variable
421 VMMR3DECL(int) VMR3Destroy(PUVM pUVM); variable
424 VMMR3DECL(PVM) VMR3GetVM(PUVM pUVM); variable
426 VMMR3DECL(uint32_t) VMR3RetainUVM(PUVM pUVM); variable
427 VMMR3DECL(uint32_t) VMR3ReleaseUVM(PUVM pUVM); variable
428 VMMR3DECL(const char *) VMR3GetName(PUVM pUVM); variable
431 VMMR3DECL(VMSTATE) VMR3GetStateU(PUVM pUVM); variable
441 VMMR3_INT_DECL(uint32_t) VMR3GetErrorCount(PUVM pUVM); variable
445 VMMR3_INT_DECL(uint32_t) VMR3GetRuntimeErrorCount(PUVM pUVM); variable
479 VMMR3_INT_DECL(void) VMR3AsyncPdmNotificationWakeupU(PUVM pUVM); variable
482 VMMR3DECL(RTTHREAD) VMR3GetVMCPUThread(PUVM pUVM); variable
484 VMMR3DECL(RTNATIVETHREAD) VMR3GetVMCPUNativeThreadU(PUVM pUVM); variable
[all...]
H A Dstam.h1103 VMMR3DECL(int) STAMR3InitUVM(PUVM pUVM); variable
1104 VMMR3DECL(void) STAMR3TermUVM(PUVM pUVM); variable
1105 VMMR3DECL(int) STAMR3RegisterU(PUVM pUVM, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility,
1166 VMMR3DECL(int) STAMR3RegisterFU(PUVM pUVM, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility, STAMUNIT enmUnit,
1170 VMMR3DECL(int) STAMR3RegisterVU(PUVM pUVM, void *pvSample, STAMTYPE enmType, STAMVISIBILITY enmVisibility, STAMUNIT enmUnit,
1202 VMMR3DECL(int) STAMR3Deregister(PUVM pUVM, const char *pszPat);
1203 VMMR3DECL(int) STAMR3DeregisterF(PUVM pUVM, const char *pszPatFmt, ...);
1204 VMMR3DECL(int) STAMR3DeregisterV(PUVM pUVM, const char *pszPatFmt, va_list va);
1205 VMMR3DECL(int) STAMR3DeregisterByAddr(PUVM pUVM, void *pvSample);
1207 VMMR3DECL(int) STAMR3Reset(PUVM pUVM, cons
[all...]
/vbox/src/VBox/VMM/testcase/
H A DtstAnimate.cpp331 static DECLCALLBACK(int) cfgmR3CreateDefault(PUVM pUVM, PVM pVM, void *pvUser) argument
837 PUVM pUVM; local
838 rc = VMR3Create(1, NULL, NULL, NULL, cfgmR3CreateDefault, &cbMem, &pVM, &pUVM);
845 rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)loadMem, 3, pVM, FileRawMem, &offRawMem);
847 rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)SSMR3Load,
856 rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)scriptRun, 2, pVM, FileScript);
866 rc = TMR3SetWarpDrive(pUVM, u32WarpDrive);
884 rc = EMR3SetExecutionPolicy(pUVM, EMEXECPOLICY_RECOMPILE_RING0, true); AssertReleaseRC(rc);
885 rc = EMR3SetExecutionPolicy(pUVM, EMEXECPOLICY_RECOMPILE_RING3, true); AssertReleaseRC(rc);
886 DBGFR3Info(pUVM, "cpumgues
[all...]
H A DtstPDMAsyncCompletionStress.cpp580 PUVM pUVM; local
581 int rc = VMR3Create(1, NULL, NULL, NULL, NULL, NULL, &pVM, &pUVM);
587 RTTlsSet(pVM->pUVM->vm.s.idxTLS, &pVM->pUVM->aCpus[0]);
588 pVM->pUVM->aCpus[0].pUVM = pVM->pUVM;
589 pVM->pUVM->aCpus[0].vm.s.NativeThreadEMT = RTThreadNativeSelf();
623 rc = VMR3Destroy(pUVM);
/vbox/src/VBox/Debugger/
H A DDBGCInternal.h115 PUVM pUVM; member in struct:DBGC
H A DDBGPlugInDarwin.cpp130 static DECLCALLBACK(int) dbgDiggerDarwinInit(PUVM pUVM, void *pvData);
136 static DECLCALLBACK(int) dbgDiggerDarwinIDmsg_QueryKernelLog(PDBGFOSIDMESG pThis, PUVM pUVM, uint32_t fFlags, uint32_t cMessages, argument
147 RTDBGAS hAs = DBGFR3AsResolveAndRetain(pUVM, DBGF_AS_KERNEL);
160 rc = DBGFR3MemRead(pUVM, 0 /*idCpu*/, DBGFR3AddrFromFlat(pUVM, &Addr, SymInfo.Value + pData->AddrKernel.FlatPtr),
200 rc = DBGFR3MemRead(pUVM, 0 /*idCpu*/, DBGFR3AddrFromFlat(pUVM, &Addr, GCPtrMsgBufP),
235 rc = DBGFR3MemRead(pUVM, 0 /*idCpu*/, DBGFR3AddrFromFlat(pUVM, &Addr, MsgBuf.msg_bufc), pchMsgBuf, MsgBuf.msg_size);
307 static DECLCALLBACK(void *) dbgDiggerDarwinQueryInterface(PUVM pUVM, voi argument
324 dbgDiggerDarwinQueryVersion(PUVM pUVM, void *pvData, char *pszVersion, size_t cchVersion) argument
352 dbgDiggerDarwinTerm(PUVM pUVM, void *pvData) argument
363 dbgDiggerDarwinRefresh(PUVM pUVM, void *pvData) argument
412 dbgDiggerDarwinAddModule(PDBGDIGGERDARWIN pThis, PUVM pUVM, uint64_t uModAddr, const char *pszName, bool *pf64Bit) argument
851 dbgDiggerDarwinProbe(PUVM pUVM, void *pvData) argument
945 dbgDiggerDarwinDestruct(PUVM pUVM, void *pvData) argument
954 dbgDiggerDarwinConstruct(PUVM pUVM, void *pvData) argument
[all...]
H A DDBGPlugInLinux.cpp149 static DECLCALLBACK(int) dbgDiggerLinuxInit(PUVM pUVM, void *pvData);
167 static DECLCALLBACK(int) dbgDiggerLinuxIDmsg_QueryKernelLog(PDBGFOSIDMESG pThis, PUVM pUVM, uint32_t fFlags, uint32_t cMessages, argument
178 RTDBGAS hAs = DBGFR3AsResolveAndRetain(pUVM, DBGF_AS_KERNEL);
206 rc = DBGFR3MemRead(pUVM, 0 /*idCpu*/,
207 DBGFR3AddrFromFlat(pUVM, &Addr, (RTGCPTR)SymInfo.Value + pData->AddrKernelBase.FlatPtr),
258 rc = DBGFR3MemRead(pUVM, 0 /*idCpu*/, DBGFR3AddrFromFlat(pUVM, &Addr, GCPtrLogBuf), pbLogBuf, cbLogBuf);
406 static DECLCALLBACK(void *) dbgDiggerLinuxQueryInterface(PUVM pUVM, void *pvData, DBGFOSINTERFACE enmIf) argument
423 static DECLCALLBACK(int) dbgDiggerLinuxQueryVersion(PUVM pUVM, void *pvData, char *pszVersion, size_t cchVersion) argument
431 int rc = DBGFR3MemReadString(pUVM,
451 dbgDiggerLinuxTerm(PUVM pUVM, void *pvData) argument
463 dbgDiggerLinuxRefresh(PUVM pUVM, void *pvData) argument
519 dbgDiggerLinuxFindStartOfNamesAndSymbolCount(PUVM pUVM, PDBGDIGGERLINUX pThis, PCDBGFADDRESS pHitAddr) argument
656 dbgDiggerLinuxFindEndOfNamesAndMore(PUVM pUVM, PDBGDIGGERLINUX pThis, PCDBGFADDRESS pHitAddr) argument
764 dbgDiggerLinuxFindTokenIndex(PUVM pUVM, PDBGDIGGERLINUX pThis) argument
829 dbgDiggerLinuxLoadKernelSymbols(PUVM pUVM, PDBGDIGGERLINUX pThis) argument
1030 dbgDiggerLinuxIsLikelyNameFragment(PUVM pUVM, PCDBGFADDRESS pHitAddr, uint8_t const *pabNeedle, uint8_t cbNeedle) argument
1083 dbgDiggerLinuxInit(PUVM pUVM, void *pvData) argument
1155 dbgDiggerLinuxProbe(PUVM pUVM, void *pvData) argument
1212 dbgDiggerLinuxDestruct(PUVM pUVM, void *pvData) argument
1221 dbgDiggerLinuxConstruct(PUVM pUVM, void *pvData) argument
[all...]
/vbox/src/VBox/Devices/PC/
H A DDevPcBios.cpp549 PUVM pUVM = PDMDevHlpGetUVM(pDevIns); AssertRelease(pUVM); local
640 int rc = PDMR3QueryLun(pUVM, pThis->pszFDDevice, 0, i, &pBase);
682 int rc = PDMR3QueryLun(pUVM, pThis->pszHDDevice, 0, i, &pBase);
743 int rc = PDMR3QueryLun(pUVM, pThis->pszSataDevice, 0, pThis->iSataHDLUN[i], &pBase);
797 int rc = PDMR3QueryLun(pUVM, pThis->pszScsiDevice, 0, pThis->iScsiHDLUN[i], &pBase);
/vbox/src/VBox/Main/src-client/
H A DConsoleImplTeleporter.cpp72 TeleporterState(Console *pConsole, PUVM pUVM, Progress *pProgress, bool fIsSource) argument
74 , mpUVM(pUVM)
108 TeleporterStateSrc(Console *pConsole, PUVM pUVM, Progress *pProgress, MachineState_T enmOldMachineState) argument
109 : TeleporterState(pConsole, pUVM, pProgress, true /*fIsSource*/)
134 TeleporterStateTrg(Console *pConsole, PUVM pUVM, Progress *pProgress, argument
137 : TeleporterState(pConsole, pUVM, pProgress, false /*fIsSource*/)
586 static DECLCALLBACK(int) teleporterProgressCallback(PUVM pUVM, unsigned uPercent, void *pvUser) argument
605 NOREF(pUVM);
1020 * @param pUVM The user-mode VM handle
1032 HRESULT Console::i_teleporterTrg(PUVM pUVM, IMachin argument
[all...]

Completed in 125 milliseconds

1234