Changeset 86018 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Sep 3, 2020 9:13:51 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/NEMAllNativeTemplate-win.cpp.h
r83772 r86018 4039 4039 for (unsigned iLoop = 0;; iLoop++) 4040 4040 { 4041 # ifndef NEM_WIN_USE_HYPERCALLS_FOR_PAGES4041 //# ifndef NEM_WIN_USE_HYPERCALLS_FOR_PAGES 4042 4042 /* 4043 4043 * Hack alert! 4044 4044 */ 4045 4045 uint32_t const cMappedPages = pVM->nem.s.cMappedPages; 4046 if (cMappedPages >= 4000) 4047 { 4048 PGMPhysNemEnumPagesByState(pVM, pVCpu, NEM_WIN_PAGE_STATE_READABLE, nemR3WinWHvUnmapOnePageCallback, NULL); 4046 if ( cMappedPages >= pVM->nem.s.cMappedPagesMaxBeforeUnmap 4047 && pVM->nem.s.cMappedPagesMaxBeforeUnmap != 0) 4048 { 4049 PGMPhysNemEnumPagesByState(pVM, pVCpu, NEM_WIN_PAGE_STATE_READABLE, nemHCWinUnmapOnePageCallback, NULL); 4049 4050 Log(("nemHCWinRunGC: Unmapped all; cMappedPages=%u -> %u\n", cMappedPages, pVM->nem.s.cMappedPages)); 4050 4051 } 4051 # endif4052 //# endif 4052 4053 4053 4054 /*
Note:
See TracChangeset
for help on using the changeset viewer.