VirtualBox

Changeset 93620 in vbox for trunk/include/VBox/vmm/mm.h


Ignore:
Timestamp:
Feb 6, 2022 9:43:00 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
149765
Message:

VMM/MMHyper: Removed unused code. bugref:10093

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/mm.h

    r93598 r93620  
    154154 * @{ */
    155155
    156 VMMDECL(RTR3PTR)    MMHyperR0ToR3(PVM pVM, RTR0PTR R0Ptr);
    157156VMMDECL(RTR0PTR)    MMHyperR3ToR0(PVM pVM, RTR3PTR R3Ptr);
    158 VMMDECL(RTR3PTR)    MMHyperRCToR3(PVM pVM, RTRCPTR RCPtr);
    159 VMMDECL(RTR0PTR)    MMHyperRCToR0(PVM pVM, RTRCPTR RCPtr);
    160157
    161158#ifndef IN_RING3
     
    169166#endif
    170167
    171 
    172 VMMDECL(void *)     MMHyperRCToCC(PVM pVM, RTRCPTR RCPtr);
    173 
    174 #ifndef IN_RING3
    175 VMMDECL(RTR3PTR)    MMHyperCCToR3(PVM pVM, void *pv);
    176 #else
    177 DECLINLINE(RTR3PTR) MMHyperCCToR3(PVM pVM, void *pv)
    178 {
    179     NOREF(pVM);
    180     return pv;
    181 }
    182 #endif
    183168
    184169#ifndef IN_RING0
     
    241226VMMR3DECL(int)      MMR3AdjustFixedReservation(PVM pVM, int32_t cDeltaFixedPages, const char *pszDesc);
    242227VMMR3DECL(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 0
    249 VMMR3DECL(int)      MMR3HyperRealloc(PVM pVM, void *pv, size_t cb, unsigned uAlignmentNew, MMTAG enmTagNew, size_t cbNew, void **ppv);
    250 #endif
    251 /** @name  MMR3HyperAllocOnceNoRelEx flags
    252  * @{ */
    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 /** @} */
    257228/** @} */
    258229
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette