Changeset 41898 in vbox for trunk/src/VBox
- Timestamp:
- Jun 23, 2012 6:44:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PATM.cpp
r41897 r41898 4678 4678 { 4679 4679 /* close the gap between the remaining pointers. */ 4680 uint32_t c After = pPatchPage->cCount - i - 1;4681 if ( cAfter)4682 memmove(&pPatchPage->papPatch[i], &pPatchPage->papPatch[i + 1], sizeof(pPatchPage->papPatch[i]) * cAfter);4683 pPatchPage->papPatch[ --pPatchPage->cCount] = NULL;4680 uint32_t cNew = --pPatchPage->cCount; 4681 if (i < cNew) 4682 pPatchPage->papPatch[i] = pPatchPage->papPatch[cNew]; 4683 pPatchPage->papPatch[cNew] = NULL; 4684 4684 return VINF_SUCCESS; 4685 4685 }
Note:
See TracChangeset
for help on using the changeset viewer.