Searched defs:pVM (Results 101 - 125 of 233) sorted by relevance

12345678910

/vbox/include/VBox/vmm/
H A Dem.h127 * @param pVM The VM to operate on.
129 #define EMIsRawRing3Enabled(pVM) (!(pVM)->fRecompileUser)
136 * @param pVM The VM to operate on.
138 #define EMIsRawRing0Enabled(pVM) (!(pVM)->fRecompileSupervisor)
146 * @param pVM The VM to operate on.
148 # define EMIsRawRing1Enabled(pVM) ((pVM)->fRawRing1Enabled)
150 # define EMIsRawRing1Enabled(pVM) fals
230 VMMDECL(void) EMRemUnlock(PVM pVM); variable
231 VMMDECL(void) EMRemLock(PVM pVM); variable
232 VMMDECL(bool) EMRemIsLockOwner(PVM pVM); variable
233 VMM_INT_DECL(int) EMRemTryLock(PVM pVM); variable
276 VMMR3_INT_DECL(int) EMR3Init(PVM pVM); variable
277 VMMR3_INT_DECL(void) EMR3Relocate(PVM pVM); variable
279 VMMR3_INT_DECL(void) EMR3Reset(PVM pVM); variable
280 VMMR3_INT_DECL(int) EMR3Term(PVM pVM); variable
284 VMMR3_INT_DECL(int) EMR3NotifyResume(PVM pVM); variable
285 VMMR3_INT_DECL(int) EMR3NotifySuspend(PVM pVM); variable
[all...]
H A Dgvmm.h161 GVMMR0DECL(int) GVMMR0InitVM(PVM pVM); variable
162 GVMMR0DECL(void) GVMMR0DoneInitVM(PVM pVM); variable
163 GVMMR0DECL(bool) GVMMR0DoingTermVM(PVM pVM, PGVM pGVM);
164 GVMMR0DECL(int) GVMMR0DestroyVM(PVM pVM); variable
165 GVMMR0DECL(int) GVMMR0RegisterVCpu(PVM pVM, VMCPUID idCpu);
167 GVMMR0DECL(int) GVMMR0ByVM(PVM pVM, PGVM *ppGVM);
168 GVMMR0DECL(int) GVMMR0ByVMAndEMT(PVM pVM, VMCPUID idCpu, PGVM *ppGVM);
171 GVMMR0DECL(int) GVMMR0SchedHalt(PVM pVM, VMCPUID idCpu, uint64_t u64ExpireGipTime);
172 GVMMR0DECL(int) GVMMR0SchedWakeUp(PVM pVM, VMCPUID idCpu);
173 GVMMR0DECL(int) GVMMR0SchedWakeUpEx(PVM pVM, VMCPUI
[all...]
H A Dpatm.h138 * @param pVM The VM to operate on.
143 VMMDECL(bool) PATMIsPatchGCAddr(PVM pVM, RTRCUINTPTR uGCAddr);
144 VMMDECL(bool) PATMIsPatchGCAddrExclHelpers(PVM pVM, RTRCUINTPTR uGCAddr);
145 VMM_INT_DECL(int) PATMReadPatchCode(PVM pVM, RTGCPTR GCPtrPatchCode, void *pvDst, size_t cbToRead, size_t *pcbRead);
147 VMM_INT_DECL(void) PATMRawEnter(PVM pVM, PCPUMCTX pCtx);
148 VMM_INT_DECL(void) PATMRawLeave(PVM pVM, PCPUMCTX pCtx, int rawRC);
149 VMM_INT_DECL(uint32_t) PATMRawGetEFlags(PVM pVM, PCCPUMCTX pCtx);
150 VMM_INT_DECL(void) PATMRawSetEFlags(PVM pVM, PCPUMCTX pCtx, uint32_t efl);
151 VMM_INT_DECL(RCPTRTYPE(PPATMGCSTATE)) PATMGetGCState(PVM pVM); variable
152 VMM_INT_DECL(bool) PATMShouldUseRawMode(PVM pVM, RTRCPT
156 VMM_INT_DECL(bool) PATMAreInterruptsEnabled(PVM pVM); variable
183 VMMR3_INT_DECL(int) PATMR3Init(PVM pVM); variable
184 VMMR3_INT_DECL(int) PATMR3InitFinalize(PVM pVM); variable
186 VMMR3_INT_DECL(int) PATMR3Term(PVM pVM); variable
187 VMMR3_INT_DECL(int) PATMR3Reset(PVM pVM); variable
192 VMMR3_INT_DECL(PPATMGCSTATE) PATMR3QueryGCStateHC(PVM pVM); variable
194 VMMR3_INT_DECL(int) PATMR3HandleMonitoredPage(PVM pVM); variable
[all...]
H A Dpgm.h73 typedef DECLCALLBACK(bool) FNPGMRELOCATE(PVM pVM, RTGCPTR GCPtrOld, RTGCPTR GCPtrNew, PGMRELOCATECALL enmMode, void *pvUser);
96 * @param pVM VM Handle.
104 typedef DECLCALLBACK(int) FNPGMRCPHYSHANDLER(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPHYS GCPhysFault, void *pvUser);
112 * @param pVM VM Handle.
120 typedef DECLCALLBACK(int) FNPGMR0PHYSHANDLER(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPHYS GCPhysFault, void *pvUser);
143 * @param pVM VM Handle.
151 * @todo Add pVCpu, possibly replacing pVM.
153 typedef DECLCALLBACK(int) FNPGMR3PHYSHANDLER(PVM pVM, RTGCPHYS GCPhys, void *pvPhys, void *pvBuf, size_t cbBuf, PGMACCESSTYPE enmAccessType, void *pvUser);
180 * @param pVM VM Handle.
187 * @todo Add pVCpu, possibly replacing pVM
292 VMMDECL(bool) PGMIsLockOwner(PVM pVM); variable
298 VMMDECL(RTHCPHYS) PGMGetInterHCCR3(PVM pVM); variable
300 VMMDECL(RTHCPHYS) PGMGetInter32BitCR3(PVM pVM); variable
301 VMMDECL(RTHCPHYS) PGMGetInterPaeCR3(PVM pVM); variable
302 VMMDECL(RTHCPHYS) PGMGetInterAmd64CR3(PVM pVM); variable
313 VMMDECL(bool) PGMMapHasConflicts(PVM pVM); variable
316 VMMDECL(void) PGMMapCheck(PVM pVM); variable
346 VMMDECL(PGMMODE) PGMGetHostMode(PVM pVM); variable
349 VMMDECL(bool) PGMHasDirtyPages(PVM pVM); variable
387 VMMDECL(unsigned) PGMAssertHandlerAndFlagsInSync(PVM pVM); variable
388 VMMDECL(unsigned) PGMAssertNoMappingConflicts(PVM pVM); variable
415 VMMRCDECL(int) PGMRCDynMapInit(PVM pVM); variable
427 VMMR0_INT_DECL(int) PGMR0PhysSetupIommu(PVM pVM); variable
434 VMMR0DECL(int) PGMR0DynMapInitVM(PVM pVM); variable
435 VMMR0DECL(void) PGMR0DynMapTermVM(PVM pVM); variable
449 VMMR3DECL(int) PGMR3Init(PVM pVM); variable
450 VMMR3DECL(int) PGMR3InitDynMap(PVM pVM); variable
451 VMMR3DECL(int) PGMR3InitFinalize(PVM pVM); variable
455 VMMR3_INT_DECL(void) PGMR3Reset(PVM pVM); variable
457 VMMR3DECL(int) PGMR3Term(PVM pVM); variable
458 VMMR3DECL(int) PGMR3LockCall(PVM pVM); variable
463 VMMR3DECL(int) PGMR3PhysWriteProtectRAM(PVM pVM); variable
465 VMMR3DECL(uint32_t) PGMR3PhysGetRamRangeCount(PVM pVM); variable
506 VMMR3DECL(int) PGMR3FinalizeMappings(PVM pVM); variable
509 VMMR3DECL(int) PGMR3MappingsUnfix(PVM pVM); variable
510 VMMR3DECL(bool) PGMR3MappingsNeedReFixing(PVM pVM); variable
531 VMMR3DECL(int) PGMR3PoolGrow(PVM pVM); variable
547 VMMR3DECL(void) PGMR3PhysChunkInvalidateTLB(PVM pVM); variable
548 VMMR3DECL(int) PGMR3PhysAllocateHandyPages(PVM pVM); variable
551 VMMR3DECL(int) PGMR3CheckIntegrity(PVM pVM); variable
573 VMMR3DECL(int) PGMR3SharedModuleCheckAll(PVM pVM); variable
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DGIMHv.cpp85 * @param pVM Pointer to the VM.
88 VMMR3_INT_DECL(int) gimR3HvInit(PVM pVM) argument
90 AssertReturn(pVM, VERR_INVALID_PARAMETER);
91 AssertReturn(pVM->gim.s.enmProviderId == GIMPROVIDERID_HYPERV, VERR_INTERNAL_ERROR_5);
94 PGIMHV pHv = &pVM->gim.s.u.Hv;
99 if (!pVM->gim.s.u32Version)
170 CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_HVP);
182 rc = CPUMR3CpuIdInsert(pVM, &HyperLeaf);
190 rc = CPUMR3CpuIdInsert(pVM, &HyperLeaf);
201 rc = CPUMR3CpuIdInsert(pVM,
241 gimR3HvInitCompleted(PVM pVM) argument
290 gimR3HvTerm(PVM pVM) argument
306 gimR3HvRelocate(PVM pVM, RTGCINTPTR offDelta) argument
324 gimR3HvReset(PVM pVM) argument
355 gimR3HvGetMmio2Regions(PVM pVM, uint32_t *pcRegions) argument
373 gimR3HvSave(PVM pVM, PSSMHANDLE pSSM) argument
439 gimR3HvLoad(PVM pVM, PSSMHANDLE pSSM, uint32_t uSSMVersion) argument
536 gimR3HvEnableTscPage(PVM pVM, RTGCPHYS GCPhysTscPage, bool fUseThisTscSeq, uint32_t uTscSeq) argument
605 gimR3HvDisableTscPage(PVM pVM) argument
627 gimR3HvDisableHypercallPage(PVM pVM) argument
651 gimR3HvEnableHypercallPage(PVM pVM, RTGCPHYS GCPhysHypercallPage) argument
[all...]
H A DGMM.cpp39 GMMR3DECL(int) GMMR3InitialReservation(PVM pVM, uint64_t cBasePages, uint32_t cShadowPages, uint32_t cFixedPages, argument
50 return VMMR3CallR0(pVM, VMMR0_DO_GMM_INITIAL_RESERVATION, 0, &Req.Hdr);
57 GMMR3DECL(int) GMMR3UpdateReservation(PVM pVM, uint64_t cBasePages, uint32_t cShadowPages, uint32_t cFixedPages) argument
65 return VMMR3CallR0(pVM, VMMR0_DO_GMM_UPDATE_RESERVATION, 0, &Req.Hdr);
73 * @param pVM Pointer to the VM.
78 GMMR3DECL(int) GMMR3AllocatePagesPrepare(PVM pVM, PGMMALLOCATEPAGESREQ *ppReq, uint32_t cPages, GMMACCOUNT enmAccount) argument
89 NOREF(pVM);
100 * @param pVM Pointer to the VM.
103 GMMR3DECL(int) GMMR3AllocatePagesPerform(PVM pVM, PGMMALLOCATEPAGESREQ pReq) argument
107 int rc = VMMR3CallR0(pVM, VMMR0_DO_GMM_ALLOCATE_PAGE
159 GMMR3FreePagesPrepare(PVM pVM, PGMMFREEPAGESREQ *ppReq, uint32_t cPages, GMMACCOUNT enmAccount) argument
187 GMMR3FreePagesRePrep(PVM pVM, PGMMFREEPAGESREQ pReq, uint32_t cPages, GMMACCOUNT enmAccount) argument
206 GMMR3FreePagesPerform(PVM pVM, PGMMFREEPAGESREQ pReq, uint32_t cActualPages) argument
251 GMMR3FreeAllocatedPages(PVM pVM, GMMALLOCATEPAGESREQ const *pAllocReq) argument
278 GMMR3BalloonedPages(PVM pVM, GMMBALLOONACTION enmAction, uint32_t cBalloonedPages) argument
293 GMMR3QueryHypervisorMemoryStats(PVM pVM, uint64_t *pcTotalAllocPages, uint64_t *pcTotalFreePages, uint64_t *pcTotalBalloonPages, uint64_t *puTotalBalloonSize) argument
324 GMMR3QueryMemoryStats(PVM pVM, uint64_t *pcAllocPages, uint64_t *pcMaxPages, uint64_t *pcBalloonPages) argument
351 GMMR3MapUnmapChunk(PVM pVM, uint32_t idChunkMap, uint32_t idChunkUnmap, PRTR3PTR ppvR3) argument
369 GMMR3FreeLargePage(PVM pVM, uint32_t idPage) argument
382 GMMR3SeedChunk(PVM pVM, RTR3PTR pvR3) argument
391 GMMR3RegisterSharedModule(PVM pVM, PGMMREGISTERSHAREDMODULEREQ pReq) argument
405 GMMR3UnregisterSharedModule(PVM pVM, PGMMUNREGISTERSHAREDMODULEREQ pReq) argument
416 GMMR3ResetSharedModules(PVM pVM) argument
425 GMMR3CheckSharedModules(PVM pVM) argument
435 GMMR3IsDuplicatePage(PVM pVM, uint32_t idPage) argument
[all...]
H A DMM.cpp174 static DECLCALLBACK(int) mmR3Save(PVM pVM, PSSMHANDLE pSSM);
175 static DECLCALLBACK(int) mmR3Load(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass);
229 * @param pVM Pointer to the VM.
231 VMMR3DECL(int) MMR3Init(PVM pVM) argument
239 AssertRelease(sizeof(pVM->mm.s) <= sizeof(pVM->mm.padding));
240 AssertMsg(pVM->mm.s.offVM == 0, ("Already initialized!\n"));
245 pVM->mm.s.offVM = RT_OFFSETOF(VM, mm);
246 pVM->mm.s.offLookupHyper = NIL_OFFSET;
251 int rc = mmR3PagePoolInit(pVM);
296 MMR3InitPaging(PVM pVM) argument
450 MMR3Term(PVM pVM) argument
511 mmR3Save(PVM pVM, PSSMHANDLE pSSM) argument
530 mmR3Load(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass) argument
591 mmR3UpdateReservation(PVM pVM) argument
612 MMR3IncreaseBaseReservation(PVM pVM, uint64_t cAddBasePages) argument
638 MMR3ReserveHandyPages(PVM pVM, uint32_t cHandyPages) argument
665 MMR3AdjustFixedReservation(PVM pVM, int32_t cDeltaFixedPages, const char *pszDesc) argument
690 MMR3UpdateShadowReservation(PVM pVM, uint32_t cShadowPages) argument
718 MMR3HCPhys2HCVirt(PVM pVM, RTHCPHYS HCPhys, void **ppv) argument
789 MMR3PhysGetRamSize(PVM pVM) argument
[all...]
H A DMMHeap.cpp49 * @param pVM The handle to the VM the heap should be associated with.
154 * @param pVM Pointer to the VM.
160 VMMR3DECL(void *) MMR3HeapAlloc(PVM pVM, MMTAG enmTag, size_t cbSize) argument
162 return mmR3HeapAlloc(pVM->pUVM->mm.s.pHeap, enmTag, cbSize, false);
194 * @param pVM Pointer to the VM.
201 VMMR3DECL(int) MMR3HeapAllocEx(PVM pVM, MMTAG enmTag, size_t cbSize, void **ppv) argument
203 void *pv = mmR3HeapAlloc(pVM->pUVM->mm.s.pHeap, enmTag, cbSize, false);
233 * @param pVM Pointer to the VM.
239 VMMR3DECL(void *) MMR3HeapAllocZ(PVM pVM, MMTAG enmTag, size_t cbSize) argument
241 return mmR3HeapAlloc(pVM
280 MMR3HeapAllocZEx(PVM pVM, MMTAG enmTag, size_t cbSize, void **ppv) argument
548 MMR3HeapStrDup(PVM pVM, MMTAG enmTag, const char *psz) argument
563 MMR3HeapAPrintf(PVM pVM, MMTAG enmTag, const char *pszFormat, ...) argument
601 MMR3HeapAPrintfV(PVM pVM, MMTAG enmTag, const char *pszFormat, va_list va) argument
[all...]
H A DPDMNetShaper.cpp57 PVM pVM; member in struct:PDMNETSHAPER
158 rc = MMHyperAlloc(pShaper->pVM, sizeof(PDMNSBWGROUP), 64,
162 rc = PDMR3CritSectInit(pShaper->pVM, &pBwGroup->Lock, RT_SRC_POS, "BWGRP");
165 pBwGroup->pszNameR3 = MMR3HeapStrDup(pShaper->pVM, MM_TAG_PDM_NET_SHAPER, pszBwGroup);
183 MMHyperFree(pShaper->pVM, pBwGroup);
297 * @param pVM Handle of VM.
304 VM_ASSERT_EMT(pUVM->pVM);
325 ASMAtomicWritePtr(&pFilter->pBwGroupR0, MMHyperR3ToR0(pUVM->pVM, pBwGroupNew));
346 VM_ASSERT_EMT(pUVM->pVM);
409 * @param pVM Pointe
412 pdmR3NsTxThread(PVM pVM, PPDMTHREAD pThread) argument
437 pdmR3NsTxWakeUp(PVM pVM, PPDMTHREAD pThread) argument
454 pdmR3NetShaperTerm(PVM pVM) argument
483 pdmR3NetShaperInit(PVM pVM) argument
[all...]
H A DPDMQueue.cpp44 static DECLCALLBACK(void) pdmR3QueueTimer(PVM pVM, PTMTIMER pTimer, void *pvUser);
52 * @param pVM Pointer to the VM.
61 static int pdmR3QueueCreate(PVM pVM, size_t cbItem, uint32_t cItems, uint32_t cMilliesInterval, bool fRZEnabled, argument
64 PUVM pUVM = pVM->pUVM;
80 rc = MMHyperAlloc(pVM, cb, 0, MM_TAG_PDM_QUEUE, (void **)&pQueue );
82 rc = MMR3HeapAllocZEx(pVM, MM_TAG_PDM_QUEUE, cb, (void **)&pQueue);
89 pQueue->pVMR3 = pVM;
90 pQueue->pVMR0 = fRZEnabled ? pVM->pVMR0 : NIL_RTR0PTR;
91 pQueue->pVMRC = fRZEnabled ? pVM->pVMRC : NIL_RTRCPTR;
108 pQueue->aFreeItems[i].pItemR0 = MMHyperR3ToR0(pVM, pIte
207 PDMR3QueueCreateDevice(PVM pVM, PPDMDEVINS pDevIns, size_t cbItem, uint32_t cItems, uint32_t cMilliesInterval, PFNPDMQUEUEDEV pfnCallback, bool fRZEnabled, const char *pszName, PPDMQUEUE *ppQueue) argument
257 PDMR3QueueCreateDriver(PVM pVM, PPDMDRVINS pDrvIns, size_t cbItem, uint32_t cItems, uint32_t cMilliesInterval, PFNPDMQUEUEDRV pfnCallback, const char *pszName, PPDMQUEUE *ppQueue) argument
303 PDMR3QueueCreateInternal(PVM pVM, size_t cbItem, uint32_t cItems, uint32_t cMilliesInterval, PFNPDMQUEUEINT pfnCallback, bool fRZEnabled, const char *pszName, PPDMQUEUE *ppQueue) argument
348 PDMR3QueueCreateExternal(PVM pVM, size_t cbItem, uint32_t cItems, uint32_t cMilliesInterval, PFNPDMQUEUEEXT pfnCallback, void *pvUser, const char *pszName, PPDMQUEUE *ppQueue) argument
395 PVM pVM = pQueue->pVMR3; local
479 PDMR3QueueDestroyDevice(PVM pVM, PPDMDEVINS pDevIns) argument
531 PDMR3QueueDestroyDriver(PVM pVM, PPDMDRVINS pDrvIns) argument
581 pdmR3QueueRelocate(PVM pVM, RTGCINTPTR offDelta) argument
636 PDMR3QueueFlushAll(PVM pVM) argument
868 pdmR3QueueTimer(PVM pVM, PTMTIMER pTimer, void *pvUser) argument
[all...]
H A DPDMThread.cpp79 rc = pThread->u.Int.pfnWakeUp(pThread->Internal.s.pVM, pThread);
100 * @param pVM Pointer to the VM.
103 static int pdmR3ThreadNew(PVM pVM, PPPDMTHREAD ppThread) argument
106 int rc = MMR3HeapAllocZEx(pVM, MM_TAG_PDM_THREAD, sizeof(*pThread), (void **)&pThread);
113 pThread->Internal.s.pVM = pVM;
125 * @param pVM Pointer to the VM.
131 static int pdmR3ThreadInit(PVM pVM, PPPDMTHREAD ppThread, size_t cbStack, RTTHREADTYPE enmType, const char *pszName) argument
134 PUVM pUVM = pVM->pUVM;
139 pThread->Internal.s.pVM
209 pdmR3ThreadCreateDevice(PVM pVM, PPDMDEVINS pDevIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADDEV pfnThread, PFNPDMTHREADWAKEUPDEV pfnWakeUp, size_t cbStack, RTTHREADTYPE enmType, const char *pszName) argument
242 pdmR3ThreadCreateUsb(PVM pVM, PPDMUSBINS pUsbIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADUSB pfnThread, PFNPDMTHREADWAKEUPUSB pfnWakeUp, size_t cbStack, RTTHREADTYPE enmType, const char *pszName) argument
275 pdmR3ThreadCreateDriver(PVM pVM, PPDMDRVINS pDrvIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADDRV pfnThread, PFNPDMTHREADWAKEUPDRV pfnWakeUp, size_t cbStack, RTTHREADTYPE enmType, const char *pszName) argument
307 PDMR3ThreadCreate(PVM pVM, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADINT pfnThread, PFNPDMTHREADWAKEUPINT pfnWakeUp, size_t cbStack, RTTHREADTYPE enmType, const char *pszName) argument
338 PDMR3ThreadCreateExternal(PVM pVM, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADEXT pfnThread, PFNPDMTHREADWAKEUPEXT pfnWakeUp, size_t cbStack, RTTHREADTYPE enmType, const char *pszName) argument
376 PVM pVM = pThread->Internal.s.pVM; local
479 pdmR3ThreadDestroyDevice(PVM pVM, PPDMDEVINS pDevIns) argument
514 pdmR3ThreadDestroyUsb(PVM pVM, PPDMUSBINS pUsbIns) argument
549 pdmR3ThreadDestroyDriver(PVM pVM, PPDMDRVINS pDrvIns) argument
580 pdmR3ThreadDestroyAll(PVM pVM) argument
976 pdmR3ThreadSuspendAll(PVM pVM) argument
1068 pdmR3ThreadResumeAll(PVM pVM) argument
[all...]
H A DPGMHandler.cpp71 * @param pVM Pointer to the VM.
87 VMMR3DECL(int) PGMR3HandlerPhysicalRegister(PVM pVM, PGMPHYSHANDLERTYPE enmType, RTGCPHYS GCPhys, RTGCPHYS GCPhysLast, argument
115 rc = PDMR3LdrGetSymbolR0Lazy(pVM, pszModR0, NULL /*pszSearchPath*/, pszHandlerR0, &pfnHandlerR0);
122 if (!HMIsEnabled(pVM))
123 rc = PDMR3LdrGetSymbolRCLazy(pVM, pszModRC, NULL /*pszSearchPath*/, pszHandlerRC, &pfnHandlerRC);
125 return PGMHandlerPhysicalRegisterEx(pVM, enmType, GCPhys, GCPhysLast, pfnHandlerR3, pvUserR3,
140 * @param pVM Pointer to the VM.
143 void pgmR3HandlerPhysicalUpdateAll(PVM pVM) argument
151 pgmLock(pVM);
152 RTAvlroGCPhysDoWithAll(&pVM
171 PVM pVM = (PVM)pvUser; local
202 PVM pVM = (PVM)pvUser; local
233 PGMR3HandlerVirtualRegister(PVM pVM, PGMVIRTHANDLERTYPE enmType, RTGCPTR GCPtr, RTGCPTR GCPtrLast, PFNPGMR3VIRTINVALIDATE pfnInvalidateR3, PFNPGMR3VIRTHANDLER pfnHandlerR3, const char *pszHandlerRC, const char *pszModRC, const char *pszDesc) argument
287 PGMR3HandlerVirtualRegisterEx(PVM pVM, PGMVIRTHANDLERTYPE enmType, RTGCPTR GCPtr, RTGCPTR GCPtrLast, R3PTRTYPE(PFNPGMR3VIRTINVALIDATE) pfnInvalidateR3, R3PTRTYPE(PFNPGMR3VIRTHANDLER) pfnHandlerR3, RCPTRTYPE(PFNPGMRCVIRTHANDLER) pfnHandlerRC, R3PTRTYPE(const char *) pszDesc) argument
437 PGMHandlerVirtualChangeInvalidateCallback(PVM pVM, RTGCPTR GCPtr, PFNPGMR3VIRTINVALIDATE pfnInvalidateR3) argument
460 PGMHandlerVirtualDeregister(PVM pVM, RTGCPTR GCPtr) argument
537 pgmR3InfoHandlers(PVM pVM, PCDBGFINFOHLP pHlp, const char *pszArgs) argument
[all...]
H A DPGMMap.cpp40 static void pgmR3MapClearPDEs(PVM pVM, PPGMMAPPING pMap, unsigned iOldPDE);
41 static void pgmR3MapSetPDEs(PVM pVM, PPGMMAPPING pMap, unsigned iNewPDE);
42 static int pgmR3MapIntermediateCheckOne(PVM pVM, uintptr_t uAddress, unsigned cPages, PX86PT pPTDefault, PX86PTPAE pPTPaeDefault);
43 static void pgmR3MapIntermediateDoOne(PVM pVM, uintptr_t uAddress, RTHCPHYS HCPhys, unsigned cPages, PX86PT pPTDefault, PX86PTPAE pPTPaeDefault);
45 # define pgmR3MapClearPDEs(pVM, pMap, iNewPDE) do { } while (0)
46 # define pgmR3MapSetPDEs(pVM, pMap, iNewPDE) do { } while (0)
54 * @param pVM Pointer to the VM.
62 VMMR3DECL(int) PGMR3MapPT(PVM pVM, RTGCPTR GCPtr, uint32_t cb, uint32_t fFlags, PFNPGMRELOCATE pfnRelocate, void *pvUser, const char *pszDesc) argument
65 AssertMsg(pVM->pgm.s.pInterPD, ("Paging isn't initialized, init order problems!\n"));
81 AssertMsgReturn(!pVM
229 PGMR3UnmapPT(PVM pVM, RTGCPTR GCPtr) argument
303 pgmR3AreIntermediatePDEsUnused(PVM pVM, unsigned iPD, unsigned cPTs) argument
326 pgmR3MapUnlink(PVM pVM, PPGMMAPPING pMapping) argument
358 pgmR3MapLink(PVM pVM, PPGMMAPPING pMapping) argument
405 PGMR3FinalizeMappings(PVM pVM) argument
491 PGMR3MappingsSize(PVM pVM, uint32_t *pcb) argument
514 PGMR3MappingsFix(PVM pVM, RTGCPTR GCPtrBase, uint32_t cb) argument
554 pgmR3MappingsFixInternal(PVM pVM, RTGCPTR GCPtrBase, uint32_t cb) argument
696 PGMR3MappingsUnfix(PVM pVM) argument
725 PGMR3MappingsNeedReFixing(PVM pVM) argument
747 PGMR3MapIntermediate(PVM pVM, RTUINTPTR Addr, RTHCPHYS HCPhys, unsigned cbPages) argument
811 pgmR3MapIntermediateCheckOne(PVM pVM, uintptr_t uAddress, unsigned cPages, PX86PT pPTDefault, PX86PTPAE pPTPaeDefault) argument
894 pgmR3MapIntermediateDoOne(PVM pVM, uintptr_t uAddress, RTHCPHYS HCPhys, unsigned cPages, PX86PT pPTDefault, PX86PTPAE pPTPaeDefault) argument
948 pgmR3MapClearPDEs(PVM pVM, PPGMMAPPING pMap, unsigned iOldPDE) argument
[all...]
H A DPGMPool.cpp116 static DECLCALLBACK(int) pgmR3PoolAccessHandler(PVM pVM, RTGCPHYS GCPhys, void *pvPhys, void *pvBuf, size_t cbBuf, PGMACCESSTYPE enmAccessType, void *pvUser);
134 * @param pVM Pointer to the VM.
136 int pgmR3PoolInit(PVM pVM) argument
147 PCFGMNODE pCfg = CFGMR3GetChild(CFGMR3GetRoot(pVM), "/PGM/Pool");
154 rc = CFGMR3QueryU64Def(CFGMR3GetRoot(pVM), "RamSize", &cbRam, 0); AssertRCReturn(rc, rc);
232 rc = MMR3HyperAllocOnceNoRel(pVM, cb, 0, MM_TAG_PGM_POOL, (void **)&pPool);
235 pVM->pgm.s.pPoolR3 = pPool;
236 pVM->pgm.s.pPoolR0 = MMHyperR3ToR0(pVM, pPool);
237 pVM
407 pgmR3PoolRelocate(PVM pVM) argument
437 PGMR3PoolGrow(PVM pVM) argument
532 pgmR3PoolAccessHandler(PVM pVM, RTGCPHYS GCPhys, void *pvPhys, void *pvBuf, size_t cbBuf, PGMACCESSTYPE enmAccessType, void *pvUser) argument
625 pgmR3PoolClearAllRendezvous(PVM pVM, PVMCPU pVCpu, void *fpvFlushRemTbl) argument
869 pgmR3PoolClearAll(PVM pVM, bool fFlushRemTlb) argument
883 pgmR3PoolWriteProtectPages(PVM pVM) argument
955 PVM pVM = pUVM->pVM; local
[all...]
H A DPGMSharedPage.cpp56 * @param pVM Pointer to the VM.
67 VMMR3DECL(int) PGMR3SharedModuleRegister(PVM pVM, VBOXOSFAMILY enmGuestOS, char *pszModuleName, char *pszVersion, argument
102 pgmR3PhysAssertSharedPageChecksums(pVM);
103 rc = GMMR3RegisterSharedModule(pVM, pReq);
139 * @param pVM Pointer to the VM.
147 VMMR3DECL(int) PGMR3SharedModuleUnregister(PVM pVM, char *pszModuleName, char *pszVersion, RTGCPTR GCBaseAddr, uint32_t cbModule)
169 pgmR3PhysAssertSharedPageChecksums(pVM);
170 rc = GMMR3UnregisterSharedModule(pVM, pReq);
171 pgmR3PhysAssertSharedPageChecksums(pVM);
202 * @param pVM Pointe
206 pgmR3SharedModuleRegRendezvous(PVM pVM, PVMCPU pVCpu, void *pvUser) argument
244 pgmR3CheckSharedModulesHelper(PVM pVM, VMCPUID idCpu) argument
260 PGMR3SharedModuleCheckAll(PVM pVM) argument
277 PGMR3SharedModuleGetPageState(PVM pVM, RTGCPTR GCPtrPage, bool *pfShared, uint64_t *pfPageFlags) argument
334 PVM pVM = pUVM->pVM; local
414 PVM pVM = pUVM->pVM; local
[all...]
H A DVMMGuruMeditation.cpp228 * @param pVM Pointer to the VM.
232 VMMR3DECL(void) VMMR3FatalDump(PVM pVM, PVMCPU pVCpu, int rcErr) argument
243 PDMR3CritSectLeaveAll(pVM);
268 const char *pszMsg1 = VMMR3GetRZAssertMsg1(pVM);
271 const char *pszMsg2 = VMMR3GetRZAssertMsg2(pVM);
305 if (!HMIsEnabled(pVM))
324 if (HMIsEnabled(pVM))
356 - MMHyperCCToR0(pVM, pVCpu->vmm.s.pbEMTStackR3)];
419 rc2 = DBGFR3StackWalkBeginEx(pVM->pUVM, pVCpu->idCpu, DBGFCODETYPE_RING0, &ebp, &esp, &pc,
482 MMHyperCCToR0(pVM, pVCp
[all...]
H A DVMMSwitcher.cpp143 * @param pVM The cross context VM structure.
148 static void vmmR3Switcher32On64IdtInit(PVM pVM, PVMMSWITCHERDEF pSwitcher, uint8_t *pbDst, RTHCPHYS HCPhysDst) argument
152 RTSEL uCs64 = SELMGetHyperCS64(pVM);
172 for (VMCPUID iCpu = 0; iCpu < pVM->cCpus; iCpu++)
175 CPUMSetHyperIDTR(&pVM->aCpus[iCpu], uIdtr, 16*256 + iCpu);
183 * @param pVM The cross context VM structure.
188 static void vmmR3Switcher32On64IdtRelocate(PVM pVM, PVMMSWITCHERDEF pSwitcher, uint8_t *pbDst, RTHCPHYS HCPhysDst) argument
193 RTSEL uCs64 = SELMGetHyperCS64(pVM);
199 for (VMCPUID iCpu = 0; iCpu < pVM->cCpus; iCpu++)
202 CPUMSetHyperIDTR(&pVM
217 vmmR3SwitcherInit(PVM pVM) argument
362 vmmR3SwitcherRelocate(PVM pVM, RTGCINTPTR offDelta) argument
430 vmmR3SwitcherGenericRelocate(PVM pVM, PVMMSWITCHERDEF pSwitcher, RTR0PTR R0PtrCode, uint8_t *pu8CodeR3, RTGCPTR GCPtrCode, uint32_t u32IDCode, RTSEL SelCS, RTSEL SelDS, RTSEL SelTSS, RTGCPTR GCPtrGDT, RTSEL SelCS64) argument
[all...]
/vbox/src/VBox/VMM/VMMRC/
H A DSELMRC.cpp59 * @param pVM Pointer to the VM.
66 static VBOXSTRICTRC selmRCSyncGDTEntry(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, unsigned iGDTEntry) argument
84 int rc = MMGCRamRead(pVM, &Desc, (uint8_t *)(uintptr_t)GdtrGuest.pGdt + offEntry, sizeof(X86DESC));
100 Assert( !(pVM->selm.s.aHyperSel[SELM_HYPER_SEL_CS] & ~X86_SEL_MASK_OFF_RPL)
101 && !(pVM->selm.s.aHyperSel[SELM_HYPER_SEL_DS] & ~X86_SEL_MASK_OFF_RPL)
102 && !(pVM->selm.s.aHyperSel[SELM_HYPER_SEL_CS64] & ~X86_SEL_MASK_OFF_RPL)
103 && !(pVM->selm.s.aHyperSel[SELM_HYPER_SEL_TSS] & ~X86_SEL_MASK_OFF_RPL)
104 && !(pVM->selm.s.aHyperSel[SELM_HYPER_SEL_TSS_TRAP08] & ~X86_SEL_MASK_OFF_RPL));
105 if ( pVM->selm.s.aHyperSel[SELM_HYPER_SEL_CS] == Sel
106 || pVM
185 selmRCSyncGDTSegRegs(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, unsigned iGDTEntry) argument
238 selmRCGuestGDTWriteHandler(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPTR pvRange, uintptr_t offRange) argument
331 selmRCGuestLDTWriteHandler(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPTR pvRange, uintptr_t offRange) argument
353 selmRCReadTssBits(PVM pVM, void *pvDst, void const *pvSrc, size_t cb) argument
384 selmRCGuestTSSWriteHandler(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPTR pvRange, uintptr_t offRange) argument
537 selmRCShadowGDTWriteHandler(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPTR pvRange, uintptr_t offRange) argument
559 selmRCShadowLDTWriteHandler(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPTR pvRange, uintptr_t offRange) argument
582 selmRCShadowTSSWriteHandler(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPTR pvRange, uintptr_t offRange) argument
[all...]
H A DTRPMRCHandlers.cpp109 * @param pVM Pointer to the VM.
113 DECLRCCALLBACKMEMBER(int, pfnHandler, (PVM pVM, PCPUMCTXCORE pRegFrame, uintptr_t uUser));
139 DECLCALLBACK(int) trpmRCTrapInGeneric(PVM pVM, PCPUMCTXCORE pRegFrame, uintptr_t uUser);
152 * @param pVM Pointer to the VM.
159 static int trpmGCExitTrap(PVM pVM, PVMCPU pVCpu, int rc, PCPUMCTXCORE pRegFrame) argument
182 TMTimerPollVoid(pVM, pVCpu);
184 VM_FF_IS_PENDING(pVM, VM_FF_TM_VIRTUAL_SYNC), VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_TIMER)));
211 && ( VM_FF_IS_PENDING(pVM, VM_FF_TM_VIRTUAL_SYNC | VM_FF_REQUEST | VM_FF_PGM_NO_MEMORY | VM_FF_PDM_DMA)
221 if (RT_UNLIKELY(VM_FF_IS_PENDING(pVM, VM_FF_PGM_NO_MEMORY)))
233 else if (VM_FF_IS_PENDING(pVM, VM_FF_TM_VIRTUAL_SYN
305 PVM pVM = TRPMCPU_2_VM(pTrpmCpu); local
359 PVM pVM = TRPMCPU_2_VM(pTrpmCpu); local
450 PVM pVM = TRPMCPU_2_VM(pTrpmCpu); local
502 PVM pVM = TRPMCPU_2_VM(pTrpmCpu); local
532 PVM pVM = TRPMCPU_2_VM(pTrpmCpu); local
658 PVM pVM = TRPMCPU_2_VM(pTrpmCpu); local
685 PVM pVM = TRPMCPU_2_VM(pTrpmCpu); local
792 trpmGCTrap0dHandlerRing0(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, PDISCPUSTATE pCpu, RTGCPTR PC) argument
900 trpmGCTrap0dHandlerRing3(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, PDISCPUSTATE pCpu, RTGCPTR PC) argument
1005 trpmGCTrap0dHandlerRdTsc(PVM pVM, PVMCPU pVCpu, PCPUMCTXCORE pRegFrame) argument
1036 trpmGCTrap0dHandler(PVM pVM, PTRPMCPU pTrpmCpu, PCPUMCTXCORE pRegFrame) argument
1192 PVM pVM = TRPMCPU_2_VM(pTrpmCpu); local
1255 PVM pVM = TRPMCPU_2_VM(pTrpmCpu); local
1329 trpmGCHyperGeneric(PVM pVM, PCPUMCTXCORE pRegFrame, PCTRPMGCHYPER paHandlers, PCTRPMGCHYPER pEndRecord) argument
1431 trpmRCTrapInGeneric(PVM pVM, PCPUMCTXCORE pRegFrame, uintptr_t uUser) argument
1476 TRPMRCTrapHyperHandlerSetEIP(PVM pVM, PCPUMCTXCORE pRegFrame, uintptr_t uUser) argument
[all...]
/vbox/src/VBox/VMM/include/
H A DPDMAsyncCompletionInternal.h173 PVM pVM; member in struct:PDMASYNCCOMPLETIONEPCLASS
/vbox/src/VBox/VMM/testcase/
H A DtstSSM.cpp101 * @param pVM The cross context VM handle.
104 DECLCALLBACK(int) Item01Save(PVM pVM, PSSMHANDLE pSSM) argument
107 NOREF(pVM);
184 * @param pVM The cross context VM handle.
189 DECLCALLBACK(int) Item01Load(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass) argument
191 NOREF(pVM); NOREF(uPass);
280 * @param pVM The cross context VM handle.
283 DECLCALLBACK(int) Item02Save(PVM pVM, PSSMHANDLE pSSM) argument
285 NOREF(pVM);
342 * @param pVM Th
347 Item02Load(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass) argument
413 Item03Save(PVM pVM, PSSMHANDLE pSSM) argument
463 Item03Load(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass) argument
525 Item04Save(PVM pVM, PSSMHANDLE pSSM) argument
571 Item04Load(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass) argument
654 PVM pVM; local
708 PVM pVM; local
[all...]
H A DtstVMM.cpp57 VMMR3DECL(int) VMMDoTest(PVM pVM); /* Linked into VMM, see ../VMMTests.cpp. */ variable
58 VMMR3DECL(int) VMMDoBruteForceMsrs(PVM pVM); /* Ditto. */ variable
59 VMMR3DECL(int) VMMDoKnownMsrs(PVM pVM); /* Ditto. */ variable
60 VMMR3DECL(int) VMMDoMsrExperiments(PVM pVM); /* Ditto. */ variable
64 static DECLCALLBACK(void) tstTMDummyCallback(PVM pVM, PTMTIMER pTimer, void *pvUser) argument
66 NOREF(pVM);
76 * @param pVM Pointer to the VM.
79 DECLCALLBACK(int) tstTMWorker(PVM pVM, RTTEST hTest) argument
81 VMCPUID idCpu = VMMGetCpuId(pVM);
91 rc = TMR3TimerCreateInternal(pVM,
145 tstVMMLdrEnum(PVM pVM, const char *pszFilename, const char *pszName, RTUINTPTR ImageBase, size_t cbImage, PDMLDRCTX enmCtx, void *pvUser) argument
154 tstVMMConfigConstructor(PUVM pUVM, PVM pVM, void *pvUser) argument
268 PVM pVM; local
[all...]
/vbox/src/VBox/Devices/Bus/
H A DMsixCommon.cpp207 PVM pVM = PDMDevHlpGetVM(pDev->pDevIns); local
211 rc = MMHyperAlloc(pVM, 0x1000, 1, MM_TAG_PDM_DEVICE_USER, (void **)&pDev->Int.s.pMsixPageR3);
215 pDev->Int.s.pMsixPageR0 = MMHyperR3ToR0(pVM, pDev->Int.s.pMsixPageR3);
216 pDev->Int.s.pMsixPageRC = MMHyperR3ToRC(pVM, pDev->Int.s.pMsixPageR3);
/vbox/src/VBox/HostDrivers/VBoxPci/
H A DVBoxPci.c562 PVM pVM,
574 rc = vboxPciOsInitVm(pThis, pVM, pVmData);
601 PVM pVM,
612 vboxPciOsDeinitVm(pThis, pVM);
561 vboxPciFactoryInitVm(PRAWPCIFACTORY pFactory, PVM pVM, PRAWPCIPERVM pVmData) argument
600 vboxPciFactoryDeinitVm(PRAWPCIFACTORY pFactory, PVM pVM, PRAWPCIPERVM pPciData) argument
/vbox/src/VBox/Devices/USB/
H A DDrvVUSBRootHub.cpp728 static DECLCALLBACK(int) vusbRhDevReset(PVUSBIDEVICE pInterface, bool fResetOnLinux, PFNVUSBRESETDONE pfnDone, void *pvUser, PVM pVM) argument

Completed in 124 milliseconds

12345678910