Changeset 14376 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Nov 19, 2008 7:17:18 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/PGMR0DynMap.cpp
r14374 r14376 636 636 /* close the set */ 637 637 uint32_t i = pVCpu->pgm.s.AutoSet.cEntries; 638 AssertMsg(i <= RT_ELEMENTS(pVCpu->pgm.s.AutoSet.aEntries), ("% u\n", i));638 AssertMsg(i <= RT_ELEMENTS(pVCpu->pgm.s.AutoSet.aEntries), ("%#x (%u)\n", i, i)); 639 639 pVCpu->pgm.s.AutoSet.cEntries = PGMMAPSET_CLOSED; 640 640 … … 680 680 PPGMMAPSET pSet = &pVCpu->pgm.s.AutoSet; 681 681 uint32_t i = pVCpu->pgm.s.AutoSet.cEntries; 682 AssertMsg(i <= RT_ELEMENTS(pVCpu->pgm.s.AutoSet.aEntries), ("% u\n", i));682 AssertMsg(i <= RT_ELEMENTS(pVCpu->pgm.s.AutoSet.aEntries), ("%#x (%u)\n", i, i)); 683 683 if (i != 0 && RT_LIKELY(i <= RT_ELEMENTS(pVCpu->pgm.s.AutoSet.aEntries))) 684 684 { … … 744 744 * Validate state. 745 745 */ 746 AssertMsgReturn(pVM->pgm.s.pvR0DynMapUsed == g_pPGMR0DynMap, 747 ("%p != %p\n", pVM->pgm.s.pvR0DynMapUsed, g_pPGMR0DynMap), 748 VERR_ACCESS_DENIED); 746 749 AssertMsg(!(HCPhys & PAGE_OFFSET_MASK), ("HCPhys=%RHp\n", HCPhys)); 747 750 PVMCPU pVCpu = VMMGetCpu(pVM); … … 749 752 AssertPtrReturn(pVCpu, VERR_INTERNAL_ERROR); 750 753 AssertMsgReturn(pSet->cEntries > RT_ELEMENTS(pSet->aEntries), 751 ("%#x \n", pSet->cEntries), VERR_WRONG_ORDER);754 ("%#x (%u)\n", pSet->cEntries, pSet->cEntries), VERR_WRONG_ORDER); 752 755 753 756 /* … … 809 812 } 810 813 811
Note:
See TracChangeset
for help on using the changeset viewer.