VirtualBox

Changeset 99749 in vbox


Ignore:
Timestamp:
May 11, 2023 11:53:44 AM (19 months ago)
Author:
vboxsync
Message:

VMM/NEMR3Native-darwin-armv8: Remove some unused code, bugref:10390

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/NEMR3Native-darwin-armv8.cpp

    r99739 r99749  
    8080*   Global Variables                                                                                                             *
    8181*********************************************************************************************************************************/
    82 /** NEM_DARWIN_PAGE_STATE_XXX names. */
    83 NEM_TMPL_STATIC const char * const g_apszPageStates[4] = { "not-set", "unmapped", "readable", "writable" };
    8482/** The general registers. */
    8583static const struct
     
    407405#endif
    408406
    409 DECLINLINE(int) nemR3NativeGCPhys2R3PtrReadOnly(PVM pVM, RTGCPHYS GCPhys, const void **ppv)
    410 {
    411     PGMPAGEMAPLOCK Lock;
    412     int rc = PGMPhysGCPhys2CCPtrReadOnly(pVM, GCPhys, ppv, &Lock);
    413     if (RT_SUCCESS(rc))
    414         PGMPhysReleasePageMappingLock(pVM, &Lock);
    415     return rc;
    416 }
    417 
    418 
    419 DECLINLINE(int) nemR3NativeGCPhys2R3PtrWriteable(PVM pVM, RTGCPHYS GCPhys, void **ppv)
    420 {
    421     PGMPAGEMAPLOCK Lock;
    422     int rc = PGMPhysGCPhys2CCPtr(pVM, GCPhys, ppv, &Lock);
    423     if (RT_SUCCESS(rc))
    424         PGMPhysReleasePageMappingLock(pVM, &Lock);
    425     return rc;
    426 }
    427 
    428 
    429407#ifdef LOG_ENABLED
    430408/**
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