Changeset 91017 in vbox
- Timestamp:
- Aug 31, 2021 1:26:45 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp
r91016 r91017 4734 4734 pUnmappedChunk->pv = NULL; 4735 4735 pUnmappedChunk->Core.Key = UINT32_MAX; 4736 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE4737 4736 MMR3HeapFree(pUnmappedChunk); 4738 #else4739 MMR3UkHeapFree(pVM, pUnmappedChunk, MM_TAG_PGM_CHUNK_MAPPING);4740 #endif4741 4737 pVM->pgm.s.ChunkR3Map.c--; 4742 4738 pVM->pgm.s.cUnmappedChunks++; … … 4817 4813 * Allocate a new tracking structure first. 4818 4814 */ 4819 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE4820 4815 PPGMCHUNKR3MAP pChunk = (PPGMCHUNKR3MAP)MMR3HeapAllocZ(pVM, MM_TAG_PGM_CHUNK_MAPPING, sizeof(*pChunk)); 4821 #else4822 PPGMCHUNKR3MAP pChunk = (PPGMCHUNKR3MAP)MMR3UkHeapAllocZ(pVM, MM_TAG_PGM_CHUNK_MAPPING, sizeof(*pChunk), NULL);4823 #endif4824 4816 AssertReturn(pChunk, VERR_NO_MEMORY); 4825 4817 pChunk->Core.Key = idChunk; … … 4899 4891 * should probably restrict ourselves on linux. */ 4900 4892 AssertRC(rc); 4901 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE4902 4893 MMR3HeapFree(pChunk); 4903 #else4904 MMR3UkHeapFree(pVM, pChunk, MM_TAG_PGM_CHUNK_MAPPING);4905 #endif4906 4894 pChunk = NULL; 4907 4895 }
Note:
See TracChangeset
for help on using the changeset viewer.

