Changeset 18143 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Mar 23, 2009 3:10:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r18125 r18143 115 115 rc = PGMHandlerPhysicalPageTempOff(pVM, pRom->GCPhys, GCPhysFault & X86_PTE_PG_MASK); 116 116 AssertRC(rc); 117 break; /** @todo Must restart the instruction, not use the interpreter! */117 break; /** @todo Must edit the shadow PT and restart the instruction, not use the interpreter! */ 118 118 119 119 case PGMROMPROT_READ_ROM_WRITE_RAM: … … 939 939 * @param ppv Where to store the address corresponding to GCPhys. 940 940 * @param pLock Where to store the lock information that PGMPhysReleasePageMappingLock needs. 941 * 942 * @remarks The caller is responsible for dealing with access handlers. 943 * @todo Add an informational return code for pages with access handlers? 944 * 941 * 942 * @remarks The caller is responsible for dealing with access handlers. 943 * @todo Add an informational return code for pages with access handlers? 944 * 945 945 * @remark Avoid calling this API from within critical sections (other than the 946 946 * PGM one) because of the deadlock risk. External threads may need to … … 1047 1047 * This API should only be used for very short term, as it will consume 1048 1048 * scarse resources (R0 and GC) in the mapping cache. When you're done 1049 * with the page, call PGMPhysReleasePageMappingLock() ASAP to release it. 1050 * 1049 * with the page, call PGMPhysReleasePageMappingLock() ASAP to release it. 1050 * 1051 1051 * @returns VBox status code. 1052 1052 * @retval VINF_SUCCESS on success. … … 1059 1059 * @param pLock Where to store the lock information that PGMPhysReleasePageMappingLock needs. 1060 1060 * 1061 * @remarks The caller is responsible for dealing with access handlers. 1062 * @todo Add an informational return code for pages with access handlers? 1063 * 1061 * @remarks The caller is responsible for dealing with access handlers. 1062 * @todo Add an informational return code for pages with access handlers? 1063 * 1064 1064 * @remark Avoid calling this API from within critical sections (other than 1065 1065 * the PGM one) because of the deadlock risk. … … 1109 1109 if (RT_UNLIKELY(PGM_PAGE_IS_MMIO(pPage))) 1110 1110 rc = VERR_PGM_PHYS_PAGE_RESERVED; 1111 else 1111 else 1112 1112 { 1113 1113 /*
Note:
See TracChangeset
for help on using the changeset viewer.