/vbox/src/VBox/VMM/testcase/ |
H A D | tstPDMAsyncCompletion.cpp | 92 PUVM pUVM; local 93 int rc = VMR3Create(1, NULL, NULL, NULL, NULL, NULL, &pVM, &pUVM); 99 RTTlsSet(pVM->pUVM->vm.s.idxTLS, &pVM->pUVM->aCpus[0]); 100 pVM->pUVM->aCpus[0].pUVM = pVM->pUVM; 101 pVM->pUVM->aCpus[0].vm.s.NativeThreadEMT = RTThreadNativeSelf(); 241 rc = VMR3Destroy(pUVM); 243 VMR3ReleaseUVM(pUVM); [all...] |
H A D | tstVMREQ.cpp | 51 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...] |
H A D | tstSSM.cpp | 635 PUVM pUVM = (PUVM)RTMemAllocZ(sizeof(*pUVM)); local 636 AssertReturn(pUVM, 1); 637 pUVM->u32Magic = UVM_MAGIC; 638 pUVM->vm.s.idxTLS = RTTlsAlloc(); 639 int rc = RTTlsSet(pUVM->vm.s.idxTLS, &pUVM->aCpus[0]); 642 pUVM->aCpus[0].pUVM = pUVM; [all...] |
H A D | tstVMM.cpp | 154 tstVMMConfigConstructor(PUVM pUVM, PVM pVM, void *pvUser) argument 269 PUVM pUVM; local 270 int rc = VMR3Create(g_cCpus, NULL, NULL, NULL, tstVMMConfigConstructor, NULL, &pVM, &pUVM); 285 rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)VMMDoTest, 1, pVM); 288 STAMR3Dump(pUVM, "*"); 297 rc = VMR3ReqCallNoWaitU(pUVM, idCpu, (PFNRT)tstTMWorker, 2, pVM, hTest); 302 rc = VMR3ReqCallWaitU(pUVM, 0 /*idDstCpu*/, (PFNRT)tstTMWorker, 2, pVM, hTest); 305 STAMR3Dump(pUVM, "*"); 314 rc = VMR3ReqCallWaitU(pUVM, 0 /*idDstCpu*/, (PFNRT)VMMDoBruteForceMsrs, 1, pVM); 328 rc = VMR3ReqCallWaitU(pUVM, [all...] |
/vbox/src/VBox/Debugger/ |
H A D | DBGConsole.cpp | 264 rc = DBGFR3AsSymbolByName(pDbgc->pUVM, pDbgc->hDbgAs, pszSymbol, &Symbol, NULL); 679 if (RT_SUCCESS(rc) && DBGFR3IsHalted(pDbgc->pUVM)) 825 if (pDbgc->pUVM) 826 rc = DBGFR3QueryWaitable(pDbgc->pUVM); 834 rc = DBGFR3EventWait(pDbgc->pUVM, pDbgc->fLog ? 1 : 32, &pEvent); 910 pDbgc->pUVM = NULL; 974 if (pDbgc->pUVM) 975 DBGFR3Detach(pDbgc->pUVM); 991 * @param pUVM The user mode VM handle. 998 DBGDECL(int) DBGCCreate(PUVM pUVM, PDBGCBAC argument [all...] |
H A D | DBGPlugInOS2.cpp | 87 static DECLCALLBACK(int) dbgDiggerOS2Init(PUVM pUVM, void *pvData); 99 * @param pUVM The user mode VM handle. 107 static void dbgDiggerOS2ProcessImage(PDBGDIGGEROS2 pThis, PUVM pUVM, const char *pszName, argument 120 static DECLCALLBACK(void *) dbgDiggerOS2QueryInterface(PUVM pUVM, void *pvData, DBGFOSINTERFACE enmIf) argument 129 static DECLCALLBACK(int) dbgDiggerOS2QueryVersion(PUVM pUVM, void *pvData, char *pszVersion, size_t cchVersion) argument 173 static DECLCALLBACK(void) dbgDiggerOS2Term(PUVM pUVM, void *pvData) argument 185 static DECLCALLBACK(int) dbgDiggerOS2Refresh(PUVM pUVM, void *pvData) argument 194 RTDBGAS hDbgAs = DBGFR3AsResolveAndRetain(pUVM, DBGF_AS_KERNEL); 214 dbgDiggerOS2Term(pUVM, pvData); 215 return dbgDiggerOS2Init(pUVM, pvDat 222 dbgDiggerOS2Init(PUVM pUVM, void *pvData) argument 262 dbgDiggerOS2Probe(PUVM pUVM, void *pvData) argument 320 dbgDiggerOS2Destruct(PUVM pUVM, void *pvData) argument 329 dbgDiggerOS2Construct(PUVM pUVM, void *pvData) argument [all...] |
H A D | VBoxDbgBase.cpp | 57 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...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGF.cpp | 125 VMR3NotifyGlobalFFU(pVM->pUVM, 0 /* didn't notify REM */); 139 PUVM pUVM = pVM->pUVM; local 140 AssertCompile(sizeof(pUVM->dbgf.s) <= sizeof(pUVM->dbgf.padding)); 141 AssertCompile(sizeof(pUVM->aCpus[0].dbgf.s) <= sizeof(pUVM->aCpus[0].dbgf.padding)); 143 int rc = dbgfR3InfoInit(pUVM); 147 rc = dbgfR3RegInit(pUVM); 149 rc = dbgfR3AsInit(pUVM); 166 PUVM pUVM = pVM->pUVM; local 909 DBGFR3Attach(PUVM pUVM) argument 959 DBGFR3Detach(PUVM pUVM) argument 1017 DBGFR3EventWait(PUVM pUVM, RTMSINTERVAL cMillies, PCDBGFEVENT *ppEvent) argument 1052 DBGFR3Halt(PUVM pUVM) argument 1082 DBGFR3IsHalted(PUVM pUVM) argument 1109 DBGFR3QueryWaitable(PUVM pUVM) argument 1137 DBGFR3Resume(PUVM pUVM) argument 1169 DBGFR3Step(PUVM pUVM, VMCPUID idCpu) argument 1221 DBGFR3InjectNMI(PUVM pUVM, VMCPUID idCpu) argument [all...] |
H A D | DBGFBp.cpp | 46 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 D | DBGFInfo.cpp | 82 * @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 D | DBGFMem.cpp | 40 * @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 D | DBGFOS.cpp | 39 #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 D | DBGFReg.cpp | 40 #define DBGF_REG_DB_LOCK_WRITE(pUVM) \ 42 int rcSem = RTSemRWRequestWrite((pUVM)->dbgf.s.hRegDbLock, RT_INDEFINITE_WAIT); \ 47 #define DBGF_REG_DB_UNLOCK_WRITE(pUVM) \ 49 int rcSem = RTSemRWReleaseWrite((pUVM)->dbgf.s.hRegDbLock); \ 54 #define DBGF_REG_DB_LOCK_READ(pUVM) \ 56 int rcSem = RTSemRWRequestRead((pUVM)->dbgf.s.hRegDbLock, RT_INDEFINITE_WAIT); \ 61 #define DBGF_REG_DB_UNLOCK_READ(pUVM) \ 63 int rcSem = RTSemRWReleaseRead((pUVM)->dbgf.s.hRegDbLock); \ 179 PUVM pUVM; member in struct:DBGFR3REGPRINTFARGS 208 * @param pUVM Th 210 dbgfR3RegInit(PUVM pUVM) argument 227 dbgfR3RegTerm(PUVM pUVM) argument 274 dbgfR3RegRegisterCommon(PUVM pUVM, PCDBGFREGDESC paRegisters, DBGFREGSETTYPE enmType, void *pvUserArg, const char *pszPrefix, uint32_t iInstance) argument [all...] |
H A D | DBGFStack.cpp | 41 DECLINLINE(int) dbgfR3Read(PUVM pUVM, VMCPUID idCpu, void *pvBuf, PCDBGFADDRESS pSrcAddr, size_t cb, size_t *pcbRead) argument 43 int rc = DBGFR3MemRead(pUVM, idCpu, pSrcAddr, pvBuf, cb); 51 rc = DBGFR3MemRead(pUVM, idCpu, DBGFR3AddrAdd(&Addr, cbRead), (uint8_t *)pvBuf + cbRead, 1); 80 static int dbgfR3StackWalk(PUVM pUVM, VMCPUID idCpu, RTDBGAS hAs, PDBGFSTACKFRAME pFrame) argument 139 int rc = dbgfR3Read(pUVM, idCpu, u.pv, 159 pFrame->pSymPC = DBGFR3AsSymbolByAddrA(pUVM, hAs, &pFrame->AddrPC, RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, 161 pFrame->pLinePC = DBGFR3AsLineByAddrA(pUVM, hAs, &pFrame->AddrPC, NULL /*poffDisp*/, NULL /*phMod*/); 207 DBGFR3AddrFromFlat(pUVM, &pFrame->AddrReturnPC, *uRet.pu16); 216 DBGFR3AddrFromFlat(pUVM, &pFrame->AddrReturnPC, *uRet.pu32); 225 DBGFR3AddrFromFlat(pUVM, 283 dbgfR3StackWalkCtxFull(PUVM pUVM, VMCPUID idCpu, PCCPUMCTXCORE pCtxCore, RTDBGAS hAs, DBGFCODETYPE enmCodeType, PCDBGFADDRESS pAddrFrame, PCDBGFADDRESS pAddrStack, PCDBGFADDRESS pAddrPC, DBGFRETURNTYPE enmReturnType, PCDBGFSTACKFRAME *ppFirstFrame) argument 420 dbgfR3StackWalkBeginCommon(PUVM pUVM, VMCPUID idCpu, DBGFCODETYPE enmCodeType, PCDBGFADDRESS pAddrFrame, PCDBGFADDRESS pAddrStack, PCDBGFADDRESS pAddrPC, DBGFRETURNTYPE enmReturnType, PCDBGFSTACKFRAME *ppFirstFrame) argument 492 DBGFR3StackWalkBeginEx(PUVM pUVM, VMCPUID idCpu, DBGFCODETYPE enmCodeType, PCDBGFADDRESS pAddrFrame, PCDBGFADDRESS pAddrStack, PCDBGFADDRESS pAddrPC, DBGFRETURNTYPE enmReturnType, PCDBGFSTACKFRAME *ppFirstFrame) argument 520 DBGFR3StackWalkBegin(PUVM pUVM, VMCPUID idCpu, DBGFCODETYPE enmCodeType, PCDBGFSTACKFRAME *ppFirstFrame) argument [all...] |
H A D | MM.cpp | 186 * @param pUVM Pointer to the user mode VM structure. 188 VMMR3DECL(int) MMR3InitUVM(PUVM pUVM) argument 193 AssertCompile(sizeof(pUVM->mm.s) <= sizeof(pUVM->mm.padding)); 194 AssertRelease(sizeof(pUVM->mm.s) <= sizeof(pUVM->mm.padding)); 195 Assert(!pUVM->mm.s.pHeap); 200 int rc = mmR3HeapCreateU(pUVM, &pUVM->mm.s.pHeap); 203 rc = mmR3UkHeapCreateU(pUVM, 489 MMR3TermUVM(PUVM pUVM) argument [all...] |
H A D | MMHeap.cpp | 52 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 D | PDMNetShaper.cpp | 302 VMMR3_INT_DECL(int) PDMR3NsAttach(PUVM pUVM, PPDMDRVINS pDrvIns, const char *pszBwGroup, PPDMNSFILTER pFilter) argument 304 VM_ASSERT_EMT(pUVM->pVM); 308 PPDMNETSHAPER pShaper = pUVM->pdm.s.pNetShaper; 325 ASMAtomicWritePtr(&pFilter->pBwGroupR0, MMHyperR3ToR0(pUVM->pVM, pBwGroupNew)); 340 * @param pUVM The user mode VM handle. 344 VMMR3_INT_DECL(int) PDMR3NsDetach(PUVM pUVM, PPDMDRVINS pDrvIns, PPDMNSFILTER pFilter) argument 346 VM_ASSERT_EMT(pUVM->pVM); 354 PPDMNETSHAPER pShaper = pUVM->pdm.s.pNetShaper; 371 * @param pUVM The user mode VM handle. 375 VMMR3DECL(int) PDMR3NsBwGroupSetLimit(PUVM pUVM, cons argument 456 PUVM pUVM = pVM->pUVM; local 487 PUVM pUVM = pVM->pUVM; local [all...] |
H A D | PDMQueue.cpp | 64 PUVM pUVM = pVM->pUVM; local 143 pQueue->pNext = pUVM->pdm.s.pQueuesTimer; 144 pUVM->pdm.s.pQueuesTimer = pQueue; 160 if (!pUVM->pdm.s.pQueuesForced) 161 pUVM->pdm.s.pQueuesForced = pQueue; 164 PPDMQUEUE pPrev = pUVM->pdm.s.pQueuesForced; 396 PUVM pUVM = pVM->pUVM; local 405 if (pUVM 586 PUVM pUVM = pVM->pUVM; local [all...] |
H A D | PDMThread.cpp | 134 PUVM pUVM = pVM->pUVM; local 164 RTCritSectEnter(&pUVM->pdm.s.ListCritSect); 166 if (pUVM->pdm.s.pThreadsTail) 167 pUVM->pdm.s.pThreadsTail->Internal.s.pNext = pThread; 169 pUVM->pdm.s.pThreads = pThread; 170 pUVM->pdm.s.pThreadsTail = pThread; 171 RTCritSectLeave(&pUVM->pdm.s.ListCritSect); 378 PUVM pUVM = pVM->pUVM; local 482 PUVM pUVM = pVM->pUVM; local 517 PUVM pUVM = pVM->pUVM; local 552 PUVM pUVM = pVM->pUVM; local 582 PUVM pUVM = pVM->pUVM; local 761 PUVM pUVM = pThread->Internal.s.pVM->pUVM; local 978 PUVM pUVM = pVM->pUVM; local 1070 PUVM pUVM = pVM->pUVM; local [all...] |
H A D | PGMPool.cpp | 952 static DECLCALLBACK(int) pgmR3PoolCmdCheck(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs) argument 954 DBGC_CMDHLP_REQ_UVM_RET(pCmdHlp, pCmd, pUVM); 955 PVM pVM = pUVM->pVM;
|
H A D | PGMSharedPage.cpp | 324 DECLCALLBACK(int) pgmR3CmdCheckDuplicatePages(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs) argument 334 PVM pVM = pUVM->pVM; 411 DECLCALLBACK(int) pgmR3CmdShowSharedModules(PCDBGCCMD pCmd, PDBGCCMDHLP pCmdHlp, PUVM pUVM, PCDBGCVAR paArgs, unsigned cArgs) argument 414 PVM pVM = pUVM->pVM;
|
H A D | DBGFCoreWrite.cpp | 539 * @param pUVM The user mode VM handle. 548 VMMR3DECL(int) DBGFR3CoreWrite(PUVM pUVM, const char *pszFilename, bool fReplaceFile) argument 550 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE); 551 PVM pVM = pUVM->pVM;
|
H A D | DBGFDisas.cpp | 342 rc = DBGFR3AddrFromSelInfoOff(pState->pVM->pUVM, &Addr, pSelInfo, uAddress); 349 DBGFR3AddrFromFlat(pState->pVM->pUVM, &Addr, uAddress); 362 DBGFR3AddrFromFlat(pState->pVM->pUVM, &Addr, uAddress); 378 rc = DBGFR3AsSymbolByAddr(pState->pVM->pUVM, pState->hDbgAs, &Addr, RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, 680 * @param pUVM The user mode VM handle. 695 VMMR3DECL(int) DBGFR3DisasInstrEx(PUVM pUVM, VMCPUID idCpu, RTSEL Sel, RTGCPTR GCPtr, uint32_t fFlags, argument 700 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE); 701 PVM pVM = pUVM->pVM; 703 AssertReturn(idCpu < pUVM->cCpus, VERR_INVALID_CPU_ID);
|
/vbox/include/VBox/vmm/ |
H A D | patm.h | 180 VMMR3DECL(int) PATMR3AllowPatching(PUVM pUVM, bool fAllowPatching); 181 VMMR3DECL(bool) PATMR3IsEnabled(PUVM pUVM); variable
|
/vbox/src/VBox/Main/src-client/ |
H A D | EmulatedUSBImpl.cpp | 58 static DECLCALLBACK(int) emulatedWebcamAttach(PUVM pUVM, EUSBWEBCAM *pThis, const char *pszDriver); 59 static DECLCALLBACK(int) emulatedWebcamDetach(PUVM pUVM, EUSBWEBCAM *pThis); 99 PUVM pUVM, 102 PUVM pUVM); 148 /* static */ DECLCALLBACK(int) EUSBWEBCAM::emulatedWebcamAttach(PUVM pUVM, EUSBWEBCAM *pThis, const char *pszDriver) argument 150 PCFGMNODE pInstance = CFGMR3CreateTree(pUVM); 173 rc = PDMR3UsbCreateEmulatedDevice(pUVM, "Webcam", pInstance, &pThis->mUuid, NULL); 178 /* static */ DECLCALLBACK(int) EUSBWEBCAM::emulatedWebcamDetach(PUVM pUVM, EUSBWEBCAM *pThis) argument 180 return PDMR3UsbDetachDevice(pUVM, &pThis->mUuid); 304 PUVM pUVM, 303 Attach(Console *pConsole, PUVM pUVM, const char *pszDriver) argument 323 Detach(Console *pConsole, PUVM pUVM) argument [all...] |