Changeset 84854 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jun 16, 2020 5:25:11 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r84826 r84854 142 142 VM_ASSERT_EMT0_RETURN(pVM, VERR_VM_THREAD_NOT_EMT); 143 143 VM_ASSERT_STATE_RETURN(pVM, VMSTATE_CREATING, VERR_VM_INVALID_VM_STATE); 144 145 if (pDevIns->iInstance > 0) 146 { 147 pszDesc = MMR3HeapAPrintf(pVM, MM_TAG_PDM_DEVICE_DESC, "%s [%u]", pszDesc, pDevIns->iInstance); 148 AssertReturn(pszDesc, VERR_NO_STR_MEMORY); 149 } 144 150 145 151 /* HACK ALERT! Round the size up to page size. The PCI bus should do something similar before mapping it. */
Note:
See TracChangeset
for help on using the changeset viewer.