Changeset 13415 in vbox
- Timestamp:
- Oct 20, 2008 11:22:47 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38171
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/IOM.cpp
r13373 r13415 1422 1422 */ 1423 1423 rc = PGMR3PhysMMIORegister(pVM, GCPhysStart, cbRange, 1424 IOMR3MMIOHandler, pRange, 1425 pVM->iom.s.pfnMMIOHandlerR0, MMHyperR3ToR0(pVM, pRange), 1426 pVM->iom.s.pfnMMIOHandlerRC, MMHyperR3ToRC(pVM, pRange), pszDesc); 1427 1424 IOMR3MMIOHandler, pRange, 1425 pVM->iom.s.pfnMMIOHandlerR0, MMHyperR3ToR0(pVM, pRange), 1426 pVM->iom.s.pfnMMIOHandlerRC, MMHyperR3ToRC(pVM, pRange), pszDesc); 1428 1427 if (RT_SUCCESS(rc)) 1429 1428 { … … 1605 1604 while (GCPhys <= GCPhysLast && GCPhys >= GCPhysStart) 1606 1605 { 1607 int rc;1608 1606 PIOMMMIORANGE pRange = (PIOMMMIORANGE)RTAvlroGCPhysRemove(&pVM->iom.s.pTreesR3->MMIOTree, GCPhys); 1609 1607 Assert(pRange); … … 1611 1609 1612 1610 /* remove it from PGM */ 1613 rc = PGMR3PhysMMIODeregister(pVM, GCPhys, pRange->cb); 1611 int rc = PGMR3PhysMMIODeregister(pVM, GCPhys, pRange->cb); 1612 AssertRC(rc); 1614 1613 1615 1614 /* advance and free. */ -
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r13393 r13415 899 899 } 900 900 901 901 902 /** 902 903 * Temporarily turns off the access monitoring of a page within an MMIO … … 932 933 933 934 AssertReturn(pCur->enmType == PGMPHYSHANDLERTYPE_MMIO, VERR_ACCESS_DENIED); 935 /** @todo r=bird: This totally breaks the new PGMPAGE management. Will probably 936 * have to require that the current page is the zero page... Require 937 * GCPhysPageRemap to be a MMIO2 page might help matters because those 938 * pages aren't managed dynamically (at least not yet). 939 * VBOX_WITH_NEW_PHYS_CODE TODO! */ 934 940 935 941 PPGMPAGE pPageRemap; -
trunk/src/VBox/VMM/VMMAll/PGMAllShw.h
r13393 r13415 359 359 { 360 360 pPT->a[iPTE].u = (pPT->a[iPTE].u & (fMask | SHW_PTE_PG_MASK)) | (fFlags & ~SHW_PTE_PG_MASK); 361 /** @todo r=bird: I think this may break assumptions in page pool GCPhys 362 * tracking, and I seems to recall putting it here to prevent API users from 363 * making anything !P. The assertion is kind of useless now, as it 364 * won't hit anything any longer... */ 361 365 Assert(pPT->a[iPTE].n.u1Present || !(fMask & X86_PTE_P)); 362 366 # if PGM_SHW_TYPE == PGM_TYPE_EPT
Note:
See TracChangeset
for help on using the changeset viewer.