Searched refs:pUVM (Results 1 - 25 of 136) sorted by relevance

123456

/vbox/src/VBox/VMM/VMMR3/
H A DDBGFLog.cpp63 * @param pUVM The user mode VM handle.
66 static DECLCALLBACK(int) dbgfR3LogModifyGroups(PUVM pUVM, const char *pszGroupSettings) argument
73 if (RT_SUCCESS(rc) && pUVM->pVM)
75 VM_ASSERT_VALID_EXT_RETURN(pUVM->pVM, VERR_INVALID_VM_HANDLE);
76 rc = VMMR3UpdateLoggers(pUVM->pVM);
86 * @param pUVM The user mode VM handle.
93 VMMR3DECL(int) DBGFR3LogModifyGroups(PUVM pUVM, const char *pszGroupSettings) argument
95 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
98 return VMR3ReqPriorityCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3LogModifyGroups, 2, pUVM, pszGroupSetting
109 dbgfR3LogModifyFlags(PUVM pUVM, const char *pszFlagSettings) argument
136 DBGFR3LogModifyFlags(PUVM pUVM, const char *pszFlagSettings) argument
152 dbgfR3LogModifyDestinations(PUVM pUVM, const char *pszDestSettings) argument
179 DBGFR3LogModifyDestinations(PUVM pUVM, const char *pszDestSettings) argument
[all...]
H A DDBGFCpu.cpp55 * @param pUVM The user mode VM handle.
58 VMMR3DECL(CPUMMODE) DBGFR3CpuGetMode(PUVM pUVM, VMCPUID idCpu) argument
60 UVM_ASSERT_VALID_EXT_RETURN(pUVM, CPUMMODE_INVALID);
61 VM_ASSERT_VALID_EXT_RETURN(pUVM->pVM, CPUMMODE_INVALID);
62 AssertReturn(idCpu < pUVM->pVM->cCpus, CPUMMODE_INVALID);
65 int rc = VMR3ReqPriorityCallWaitU(pUVM, idCpu, (PFNRT)dbgfR3CpuGetMode, 3, pUVM->pVM, idCpu, &enmMode);
93 * @param pUVM The user mode VM handle.
96 VMMR3DECL(bool) DBGFR3CpuIsIn64BitCode(PUVM pUVM, VMCPUID idCpu) argument
98 UVM_ASSERT_VALID_EXT_RETURN(pUVM, fals
116 DBGFR3CpuGetCount(PUVM pUVM) argument
[all...]
H A DDBGFOS.cpp39 #define DBGF_OS_READ_LOCK(pUVM) \
40 do { int rcLock = RTCritSectRwEnterShared(&pUVM->dbgf.s.OSCritSect); AssertRC(rcLock); } while (0)
41 #define DBGF_OS_READ_UNLOCK(pUVM) \
42 do { int rcLock = RTCritSectRwLeaveShared(&pUVM->dbgf.s.OSCritSect); AssertRC(rcLock); } while (0)
44 #define DBGF_OS_WRITE_LOCK(pUVM) \
45 do { int rcLock = RTCritSectRwEnterExcl(&pUVM->dbgf.s.OSCritSect); AssertRC(rcLock); } while (0)
46 #define DBGF_OS_WRITE_UNLOCK(pUVM) \
47 do { int rcLock = RTCritSectRwLeaveExcl(&pUVM->dbgf.s.OSCritSect); AssertRC(rcLock); } while (0)
75 PUVM pUVM; member in struct:DBGFOSEMTWRAPPER
91 * @param pUVM Th
93 dbgfR3OSInit(PUVM pUVM) argument
104 dbgfR3OSTerm(PUVM pUVM) argument
147 dbgfR3OSRegister(PUVM pUVM, PDBGFOSREG pReg) argument
198 DBGFR3OSRegister(PUVM pUVM, PCDBGFOSREG pReg) argument
235 dbgfR3OSDeregister(PUVM pUVM, PDBGFOSREG pReg) argument
297 DBGFR3OSDeregister(PUVM pUVM, PCDBGFOSREG pReg) argument
339 dbgfR3OSDetect(PUVM pUVM, char *pszName, size_t cchName) argument
393 DBGFR3OSDetect(PUVM pUVM, char *pszName, size_t cchName) argument
417 dbgfR3OSQueryNameAndVersion(PUVM pUVM, char *pszName, size_t cchName, char *pszVersion, size_t cchVersion) argument
470 DBGFR3OSQueryNameAndVersion(PUVM pUVM, char *pszName, size_t cchName, char *pszVersion, size_t cchVersion) argument
495 dbgfR3OSEmtIDmesg_QueryKernelLog(PDBGFOSIDMESG pThis, PUVM pUVM, uint32_t fFlags, uint32_t cMessages, char *pszBuf, size_t cbBuf, size_t *pcbActual) argument
521 dbgfR3OSQueryInterface(PUVM pUVM, DBGFOSINTERFACE enmIf, void **ppvIf) argument
609 DBGFR3OSQueryInterface(PUVM pUVM, DBGFOSINTERFACE enmIf) 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 DDBGFAddr.cpp45 * @param pUVM The user mode VM handle.
48 DECLINLINE(bool) dbgfR3IsHMA(PUVM pUVM, RTGCUINTPTR FlatPtr) argument
50 return !HMIsEnabled(pUVM->pVM)
51 && MMHyperIsInsideArea(pUVM->pVM, FlatPtr);
100 * @param pUVM The user mode VM handle.
106 VMMR3DECL(int) DBGFR3AddrFromSelOff(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, RTSEL Sel, RTUINTPTR off) argument
108 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
109 VM_ASSERT_VALID_EXT_RETURN(pUVM->pVM, VERR_INVALID_VM_HANDLE);
110 AssertReturn(idCpu < pUVM->cCpus, VERR_INVALID_PARAMETER);
117 int rc = DBGFR3SelQueryInfo(pUVM, idCp
153 DBGFR3AddrFromSelInfoOff(PUVM pUVM, PDBGFADDRESS pAddress, PCDBGFSELINFO pSelInfo, RTUINTPTR off) argument
180 DBGFR3AddrFromFlat(PUVM pUVM, PDBGFADDRESS pAddress, RTGCUINTPTR FlatPtr) argument
202 DBGFR3AddrFromPhys(PUVM pUVM, PDBGFADDRESS pAddress, RTGCPHYS PhysAddr) argument
221 DBGFR3AddrIsValid(PUVM pUVM, PCDBGFADDRESS pAddress) argument
269 DBGFR3AddrToPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTGCPHYS pGCPhys) argument
329 DBGFR3AddrToHostPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTHCPHYS pHCPhys) argument
371 dbgfR3AddrToVolatileR3PtrOnVCpu(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, bool fReadOnly, void **ppvR3Ptr) argument
449 DBGFR3AddrToVolatileR3Ptr(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, bool fReadOnly, void **ppvR3Ptr) argument
[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 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 DMMHeap.cpp52 int mmR3HeapCreateU(PUVM pUVM, PMMHEAP *ppHeap) argument
63 pHeap->pUVM = pUVM;
67 STAMR3RegisterU(pUVM, &pStat->cAllocations, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cAllocations", STAMUNIT_CALLS, "Number or MMR3HeapAlloc() calls.");
68 STAMR3RegisterU(pUVM, &pStat->cReallocations, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cReallocations", STAMUNIT_CALLS, "Number of MMR3HeapRealloc() calls.");
69 STAMR3RegisterU(pUVM, &pStat->cFrees, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cFrees", STAMUNIT_CALLS, "Number of MMR3HeapFree() calls.");
70 STAMR3RegisterU(pUVM, &pStat->cFailures, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cFailures", STAMUNIT_COUNT, "Number of failures.");
71 STAMR3RegisterU(pUVM, &pStat->cbCurAllocated, sizeof(pStat->cbCurAllocated) == sizeof(uint32_t) ? STAMTYPE_U32 : STAMTYPE_U64,
73 STAMR3RegisterU(pUVM, &pStat->cbAllocated, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cbAllocated", STAMUNIT_BYTES, "Total number of bytes allocated.");
74 STAMR3RegisterU(pUVM,
136 MMR3HeapAllocU(PUVM pUVM, MMTAG enmTag, size_t cbSize) argument
177 MMR3HeapAllocExU(PUVM pUVM, MMTAG enmTag, size_t cbSize, void **ppv) argument
223 MMR3HeapAllocZU(PUVM pUVM, MMTAG enmTag, size_t cbSize) argument
256 MMR3HeapAllocZExU(PUVM pUVM, MMTAG enmTag, size_t cbSize, void **ppv) argument
337 PUVM pUVM = pHeap->pUVM; local
523 MMR3HeapStrDupU(PUVM pUVM, MMTAG enmTag, const char *psz) argument
582 MMR3HeapAPrintfU(PUVM pUVM, MMTAG enmTag, const char *pszFormat, ...) argument
616 MMR3HeapAPrintfVU(PUVM pUVM, MMTAG enmTag, const char *pszFormat, va_list va) argument
[all...]
H A DDBGFInfo.cpp82 * @param pUVM The user mode VM handle.
84 int dbgfR3InfoInit(PUVM pUVM) argument
89 if (RTCritSectIsInitialized(&pUVM->dbgf.s.InfoCritSect))
95 int rc = RTCritSectInit(&pUVM->dbgf.s.InfoCritSect);
101 rc = DBGFR3InfoRegisterInternal(pUVM->pVM, "help", "List of info items.", dbgfR3InfoHelp);
112 * @param pUVM The user mode VM handle.
114 int dbgfR3InfoTerm(PUVM pUVM) argument
119 int rc = RTCritSectDelete(&pUVM->dbgf.s.InfoCritSect);
215 * @param pUVM The user mode VM handle.
221 static int dbgfR3InfoRegister(PUVM pUVM, cons argument
417 DBGFR3InfoRegisterExternal(PUVM pUVM, const char *pszName, const char *pszDesc, PFNDBGFHANDLEREXT pfnHandler, void *pvUser) argument
464 PUVM pUVM = pVM->pUVM; local
536 PUVM pUVM = pVM->pUVM; local
599 dbgfR3InfoDeregister(PUVM pUVM, const char *pszName, DBGFINFOTYPE enmType) argument
657 DBGFR3InfoDeregisterExternal(PUVM pUVM, const char *pszName) argument
676 dbgfR3Info(PUVM pUVM, VMCPUID idCpu, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) argument
771 DBGFR3Info(PUVM pUVM, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) argument
789 DBGFR3InfoEx(PUVM pUVM, VMCPUID idCpu, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) argument
807 DBGFR3InfoLogRel(PUVM pUVM, const char *pszName, const char *pszArgs) argument
821 DBGFR3InfoStdErr(PUVM pUVM, const char *pszName, const char *pszArgs) argument
849 PUVM pUVM = pVM->pUVM; local
932 DBGFR3InfoEnum(PUVM pUVM, PFNDBGFINFOENUM pfnCallback, void *pvUser) argument
981 PUVM pUVM = pVM->pUVM; local
[all...]
H A DDBGFBp.cpp46 static int dbgfR3BpInt3Arm(PUVM pUVM, PDBGFBP pBp);
273 * @param pUVM The user mode VM handle.
282 static DECLCALLBACK(int) dbgfR3BpSetInt3(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t *piHitTrigger, argument
288 PVM pVM = pUVM->pVM;
290 if (!DBGFR3AddrIsValid(pUVM, pAddress))
306 rc = dbgfR3BpInt3Arm(pUVM, pBp);
330 int rc = dbgfR3BpInt3Arm(pUVM, pBp);
347 * @param pUVM The user mode VM handle.
356 VMMR3DECL(int) DBGFR3BpSet(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, uint32_t *piBp) argument
362 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_AN
377 dbgfR3BpInt3Arm(PUVM pUVM, PDBGFBP pBp) argument
407 dbgfR3BpInt3Disarm(PUVM pUVM, PDBGFBP pBp) argument
443 dbgfR3BpSetReg(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t *piHitTrigger, uint64_t *piHitDisable, uint8_t fType, uint8_t cb, uint32_t *piBp) argument
550 DBGFR3BpSetReg(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, uint8_t fType, uint8_t cb, uint32_t *piBp) argument
616 dbgfR3BpSetREM(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t *piHitTrigger, uint64_t *piHitDisable, uint32_t *piBp) argument
699 DBGFR3BpSetREM(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, uint32_t *piBp) argument
720 dbgfR3BpClear(PUVM pUVM, uint32_t iBp) argument
778 DBGFR3BpClear(PUVM pUVM, uint32_t iBp) argument
798 dbgfR3BpEnable(PUVM pUVM, uint32_t iBp) argument
856 DBGFR3BpEnable(PUVM pUVM, uint32_t iBp) argument
876 dbgfR3BpDisable(PUVM pUVM, uint32_t iBp) argument
932 DBGFR3BpDisable(PUVM pUVM, uint32_t iBp) argument
953 dbgfR3BpEnum(PUVM pUVM, PFNDBGFBPENUM pfnCallback, void *pvUser) argument
998 DBGFR3BpEnum(PUVM pUVM, PFNDBGFBPENUM pfnCallback, void *pvUser) argument
[all...]
H A DMMUkHeap.cpp54 int mmR3UkHeapCreateU(PUVM pUVM, PMMUKHEAP *ppHeap) argument
56 PMMUKHEAP pHeap = (PMMUKHEAP)MMR3HeapAllocZU(pUVM, MM_TAG_MM, sizeof(MMUKHEAP));
65 pHeap->pUVM = pUVM;
68 STAMR3RegisterU(pUVM, &pStat->cAllocations, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cAllocations", STAMUNIT_CALLS, "Number or MMR3UkHeapAlloc() calls.");
69 STAMR3RegisterU(pUVM, &pStat->cReallocations, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cReallocations", STAMUNIT_CALLS, "Number of MMR3UkHeapRealloc() calls.");
70 STAMR3RegisterU(pUVM, &pStat->cFrees, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cFrees", STAMUNIT_CALLS, "Number of MMR3UkHeapFree() calls.");
71 STAMR3RegisterU(pUVM, &pStat->cFailures, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cFailures", STAMUNIT_COUNT, "Number of failures.");
72 STAMR3RegisterU(pUVM, &pStat->cbCurAllocated, sizeof(pStat->cbCurAllocated) == sizeof(uint32_t) ? STAMTYPE_U32 : STAMTYPE_U64,
74 STAMR3RegisterU(pUVM,
280 PUVM pUVM = pHeap->pUVM; local
[all...]
H A DDBGFMem.cpp40 * @param pUVM The user mode VM handle.
50 static DECLCALLBACK(int) dbgfR3MemScan(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, PCRTGCUINTPTR pcbRange, argument
53 PVM pVM = pUVM->pVM;
61 if (!DBGFR3AddrIsValid(pUVM, pAddress))
85 DBGFR3AddrFromPhys(pUVM, pHitAddress, PhysHit);
99 DBGFR3AddrFromFlat(pUVM, pHitAddress, GCPtrHit);
115 * @param pUVM The user mode VM handle.
127 VMMR3DECL(int) DBGFR3MemScan(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, RTGCUINTPTR cbRange, RTGCUINTPTR uAlign, argument
130 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE);
131 AssertReturn(idCpu < pUVM
147 dbgfR3MemRead(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, void *pvBuf, size_t cbRead) argument
210 DBGFR3MemRead(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, void *pvBuf, size_t cbRead) argument
236 dbgfR3MemReadString(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, char *pszBuf, size_t cchBuf) argument
284 DBGFR3MemReadString(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, char *pszBuf, size_t cchBuf) argument
315 dbgfR3MemWrite(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, void const *pvBuf, size_t cbWrite) argument
374 DBGFR3MemWrite(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, void const *pvBuf, size_t cbWrite) argument
385 dbgfR3SelQueryInfo(PUVM pUVM, VMCPUID idCpu, RTSEL Sel, uint32_t fFlags, PDBGFSELINFO pSelInfo) argument
470 DBGFR3SelQueryInfo(PUVM pUVM, VMCPUID idCpu, RTSEL Sel, uint32_t fFlags, PDBGFSELINFO pSelInfo) argument
569 dbgfR3PagingDumpEx(PUVM pUVM, VMCPUID idCpu, uint32_t fFlags, uint64_t *pcr3, uint64_t *pu64FirstAddr, uint64_t *pu64LastAddr, uint32_t cMaxDepth, PCDBGFINFOHLP pHlp) argument
654 DBGFR3PagingDumpEx(PUVM pUVM, VMCPUID idCpu, uint32_t fFlags, uint64_t cr3, uint64_t u64FirstAddr, uint64_t u64LastAddr, uint32_t cMaxDepth, PCDBGFINFOHLP pHlp) argument
[all...]
H A DPDMLdr.cpp67 static int pdmR3LoadR0U(PUVM pUVM, const char *pszFilename, const char *pszName, const char *pszSearchPath);
78 * @param pUVM Pointer to the user mode VM structure.
80 VMMR3_INT_DECL(int) PDMR3LdrLoadVMMR0U(PUVM pUVM) argument
82 return pdmR3LoadR0U(pUVM, NULL, VMMR0_MAIN_MODULE_NAME, NULL);
93 * @param pUVM Pointer to the user mode VM structure.
96 int pdmR3LdrInitU(PUVM pUVM) argument
102 PVM pVM = pUVM->pVM; AssertPtr(pVM);
119 void pdmR3LdrTermU(PUVM pUVM) argument
124 RTCritSectEnter(&pUVM->pdm.s.ListCritSect);
125 PPDMMOD pModule = pUVM
179 PDMR3LdrRelocateU(PUVM pUVM, RTGCINTPTR offDelta) argument
243 pdmR3LoadR3U(PUVM pUVM, const char *pszFilename, const char *pszName) argument
397 PUVM pUVM = pVM->pUVM; local
453 PUVM pUVM = pVM->pUVM; local
624 pdmR3LoadR0U(PUVM pUVM, const char *pszFilename, const char *pszName, const char *pszSearchPath) argument
734 PUVM pUVM = pVM->pUVM; local
1278 PUVM pUVM = pVM->pUVM; local
1441 PUVM pUVM = pVM->pUVM; local
1474 pdmR3LdrFindModule(PUVM pUVM, const char *pszModule, PDMMODTYPE enmType, bool fLazy, const char *pszSearchPath) argument
[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 DEMR3Dbg.cpp30 static DECLCALLBACK(int) enmR3DbgCmdAllIem(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs) argument
37 rc = EMR3QueryExecutionPolicy(pUVM, EMEXECPOLICY_IEM_ALL, &f);
47 rc = EMR3SetExecutionPolicy(pUVM, EMEXECPOLICY_IEM_ALL, f);
/vbox/src/VBox/Debugger/testcase/
H A DtstDBGCStubs.cpp25 VMMR3DECL(PDBGFADDRESS) DBGFR3AddrFromFlat(PUVM pUVM, PDBGFADDRESS pAddress, RTGCUINTPTR FlatPtr) argument
30 VMMR3DECL(int) DBGFR3AddrFromSelOff(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, RTSEL Sel, RTUINTPTR off) argument
44 VMMR3DECL(int) DBGFR3AddrToPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTGCPHYS pGCPhys) argument
49 VMMR3DECL(int) DBGFR3Attach(PUVM pUVM) argument
54 VMMR3DECL(int) DBGFR3BpClear(PUVM pUVM, RTUINT iBp) argument
58 VMMR3DECL(int) DBGFR3BpDisable(PUVM pUVM, RTUINT iBp) argument
62 VMMR3DECL(int) DBGFR3BpEnable(PUVM pUVM, RTUINT iBp) argument
66 VMMR3DECL(int) DBGFR3BpEnum(PUVM pUVM, PFNDBGFBPENUM pfnCallback, void *pvUser) argument
70 VMMR3DECL(int) DBGFR3BpSet(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, PRTUINT piBp) argument
74 VMMR3DECL(int) DBGFR3BpSetReg(PUVM pUVM, PCDBGFADDRES argument
79 DBGFR3BpSetREM(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, PRTUINT piBp) argument
83 DBGFR3QueryWaitable(PUVM pUVM) argument
87 DBGFR3Detach(PUVM pUVM) argument
91 DBGFR3DisasInstrEx(PUVM pUVM, VMCPUID idCpu, RTSEL Sel, RTGCPTR GCPtr, uint32_t fFlags, char *pszOutput, uint32_t cchOutput, uint32_t *pcbInstr) argument
96 DBGFR3EventWait(PUVM pUVM, RTMSINTERVAL cMillies, PCDBGFEVENT *ppEvent) argument
100 DBGFR3Halt(PUVM pUVM) argument
104 DBGFR3Info(PUVM pUVM, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) argument
108 DBGFR3InfoEx(PUVM pUVM, VMCPUID idCpu, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) argument
112 DBGFR3IsHalted(PUVM pUVM) argument
116 DBGFR3LogModifyDestinations(PUVM pUVM, const char *pszDestSettings) argument
120 DBGFR3LogModifyFlags(PUVM pUVM, const char *pszFlagSettings) argument
124 DBGFR3LogModifyGroups(PUVM pUVM, const char *pszGroupSettings) argument
128 DBGFR3AsGetConfig(PUVM pUVM) argument
132 DBGFR3AsLoadImage(PUVM pUVM, RTDBGAS hAS, const char *pszFilename, const char *pszModName, RTLDRARCH enmArch, PCDBGFADDRESS pModAddress, RTDBGSEGIDX iModSeg, uint32_t fFlags) argument
137 DBGFR3AsLoadMap(PUVM pUVM, RTDBGAS hAS, const char *pszFilename, const char *pszModName, PCDBGFADDRESS pModAddress, RTDBGSEGIDX iModSeg, RTGCUINTPTR uSubtrahend, uint32_t fFlags) argument
141 DBGFR3AsUnlinkModuleByName(PUVM pUVM, RTDBGAS hDbgAs, const char *pszModName) argument
145 DBGFR3AsResolveAndRetain(PUVM pUVM, RTDBGAS hAlias) argument
149 DBGFR3AsLineByAddr(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, PRTGCINTPTR poffDisp, PRTDBGLINE pLine, PRTDBGMOD phMod) argument
154 DBGFR3Resume(PUVM pUVM) argument
158 DBGFR3StackWalkBegin(PUVM pUVM, VMCPUID idCpu, DBGFCODETYPE enmCodeType, PCDBGFSTACKFRAME *ppFirstFrame) argument
169 DBGFR3Step(PUVM pUVM, VMCPUID idCpu) argument
173 DBGFR3AsSymbolByAddr(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, uint32_t fFlags, PRTGCINTPTR poffDisplacement, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod) argument
177 DBGFR3AsSymbolByName(PUVM pUVM, RTDBGAS hDbgAs, const char *pszSymbol, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod) argument
181 DBGFR3MemScan(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, RTGCUINTPTR cbRange, RTGCUINTPTR uAlign, const void *pabNeedle, size_t cbNeedle, PDBGFADDRESS pHitAddress) argument
185 DBGFR3MemRead(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, void *pvBuf, size_t cbRead) argument
189 DBGFR3MemReadString(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, char *pszBuf, size_t cchBuf) argument
193 DBGFR3MemWrite(PUVM pUVM, VMCPUID idCpu, PCDBGFADDRESS pAddress, const void *pvBuf, size_t cbRead) argument
197 DBGFR3PagingDumpEx(PUVM pUVM, VMCPUID idCpu, uint32_t fFlags, uint64_t cr3, uint64_t u64FirstAddr, uint64_t u64LastAddr, uint32_t cMaxDepth, PCDBGFINFOHLP pHlp) argument
202 DBGFR3RegNmValidate(PUVM pUVM, VMCPUID idDefCpu, const char *pszReg) argument
211 DBGFR3RegCpuQueryU8( PUVM pUVM, VMCPUID idCpu, DBGFREG enmReg, uint8_t *pu8) argument
215 DBGFR3RegCpuQueryU16( PUVM pUVM, VMCPUID idCpu, DBGFREG enmReg, uint16_t *pu16) argument
219 DBGFR3RegCpuQueryU32( PUVM pUVM, VMCPUID idCpu, DBGFREG enmReg, uint32_t *pu32) argument
223 DBGFR3RegCpuQueryU64( PUVM pUVM, VMCPUID idCpu, DBGFREG enmReg, uint64_t *pu64) argument
227 DBGFR3RegNmQuery(PUVM pUVM, VMCPUID idDefCpu, const char *pszReg, PDBGFREGVAL pValue, PDBGFREGVALTYPE penmType) argument
258 DBGFR3RegPrintf(PUVM pUVM, VMCPUID idCpu, char *pszBuf, size_t cbBuf, const char *pszFormat, ...) argument
266 DBGFR3RegNmSet(PUVM pUVM, VMCPUID idDefCpu, const char *pszReg, PCDBGFREGVAL pValue, DBGFREGVALTYPE enmType) argument
271 DBGFR3AddrFromPhys(PUVM pUVM, PDBGFADDRESS pAddress, RTGCPHYS PhysAddr) argument
275 DBGFR3AddrToHostPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTHCPHYS pHCPhys) argument
279 DBGFR3AddrToVolatileR3Ptr(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, bool fReadOnly, void **ppvR3Ptr) argument
284 DBGFR3OSRegister(PUVM pUVM, PCDBGFOSREG pReg) argument
288 DBGFR3OSDetect(PUVM pUVM, char *pszName, size_t cchName) argument
292 DBGFR3OSQueryNameAndVersion(PUVM pUVM, char *pszName, size_t cchName, char *pszVersion, size_t cchVersion) argument
296 DBGFR3OSQueryInterface(PUVM pUVM, DBGFOSINTERFACE enmIf) argument
301 DBGFR3SelQueryInfo(PUVM pUVM, VMCPUID idCpu, RTSEL Sel, uint32_t fFlags, PDBGFSELINFO pSelInfo) argument
306 DBGFR3CpuGetMode(PUVM pUVM, VMCPUID idCpu) argument
310 DBGFR3CpuGetCount(PUVM pUVM) argument
314 DBGFR3CpuIsIn64BitCode(PUVM pUVM, VMCPUID idCpu) argument
319 DBGFR3CoreWrite(PUVM pUVM, const char *pszFilename, bool fReplaceFile) argument
397 HMR3IsEnabled(PUVM pUVM) argument
415 PGMR3DbgR3Ptr2GCPhys(PUVM pUVM, RTR3PTR R3Ptr, PRTGCPHYS pGCPhys) argument
420 PGMR3DbgR3Ptr2HCPhys(PUVM pUVM, RTR3PTR R3Ptr, PRTHCPHYS pHCPhys) argument
424 PGMR3DbgHCPhys2GCPhys(PUVM pUVM, RTHCPHYS HCPhys, PRTGCPHYS pGCPhys) argument
432 VMMR3GetCpuByIdU(PUVM pUVM, RTCPUID idCpu) argument
438 VMR3GetVM(PUVM pUVM) argument
[all...]
/vbox/src/VBox/Debugger/
H A DVBoxDbgBase.cpp57 PUVM pUVM = ASMAtomicXchgPtrT(&m_pUVM, NULL, PUVM); local
58 if (pUVM)
60 int rc = VMR3AtStateDeregister(pUVM, atStateChange, this);
63 VMR3ReleaseUVM(pUVM);
73 PUVM pUVM = m_pUVM; local
74 if ( pUVM
75 && VMR3GetStateU(pUVM) < VMSTATE_DESTROYING)
76 return STAMR3Reset(pUVM, pszPat);
86 PUVM pUVM = m_pUVM; local
87 if ( pUVM
97 PUVM pUVM = m_pUVM; local
106 atStateChange(PUVM pUVM, VMSTATE enmState, VMSTATE , void *pvUser) argument
[all...]
H A DDBGPlugInDiggers.cpp30 DECLEXPORT(int) DBGCPlugInEntry(DBGCPLUGINOP enmOperation, PUVM pUVM, uintptr_t uArg) argument
51 int rc = DBGFR3OSRegister(pUVM, s_aPlugIns[i]);
56 DBGFR3OSDeregister(pUVM, s_aPlugIns[i]);
67 int rc = DBGFR3OSDeregister(pUVM, s_aPlugIns[i]);
H A DDBGPlugInSolaris.cpp352 static DECLCALLBACK(int) dbgDiggerSolarisInit(PUVM pUVM, void *pvData);
359 static DECLCALLBACK(void *) dbgDiggerSolarisQueryInterface(PUVM pUVM, void *pvData, DBGFOSINTERFACE enmIf) argument
368 static DECLCALLBACK(int) dbgDiggerSolarisQueryVersion(PUVM pUVM, void *pvData, char *pszVersion, size_t cchVersion) argument
379 int rc = DBGFR3AsSymbolByName(pUVM, DBGF_AS_KERNEL, "utsname", &SymUtsName, NULL);
381 rc = DBGFR3MemRead(pUVM, 0, DBGFR3AddrFromFlat(pUVM, &Addr, SymUtsName.Value), &UtsName, sizeof(UtsName));
389 rc = DBGFR3MemScan(pUVM, 0, &pThis->AddrUnixData, SOL_UNIX_MAX_DATA_SEG_SIZE, 1,
392 rc = DBGFR3MemRead(pUVM, 0, DBGFR3AddrFromFlat(pUVM, &Addr, Addr.FlatPtr - RT_OFFSETOF(SOL_utsname_t, sysname)),
425 * @param pUVM Th
429 dbgDiggerSolarisProcessModCtl32(PUVM pUVM, PDBGDIGGERSOLARIS pThis, SOL_modctl_t const *pModCtl) argument
576 dbgDiggerSolarisProcessModCtl64(PUVM pUVM, PDBGDIGGERSOLARIS pThis, SOL_modctl_t const *pModCtl) argument
718 dbgDiggerSolarisTerm(PUVM pUVM, void *pvData) argument
730 dbgDiggerSolarisRefresh(PUVM pUVM, void *pvData) argument
767 dbgDiggerSolarisInit(PUVM pUVM, void *pvData) argument
1030 dbgDiggerSolarisProbe(PUVM pUVM, void *pvData) argument
1087 dbgDiggerSolarisDestruct(PUVM pUVM, void *pvData) argument
1096 dbgDiggerSolarisConstruct(PUVM pUVM, void *pvData) argument
[all...]
/vbox/include/VBox/vmm/
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 Ddbgf.h117 VMMR3DECL(int) DBGFR3AddrFromSelOff(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, RTSEL Sel, RTUINTPTR off);
118 VMMR3DECL(int) DBGFR3AddrFromSelInfoOff(PUVM pUVM, PDBGFADDRESS pAddress, PCDBGFSELINFO pSelInfo, RTUINTPTR off);
119 VMMR3DECL(PDBGFADDRESS) DBGFR3AddrFromFlat(PUVM pUVM, PDBGFADDRESS pAddress, RTGCUINTPTR FlatPtr);
120 VMMR3DECL(PDBGFADDRESS) DBGFR3AddrFromPhys(PUVM pUVM, PDBGFADDRESS pAddress, RTGCPHYS PhysAddr);
121 VMMR3DECL(bool) DBGFR3AddrIsValid(PUVM pUVM, PCDBGFADDRESS pAddress);
122 VMMR3DECL(int) DBGFR3AddrToPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTGCPHYS pGCPhys);
123 VMMR3DECL(int) DBGFR3AddrToHostPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTHCPHYS pHCPhys);
124 VMMR3DECL(int) DBGFR3AddrToVolatileR3Ptr(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, bool fReadOnly, void **ppvR3Ptr);
298 VMMR3DECL(int) DBGFR3Attach(PUVM pUVM); variable
299 VMMR3DECL(int) DBGFR3Detach(PUVM pUVM); variable
301 VMMR3DECL(int) DBGFR3Halt(PUVM pUVM); variable
302 VMMR3DECL(bool) DBGFR3IsHalted(PUVM pUVM); variable
303 VMMR3DECL(int) DBGFR3QueryWaitable(PUVM pUVM); variable
304 VMMR3DECL(int) DBGFR3Resume(PUVM pUVM); variable
428 VMMR3DECL(VMCPUID) DBGFR3CpuGetCount(PUVM pUVM); variable
663 VMMR3DECL(RTDBGCFG) DBGFR3AsGetConfig(PUVM pUVM); variable
[all...]
H A Dpdmnetshaper.h70 VMMR3_INT_DECL(int) PDMR3NsAttach(PUVM pUVM, PPDMDRVINS pDrvIns, const char *pcszBwGroup, PPDMNSFILTER pFilter);
71 VMMR3_INT_DECL(int) PDMR3NsDetach(PUVM pUVM, PPDMDRVINS pDrvIns, PPDMNSFILTER pFilter);
72 VMMR3DECL(int) PDMR3NsBwGroupSetLimit(PUVM pUVM, const char *pszBwGroup, uint64_t cbPerSecMax);
/vbox/src/VBox/VMM/testcase/
H A DtstVMM-HM.cpp41 static DECLCALLBACK(int) tstVmmHmConfigConstructor(PUVM pUVM, PVM pVM, void *pvUser) argument
86 PUVM pUVM; local
87 int rc = VMR3Create(1, NULL, NULL, NULL, tstVmmHmConfigConstructor, NULL, &pVM, &pUVM);
94 rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)VMMDoHmTest, 1, pVM);
97 STAMR3Dump(pUVM, "*");
102 rc = VMR3Destroy(pUVM);
108 VMR3ReleaseUVM(pUVM);
H A DtstVMREQ.cpp51 static DECLCALLBACK(void) MyAtRuntimeError(PUVM pUVM, void *pvUser, uint32_t fFlags, const char *pszErrorId, const char *pszFormat, va_list va) argument
53 NOREF(pUVM);
88 static DECLCALLBACK(int) PassVACallback(PUVM pUVM, unsigned u4K, unsigned u1G, const char *pszFormat, va_list *pva) argument
90 NOREF(pUVM);
124 static void PassVA2(PUVM pUVM, const char *pszFormat, va_list va) argument
134 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)PassVACallback, 5, pUVM, _4K, _1G, pszFormat, pvVA);
147 static void PassVA(PUVM pUVM, const char *pszFormat, ...) argument
152 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)PassVACallback, 5, pUVM, _4
170 PUVM pUVM = (PUVM)pvUser; local
211 tstVMREQConfigConstructor(PUVM pUVM, PVM pVM, void *pvUser) argument
239 PUVM pUVM; local
[all...]
/vbox/src/VBox/VMM/include/
H A DSTAMInternal.h163 #define STAM_LOCK_RD(pUVM) do { int rcSem = RTSemRWRequestRead(pUVM->stam.s.RWSem, RT_INDEFINITE_WAIT); AssertRC(rcSem); } while (0)
165 #define STAM_LOCK_WR(pUVM) do { int rcSem = RTSemRWRequestWrite(pUVM->stam.s.RWSem, RT_INDEFINITE_WAIT); AssertRC(rcSem); } while (0)
167 #define STAM_UNLOCK_RD(pUVM) do { int rcSem = RTSemRWReleaseRead(pUVM->stam.s.RWSem); AssertRC(rcSem); } while (0)
169 #define STAM_UNLOCK_WR(pUVM) do { int rcSem = RTSemRWReleaseWrite(pUVM->stam.s.RWSem); AssertRC(rcSem); } while (0)
171 #define STAM_LAZY_INIT(pUVM) do { } while (0)

Completed in 136 milliseconds

123456