- Timestamp:
- Jan 17, 2007 2:28:38 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/PATM/PATMSSM.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATMSSM.cpp
r94 r101 64 64 * @returns VBox status code. 65 65 * @param pNode Current node 66 * @param pcPatches Pointer to patch counter 66 * @param pcPatches Pointer to patch counter (uint32_t) 67 67 */ 68 68 static DECLCALLBACK(int) patmCountLeafPV(PAVLPVNODECORE pNode, void *pcPatches) … … 71 71 return VINF_SUCCESS; 72 72 } 73 #endif74 73 75 74 /** … … 80 79 * @returns VBox status code. 81 80 * @param pNode Current node 82 * @param pcPatches Pointer to patch counter 81 * @param pcPatches Pointer to patch counter (uint32_t) 83 82 */ 84 83 static DECLCALLBACK(int) patmCountLeaf(PAVLU32NODECORE pNode, void *pcPatches) … … 87 86 return VINF_SUCCESS; 88 87 } 88 #endif /* VBOX_STRICT */ 89 89 90 90 /** … … 189 189 */ 190 190 #ifdef VBOX_STRICT 191 int nrFixupRecs = 0;191 uint32_t nrFixupRecs = 0; 192 192 RTAvlPVDoWithAll(&pPatch->patch.FixupTree, true, patmCountLeafPV, &nrFixupRecs); 193 AssertMsg( nrFixupRecs == pPatch->patch.nrFixups, ("Fixup inconsistency! counted %d vs %d\n", nrFixupRecs, pPatch->patch.nrFixups));193 AssertMsg((int32_t)nrFixupRecs == pPatch->patch.nrFixups, ("Fixup inconsistency! counted %d vs %d\n", nrFixupRecs, pPatch->patch.nrFixups)); 194 194 #endif 195 195 RTAvlPVDoWithAll(&pPatch->patch.FixupTree, true, patmSaveFixupRecords, pVM); 196 196 197 197 #ifdef VBOX_STRICT 198 int nrLookupRecords = 0;198 uint32_t nrLookupRecords = 0; 199 199 RTAvlU32DoWithAll(&pPatch->patch.Patch2GuestAddrTree, true, patmCountLeaf, &nrLookupRecords); 200 200 Assert(nrLookupRecords == pPatch->patch.nrPatch2GuestRecs);
Note:
See TracChangeset
for help on using the changeset viewer.

