Changeset 93620 in vbox for trunk/include/VBox/vmm/mm.h
- Timestamp:
- Feb 6, 2022 9:43:00 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 149765
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/mm.h
r93598 r93620 154 154 * @{ */ 155 155 156 VMMDECL(RTR3PTR) MMHyperR0ToR3(PVM pVM, RTR0PTR R0Ptr);157 156 VMMDECL(RTR0PTR) MMHyperR3ToR0(PVM pVM, RTR3PTR R3Ptr); 158 VMMDECL(RTR3PTR) MMHyperRCToR3(PVM pVM, RTRCPTR RCPtr);159 VMMDECL(RTR0PTR) MMHyperRCToR0(PVM pVM, RTRCPTR RCPtr);160 157 161 158 #ifndef IN_RING3 … … 169 166 #endif 170 167 171 172 VMMDECL(void *) MMHyperRCToCC(PVM pVM, RTRCPTR RCPtr);173 174 #ifndef IN_RING3175 VMMDECL(RTR3PTR) MMHyperCCToR3(PVM pVM, void *pv);176 #else177 DECLINLINE(RTR3PTR) MMHyperCCToR3(PVM pVM, void *pv)178 {179 NOREF(pVM);180 return pv;181 }182 #endif183 168 184 169 #ifndef IN_RING0 … … 241 226 VMMR3DECL(int) MMR3AdjustFixedReservation(PVM pVM, int32_t cDeltaFixedPages, const char *pszDesc); 242 227 VMMR3DECL(int) MMR3UpdateShadowReservation(PVM pVM, uint32_t cShadowPages); 243 244 /** @defgroup grp_mm_r3_hyper Hypervisor Memory Manager (HC R3 Portion)245 * @{ */246 VMMR3DECL(int) MMR3HyperAllocOnceNoRel(PVM pVM, size_t cb, uint32_t uAlignment, MMTAG enmTag, void **ppv);247 VMMR3DECL(int) MMR3HyperAllocOnceNoRelEx(PVM pVM, size_t cb, uint32_t uAlignment, MMTAG enmTag, uint32_t fFlags, void **ppv);248 #if 0249 VMMR3DECL(int) MMR3HyperRealloc(PVM pVM, void *pv, size_t cb, unsigned uAlignmentNew, MMTAG enmTagNew, size_t cbNew, void **ppv);250 #endif251 /** @name MMR3HyperAllocOnceNoRelEx flags252 * @{ */253 /** Must have kernel mapping.254 * If not specified, the R0 pointer may point to the user process mapping. */255 #define MMHYPER_AONR_FLAGS_KERNEL_MAPPING RT_BIT(0)256 /** @} */257 228 /** @} */ 258 229
Note:
See TracChangeset
for help on using the changeset viewer.