Changeset 20726 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jun 19, 2009 1:50:56 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48840
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/IOM.cpp
r20725 r20726 1471 1471 * Try register it with PGM and then insert it into the tree. 1472 1472 */ 1473 iomLock(pVM); 1474 iomR3FlushCache(pVM); 1473 1475 rc = PGMR3PhysMMIORegister(pVM, GCPhysStart, cbRange, 1474 1476 IOMR3MMIOHandler, pRange, … … 1477 1479 if (RT_SUCCESS(rc)) 1478 1480 { 1479 iomLock(pVM);1480 1481 if (RTAvlroGCPhysInsert(&pVM->iom.s.pTreesR3->MMIOTree, &pRange->Core)) 1481 1482 { … … 1483 1484 return VINF_SUCCESS; 1484 1485 } 1486 1487 /* bail out */ 1485 1488 iomUnlock(pVM); 1486 1487 /* bail out */1488 1489 DBGFR3Info(pVM, "mmio", NULL, NULL); 1489 1490 AssertMsgFailed(("This cannot happen!\n")); 1490 1491 rc = VERR_INTERNAL_ERROR; 1491 1492 } 1493 else 1494 iomUnlock(pVM); 1495 1492 1496 MMHyperFree(pVM, pRange); 1493 1497 }
Note:
See TracChangeset
for help on using the changeset viewer.