Changeset 64327 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Oct 19, 2016 5:42:18 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 111406
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r64323 r64327 124 124 125 125 /** 126 * Creates a nphysical access handler.126 * Creates a physical access handler. 127 127 * 128 128 * @returns VBox status code. … … 194 194 195 195 /** 196 * Register a access handler for a physical range.196 * Duplicates a physical access handler. 197 197 * 198 198 * @returns VBox status code. 199 199 * @retval VINF_SUCCESS when successfully installed. 200 * @retval VINF_PGM_GCPHYS_ALIASED when the shadow PTs could be updated because 201 * the guest page aliased or/and mapped by multiple PTs. A CR3 sync has been 202 * flagged together with a pool clearing. 203 * @retval VERR_PGM_HANDLER_PHYSICAL_CONFLICT if the range conflicts with an existing 204 * one. A debug assertion is raised. 200 * 201 * @param pVM The cross context VM structure. 202 * @param pPhysHandlerSrc The source handler to duplicate 203 * @param ppPhysHandler Where to return the access handler structure on 204 * success. 205 */ 206 int pgmHandlerPhysicalExDup(PVM pVM, PPGMPHYSHANDLER pPhysHandlerSrc, PPGMPHYSHANDLER *ppPhysHandler) 207 { 208 return pgmHandlerPhysicalExCreate(pVM, 209 pPhysHandlerSrc->hType, 210 pPhysHandlerSrc->pvUserR3, 211 pPhysHandlerSrc->pvUserR0, 212 pPhysHandlerSrc->pvUserRC, 213 pPhysHandlerSrc->pszDesc, 214 ppPhysHandler); 215 } 216 217 218 /** 219 * Register a access handler for a physical range. 220 * 221 * @returns VBox status code. 222 * @retval VINF_SUCCESS when successfully installed. 205 223 * 206 224 * @param pVM The cross context VM structure.
Note:
See TracChangeset
for help on using the changeset viewer.