Changeset 99749 in vbox
- Timestamp:
- May 11, 2023 11:53:44 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/NEMR3Native-darwin-armv8.cpp
r99739 r99749 80 80 * Global Variables * 81 81 *********************************************************************************************************************************/ 82 /** NEM_DARWIN_PAGE_STATE_XXX names. */83 NEM_TMPL_STATIC const char * const g_apszPageStates[4] = { "not-set", "unmapped", "readable", "writable" };84 82 /** The general registers. */ 85 83 static const struct … … 407 405 #endif 408 406 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 429 407 #ifdef LOG_ENABLED 430 408 /**
Note:
See TracChangeset
for help on using the changeset viewer.