/vbox/src/VBox/Debugger/ |
H A D | DBGPlugInDiggers.cpp | 30 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 D | DBGCFunctions.cpp | 47 static DECLCALLBACK(int) dbgcFuncRandU32(PCDBGCFUNC pFunc, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, uint32_t cArgs, argument 53 NOREF(pFunc); NOREF(pCmdHlp); NOREF(pUVM); NOREF(paArgs);
|
H A D | DBGCTcp.cpp | 211 * @param pUVM The user mode VM handle. 214 DBGDECL(int) DBGCTcpCreate(PUVM pUVM, void **ppvData) argument 219 PCFGMNODE pKey = CFGMR3GetChild(CFGMR3GetRootU(pUVM), "DBGC"); 229 return VM_SET_ERROR_U(pUVM, rc, "Configuration error: Failed querying \"DBGC/Enabled\""); 243 return VM_SET_ERROR_U(pUVM, rc, "Configuration error: Failed querying \"DBGC/Port\""); 251 return VM_SET_ERROR_U(pUVM, rc, "Configuration error: Failed querying \"DBGC/Address\""); 257 rc = RTTcpServerCreate(szAddress, u32Port, RTTHREADTYPE_DEBUGGER, "DBGC", dbgcTcpConnection, pUVM, &pServer); 266 return VM_SET_ERROR_U(pUVM, rc, "Cannot start TCP-based debugging console service"); 274 * @param pUVM The user mode VM handle. 277 DBGDECL(int) DBGCTcpTerminate(PUVM pUVM, voi argument [all...] |
H A D | DBGPlugInCommonELFTmpl.cpp.h | 46 * @param pUVM The user mode VM handle. 71 int DBGDiggerCommonParseElfMod(PUVM pUVM, const char *pszModName, const char *pszFilename, uint32_t fFlags, argument 77 AssertPtrReturn(pUVM, VERR_INVALID_POINTER); 318 RTDBGAS hAs = DBGFR3AsResolveAndRetain(pUVM, DBGF_AS_KERNEL);
|
H A D | VBoxDbg.cpp | 79 * @param pUVM The VM handle. (DBGGuiCreateForVM) 83 static int dbgGuiCreate(ISession *pSession, PUVM pUVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT) argument 98 rc = pGui->pVBoxDbgGui->init(pUVM); 142 * @param pUVM The VM handle. 147 DBGDECL(int) DBGGuiCreateForVM(PUVM pUVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT) argument 149 AssertPtrReturn(pUVM, VERR_INVALID_POINTER); 150 AssertPtrReturn(VMR3RetainUVM(pUVM) != UINT32_MAX, VERR_INVALID_POINTER); 152 int rc = dbgGuiCreate(NULL, pUVM, ppGui, ppGuiVT); 154 VMR3ReleaseUVM(pUVM);
|
H A D | VBoxDbgGui.cpp | 43 int VBoxDbgGui::init(PUVM pUVM) argument 48 m_pUVM = pUVM; /* Note! This eats the incoming reference to the handle! */ 81 PUVM pUVM = (PUVM)(intptr_t)llVM; local 82 rc = init(pUVM); 86 VMR3ReleaseUVM(pUVM);
|
/vbox/src/VBox/Debugger/testcase/ |
H A D | tstVBoxDbg.cpp | 48 PUVM pUVM; local 49 int rc = VMR3Create(1, NULL, NULL, NULL, NULL, NULL, &pVM, &pUVM); 58 rc = DBGGuiCreateForVM(pUVM, &pGui, &pGuiVT); 96 rc = VMR3Destroy(pUVM); 102 VMR3ReleaseUVM(pUVM);
|
/vbox/include/VBox/vmm/ |
H A D | csam.h | 78 VMMR3DECL(bool) CSAMR3IsEnabled(PUVM pUVM); variable 79 VMMR3DECL(int) CSAMR3SetScanningEnabled(PUVM pUVM, bool fEnabled);
|
H A D | ftm.h | 57 VMMR3DECL(int) FTMR3PowerOn(PUVM pUVM, bool fMaster, unsigned uInterval, const char *pszAddress, unsigned uPort, const char *pszPassword); 58 VMMR3DECL(int) FTMR3CancelStandby(PUVM pUVM); variable
|
H A D | cfgm.h | 76 * @param pUVM The user mode VM handle. 80 typedef DECLCALLBACK(int) FNCFGMCONSTRUCTOR(PUVM pUVM, PVM pVM, void *pvUser); 88 VMMR3DECL(PCFGMNODE) CFGMR3CreateTree(PUVM pUVM); variable 189 VMMR3DECL(PCFGMNODE) CFGMR3GetRootU(PUVM pUVM); variable
|
H A D | hm.h | 221 VMMR3DECL(bool) HMR3IsEnabled(PUVM pUVM); variable 222 VMMR3DECL(bool) HMR3IsNestedPagingActive(PUVM pUVM); variable 223 VMMR3DECL(bool) HMR3IsVpidActive(PUVM pUVM); variable 224 VMMR3DECL(bool) HMR3IsUXActive(PUVM pUVM); variable 225 VMMR3DECL(bool) HMR3IsSvmEnabled(PUVM pUVM); variable 226 VMMR3DECL(bool) HMR3IsVmxEnabled(PUVM pUVM); variable
|
H A D | pdmapi.h | 65 VMMR3_INT_DECL(int) PDMR3InitUVM(PUVM pUVM); variable 66 VMMR3_INT_DECL(int) PDMR3LdrLoadVMMR0U(PUVM pUVM); variable 77 VMMR3_INT_DECL(void) PDMR3TermUVM(PUVM pUVM); variable 115 VMMR3_INT_DECL(void) PDMR3LdrRelocateU(PUVM pUVM, RTGCINTPTR offDelta); 136 VMMR3DECL(int) PDMR3QueryDevice(PUVM pUVM, const char *pszDevice, unsigned iInstance, PPPDMIBASE ppBase); 137 VMMR3DECL(int) PDMR3QueryDeviceLun(PUVM pUVM, const char *pszDevice, unsigned iInstance, unsigned iLun, PPPDMIBASE ppBase); 138 VMMR3DECL(int) PDMR3QueryLun(PUVM pUVM, const char *pszDevice, unsigned iInstance, unsigned iLun, PPPDMIBASE ppBase); 139 VMMR3DECL(int) PDMR3QueryDriverOnLun(PUVM pUVM, const char *pszDevice, unsigned iInstance, unsigned iLun, 141 VMMR3DECL(int) PDMR3DeviceAttach(PUVM pUVM, const char *pszDevice, unsigned iInstance, unsigned iLun, uint32_t fFlags, 143 VMMR3DECL(int) PDMR3DeviceDetach(PUVM pUVM, cons [all...] |
H A D | tm.h | 90 VMMR3DECL(int) TMR3SetWarpDrive(PUVM pUVM, uint32_t u32Percent); 91 VMMR3DECL(uint32_t) TMR3GetWarpDrive(PUVM pUVM); variable
|
H A D | uvm.h | 40 PUVM pUVM; member in struct:UVMCPU
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGFCpu.cpp | 55 * @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 D | DBGFLog.cpp | 63 * @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 D | EMR3Dbg.cpp | 30 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);
|
H A D | MMUkHeap.cpp | 54 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 D | DBGFAddr.cpp | 45 * @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...] |
/vbox/src/VBox/VMM/testcase/ |
H A D | tstVMM-HM.cpp | 41 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 D | tstVMMFork.cpp | 69 PUVM pUVM; local 70 int rc = VMR3Create(1, NULL, NULL, NULL, NULL, NULL, &pVM, &pUVM); 135 VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)VMMDoTest, 1, pVM); 137 STAMR3Dump(pUVM, "*"); 149 rc = VMR3PowerOff(pUVM); 155 rc = VMR3Destroy(pUVM); 161 VMR3ReleaseUVM(pUVM);
|
H A D | tstCFGM.cpp | 107 PUVM pUVM = (PUVM)RTMemPageAlloc(sizeof(*pUVM)); local 108 pUVM->u32Magic = UVM_MAGIC; 109 pUVM->pVM = pVM; 110 pVM->pUVM = pUVM; 115 RTTESTI_CHECK_RC_RETV(STAMR3InitUVM(pUVM), VINF_SUCCESS); 116 RTTESTI_CHECK_RC_RETV(MMR3InitUVM(pUVM), VINF_SUCCESS);
|
H A D | tstMMHyperHeap.cpp | 70 PUVM pUVM = &s_UVM; local 71 pUVM->pVM = pVM; 72 pVM->pUVM = pUVM; 77 rc = STAMR3InitUVM(pUVM); 84 rc = MMR3InitUVM(pUVM);
|
H A D | tstMicro.cpp | 257 DBGFR3PagingDumpEx(pVM->pUVM, 0 /*idCpu*/, DBGFPGDMP_FLAGS_CURRENT_CR3 | DBGFPGDMP_FLAGS_CURRENT_MODE 355 PUVM pUVM; local 356 int rc = VMR3Create(1, NULL, NULL, NULL, NULL, NULL, &pVM, &pUVM); 362 rc = VMR3ReqCallVoidWaitU(pUVM, VMCPUID_ANY, (PFNRT)doit, 1, pVM); 364 STAMR3Dump(pUVM, "*"); 369 rc = VMR3PowerOff(pUVM); 375 rc = VMR3Destroy(pUVM); 381 VMR3ReleaseUVM(pUVM);
|
/vbox/src/VBox/Devices/VMMDev/ |
H A D | VMMDevTesting.cpp | 161 PUVM pUVM = PDMDevHlpGetUVM(pDevIns); local 165 int rc2 = DBGFR3RegNmQueryU64(pUVM, idCpu, pszRegNm, &u64Value); 172 rc2 = DBGFR3RegPrintf(pUVM, idCpu, szValue, sizeof(szValue), szFormat);
|