/vbox/src/VBox/VMM/VMMR0/ |
H A D | GIMR0Hv.cpp | 45 static int gimR0HvPageAllocZ(PRTR0MEMOBJ pMemObj, PRTR0PTR ppVirt, PRTHCPHYS pHCPhys) 49 AssertPtr(pHCPhys); 55 *pHCPhys = RTR0MemObjGetPagePhysAddr(*pMemObj, 0 /* iPage */); 67 * @param pHCPhys Where to re-initialize the physical address of the 70 static void gimR0HvPageFree(PRTR0MEMOBJ pMemObj, PRTR0PTR ppVirt, PRTHCPHYS pHCPhys) 74 AssertPtr(pHCPhys); 81 *pHCPhys = 0;
|
H A D | GMMR0.cpp | 3020 GMMR0DECL(int) GMMR0AllocateLargePage(PVM pVM, VMCPUID idCpu, uint32_t cbPage, uint32_t *pIdPage, RTHCPHYS *pHCPhys) 3026 AssertPtrReturn(pHCPhys, VERR_INVALID_PARAMETER); 3042 *pHCPhys = NIL_RTHCPHYS; 3089 *pHCPhys = PageDesc.HCPhysGCPhys;
|
H A D | HMVMXR0.cpp | 837 DECLINLINE(int) hmR0VmxPageAllocZ(PRTR0MEMOBJ pMemObj, PRTR0PTR ppVirt, PRTHCPHYS pHCPhys) argument 841 AssertPtrReturn(pHCPhys, VERR_INVALID_PARAMETER); 847 *pHCPhys = RTR0MemObjGetPagePhysAddr(*pMemObj, 0 /* iPage */); 859 * @param pHCPhys Where to re-initialize the physical address of the 862 DECLINLINE(void) hmR0VmxPageFree(PRTR0MEMOBJ pMemObj, PRTR0PTR ppVirt, PRTHCPHYS pHCPhys) argument 866 AssertPtr(pHCPhys); 873 *pHCPhys = 0;
|
/vbox/src/VBox/VMM/include/internal/ |
H A D | pgm.h | 66 VMMDECL(int) PGMPhysGCPhys2HCPhys(PVM pVM, RTGCPHYS GCPhys, PRTHCPHYS pHCPhys); 67 VMMDECL(int) PGMPhysGCPtr2HCPhys(PVMCPU pVCpu, RTGCPTR GCPtr, PRTHCPHYS pHCPhys);
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGFAddr.cpp | 327 * @param pHCPhys Where to return the physical address. 329 VMMR3DECL(int) DBGFR3AddrToHostPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTHCPHYS pHCPhys) argument 334 AssertPtr(pHCPhys); 335 *pHCPhys = NIL_RTHCPHYS; 354 rc = PGMPhysGCPhys2HCPhys(pVM, pAddress->FlatPtr, pHCPhys);
|
H A D | PGMShw.h | 119 PGM_SHW_DECL(int, GetPage)(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys);
|
H A D | PGMDbg.cpp | 124 * @retval VINF_SUCCESS on success, *pHCPhys is set. 130 * @param pHCPhys Where to store the HC physical address on success. 132 VMMR3DECL(int) PGMR3DbgR3Ptr2HCPhys(PUVM pUVM, RTR3PTR R3Ptr, PRTHCPHYS pHCPhys) argument 135 *pHCPhys = NIL_RTHCPHYS;
|
H A D | PGMPhys.cpp | 3054 * @param pHCPhys Where to store the result. 3056 VMMR3DECL(int) PGMR3PhysMMIO2GetHCPhys(PVM pVM, PPDMDEVINS pDevIns, uint32_t iRegion, RTGCPHYS off, PRTHCPHYS pHCPhys) argument 3071 *pHCPhys = PGM_PAGE_GET_HCPHYS(pPage);
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | PGMAllShw.h | 174 PGM_SHW_DECL(int, GetPage)(PVMCPU pVCpu, RTGCUINTPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys); 187 * @param pHCPhys Where to store the HC physical address of the page. 191 PGM_SHW_DECL(int, GetPage)(PVMCPU pVCpu, RTGCUINTPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys) 194 NOREF(pVCpu); NOREF(GCPtr); NOREF(pfFlags); NOREF(pHCPhys); 277 if (pHCPhys) 278 *pHCPhys = (Pde.u & SHW_PDE_PG_MASK) + (GCPtr & (RT_BIT(SHW_PD_SHIFT) - 1) & X86_PAGE_4K_BASE_MASK); 333 if (pHCPhys) 334 *pHCPhys = SHW_PTE_GET_HCPHYS(Pte);
|
H A D | PGMAllMap.cpp | 222 * @param pHCPhys Where to return the address. Optional. 224 VMMDECL(int) PGMMapGetPage(PVM pVM, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys) argument 247 if (pHCPhys) 248 *pHCPhys = PGMSHWPTEPAE_GET_HCPHYS(*pPtePae);
|
H A D | PGMAllPhys.cpp | 384 * @param pHCPhys Where to store the HC physical address on success. 386 VMMDECL(int) PGMPhysGCPhys2HCPhys(PVM pVM, RTGCPHYS GCPhys, PRTHCPHYS pHCPhys) argument 392 *pHCPhys = PGM_PAGE_GET_HCPHYS(pPage) | (GCPhys & PAGE_OFFSET_MASK); 2022 * @param pHCPhys Where to store the HC physical address. 2024 VMMDECL(int) PGMPhysGCPtr2HCPhys(PVMCPU pVCpu, RTGCPTR GCPtr, PRTHCPHYS pHCPhys) argument 2030 rc = PGMPhysGCPhys2HCPhys(pVM, GCPhys | ((RTGCUINTPTR)GCPtr & PAGE_OFFSET_MASK), pHCPhys);
|
H A D | PGMAll.cpp | 828 * @param pHCPhys Where to store the HC physical address of the page. 832 VMMDECL(int) PGMShwGetPage(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys) argument 835 int rc = PGM_SHW_PFN(GetPage, pVCpu)(pVCpu, GCPtr, pfFlags, pHCPhys);
|
/vbox/src/VBox/Debugger/testcase/ |
H A D | tstDBGCStubs.cpp | 275 VMMR3DECL(int) DBGFR3AddrToHostPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTHCPHYS pHCPhys) argument 420 VMMR3DECL(int) PGMR3DbgR3Ptr2HCPhys(PUVM pUVM, RTR3PTR R3Ptr, PRTHCPHYS pHCPhys) argument
|
/vbox/include/VBox/vmm/ |
H A D | pgm.h | 309 VMMDECL(int) PGMMapGetPage(PVM pVM, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys); 318 VMMDECL(int) PGMShwGetPage(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys); 482 VMMR3DECL(int) PGMR3PhysMMIO2GetHCPhys(PVM pVM, PPDMDEVINS pDevIns, uint32_t iRegion, RTGCPHYS off, PRTHCPHYS pHCPhys); 554 VMMR3DECL(int) PGMR3DbgR3Ptr2HCPhys(PUVM pUVM, RTR3PTR R3Ptr, PRTHCPHYS pHCPhys);
|
H A D | gmm.h | 406 GMMR0DECL(int) GMMR0AllocateLargePage(PVM pVM, VMCPUID idCpu, uint32_t cbPage, uint32_t *pIdPage, RTHCPHYS *pHCPhys);
|
H A D | mm.h | 278 VMMR3DECL(int) MMR3HyperHCVirt2HCPhysEx(PVM pVM, void *pvHC, PRTHCPHYS pHCPhys);
|
H A D | dbgf.h | 123 VMMR3DECL(int) DBGFR3AddrToHostPhys(PUVM pUVM, VMCPUID idCpu, PDBGFADDRESS pAddress, PRTHCPHYS pHCPhys);
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPLib.cpp | 1304 SUPR3DECL(void *) SUPR3ContAlloc(size_t cPages, PRTR0PTR pR0Ptr, PRTHCPHYS pHCPhys) argument 1309 AssertPtrReturn(pHCPhys, NULL); 1310 *pHCPhys = NIL_RTHCPHYS; 1314 AssertPtrNullReturn(pHCPhys, NULL); 1323 if (pHCPhys) 1324 *pHCPhys = (uintptr_t)pv + (PAGE_SHIFT * 1024); 1343 *pHCPhys = Req.u.Out.HCPhys; 1643 SUPR3DECL(int) SUPR3GipGetPhys(PRTHCPHYS pHCPhys) argument 1647 *pHCPhys = g_HCPhysSUPGlobalInfoPage; 1650 *pHCPhys [all...] |
H A D | SUPDrv.cpp | 3021 * @param pHCPhys Where to put the physical address of allocated memory. 3023 SUPR0DECL(int) SUPR0ContAlloc(PSUPDRVSESSION pSession, uint32_t cPages, PRTR0PTR ppvR0, PRTR3PTR ppvR3, PRTHCPHYS pHCPhys) argument 3027 LogFlow(("SUPR0ContAlloc: pSession=%p cPages=%d ppvR0=%p ppvR3=%p pHCPhys=%p\n", pSession, cPages, ppvR0, ppvR3, pHCPhys)); 3033 if (!ppvR3 || !ppvR0 || !pHCPhys) 3035 Log(("Null pointer. All of these should be set: pSession=%p ppvR0=%p ppvR3=%p pHCPhys=%p\n", 3036 pSession, ppvR0, ppvR3, pHCPhys)); 3063 *pHCPhys = RTR0MemObjGetPagePhysAddr(Mem.MemObj, 0);
|
/vbox/include/VBox/ |
H A D | sup.h | 1305 * *pHCPhys is set to the physical address of the memory. 1311 * @param pHCPhys Where to store the physical address of the memory block. 1317 SUPR3DECL(void *) SUPR3ContAlloc(size_t cPages, PRTR0PTR pR0Ptr, PRTHCPHYS pHCPhys); 1436 * @param pHCPhys Where to store the physical address of the GIP. 1438 SUPR3DECL(int) SUPR3GipGetPhys(PRTHCPHYS pHCPhys); variable 1812 SUPR0DECL(int) SUPR0ContAlloc(PSUPDRVSESSION pSession, uint32_t cPages, PRTR0PTR ppvR0, PRTR3PTR ppvR3, PRTHCPHYS pHCPhys);
|
/vbox/src/VBox/VMM/include/ |
H A D | PGMInline.h | 202 * @param pHCPhys Where to store the corresponding HC physical address. 207 DECLINLINE(int) pgmRamGCPhys2HCPhys(PVM pVM, RTGCPHYS GCPhys, PRTHCPHYS pHCPhys) argument 213 *pHCPhys = PGM_PAGE_GET_HCPHYS(pPage) | (GCPhys & PAGE_OFFSET_MASK);
|
H A D | PGMInternal.h | 2921 DECLR3CALLBACKMEMBER(int, pfnR3ShwGetPage,(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys)); 2924 DECLRCCALLBACKMEMBER(int, pfnRCShwGetPage,(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys)); 2927 DECLR0CALLBACKMEMBER(int, pfnR0ShwGetPage,(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys)); 3862 DECLR3CALLBACKMEMBER(int, pfnR3ShwGetPage,(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys)); 3865 DECLRCCALLBACKMEMBER(int, pfnRCShwGetPage,(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys)); 3868 DECLR0CALLBACKMEMBER(int, pfnR0ShwGetPage,(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys));
|