Changeset 81454 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 22, 2019 4:04:00 PM (5 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGM.cpp
r81150 r81454 2276 2276 pHlp->pfnPrintf(pHlp, " %RGp-%RGp %-20s %s\n", 2277 2277 pCur->GCPhys + iFirstPage * X86_PAGE_SIZE, 2278 pCur->GCPhys + iPage * X86_PAGE_SIZE ,2278 pCur->GCPhys + iPage * X86_PAGE_SIZE - 1, 2279 2279 pszType, pszMore); 2280 2280 else 2281 2281 pHlp->pfnPrintf(pHlp, " %RGp-%RGp %s\n", 2282 2282 pCur->GCPhys + iFirstPage * X86_PAGE_SIZE, 2283 pCur->GCPhys + iPage * X86_PAGE_SIZE ,2283 pCur->GCPhys + iPage * X86_PAGE_SIZE - 1, 2284 2284 pszType); 2285 2285 -
trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp
r81436 r81454 4059 4059 AssertPtrReturn(pvBinary, VERR_INVALID_PARAMETER); 4060 4060 AssertPtrReturn(pszDesc, VERR_INVALID_POINTER); 4061 AssertReturn(!(fFlags & ~ (PGMPHYS_ROM_FLAGS_SHADOWED | PGMPHYS_ROM_FLAGS_PERMANENT_BINARY)), VERR_INVALID_PARAMETER);4061 AssertReturn(!(fFlags & ~PGMPHYS_ROM_FLAGS_VALID_MASK), VERR_INVALID_PARAMETER); 4062 4062 VM_ASSERT_STATE_RETURN(pVM, VMSTATE_CREATING, VERR_VM_INVALID_VM_STATE); 4063 4063 … … 4375 4375 * @param cbBinary The size of the binary data pvBinary points to. 4376 4376 * This must be less or equal to @a cb. 4377 * @param fFlags Mask of flags. PGMPHYS_ROM_FLAGS_SHADOWED 4378 * and/or PGMPHYS_ROM_FLAGS_PERMANENT_BINARY. 4377 * @param fFlags Mask of flags, PGMPHYS_ROM_FLAGS_XXX. 4379 4378 * @param pszDesc Pointer to description string. This must not be freed. 4380 4379 * -
trunk/src/VBox/VMM/VMMR3/PGMSavedState.cpp
r80673 r81454 332 332 { 333 333 for (PPGMROMRANGE pRom = pVM->pgm.s.pRomRangesR3; pRom; pRom = pRom->pNextR3) 334 AssertLogRelMsg(pRom->idSavedState != UINT8_MAX, 335 ("The \"%s\" ROM was not found in the saved state. Probably due to some misconfiguration\n", 336 pRom->pszDesc)); 334 if (pRom->idSavedState != UINT8_MAX) 335 { /* likely */ } 336 else if (pRom->fFlags & PGMPHYS_ROM_FLAGS_MAYBE_MISSING_FROM_STATE) 337 LogRel(("PGM: The '%s' ROM was not found in the saved state, but it is marked as maybe-missing, so that's probably okay.\n", 338 pRom->pszDesc)); 339 else 340 AssertLogRelMsg(pRom->idSavedState != UINT8_MAX, 341 ("The '%s' ROM was not found in the saved state. Probably due to some misconfiguration\n", 342 pRom->pszDesc)); 337 343 return VINF_SUCCESS; /* the end */ 338 344 }
Note:
See TracChangeset
for help on using the changeset viewer.