- Timestamp:
- Dec 12, 2008 1:59:23 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/PGMR0DynMap.cpp
r15346 r15347 1690 1690 * @param HCPhys The physical address of the page. 1691 1691 * @param ppv Where to store the address of the mapping on success. 1692 * 1693 * @remarks This is a very hot path. 1692 1694 */ 1693 1695 int pgmR0DynMapHCPageCommon(PVM pVM, PPGMMAPSET pSet, RTHCPHYS HCPhys, void **ppv) … … 1804 1806 1805 1807 1806 /* documented elsewhere - a bit of a mess. 1807 This is a VERY hot path. */ 1808 /* documented elsewhere - a bit of a mess. */ 1808 1809 VMMDECL(int) PGMDynMapHCPage(PVM pVM, RTHCPHYS HCPhys, void **ppv) 1809 1810 { … … 1909 1910 LogRel(("Test #2\n")); 1910 1911 ASMIntDisable(); 1912 PGMDynMapMigrateAutoSet(&pVM->aCpus[0]); 1911 1913 for (i = 0 ; i < UINT16_MAX*2 - 1 && RT_SUCCESS(rc) && pv2 == pv; i++) 1912 1914 { … … 1946 1948 LogRel(("Test #3\n")); 1947 1949 ASMIntDisable(); 1950 PGMDynMapMigrateAutoSet(&pVM->aCpus[0]); 1948 1951 pv2 = NULL; 1949 1952 for (i = 0 ; i < RT_ELEMENTS(pSet->aEntries) - 5 && RT_SUCCESS(rc) && pv2 != pv; i++) … … 1973 1976 LogRel(("Test #4\n")); 1974 1977 ASMIntDisable(); 1978 PGMDynMapMigrateAutoSet(&pVM->aCpus[0]); 1975 1979 for (i = 0 ; i < RT_ELEMENTS(pSet->aEntries) + 2; i++) 1976 1980 { … … 2017 2021 LogRel(("Test #5\n")); 2018 2022 ASMIntDisable(); 2023 PGMDynMapMigrateAutoSet(&pVM->aCpus[0]); 2019 2024 RTHCPHYS HCPhysPT = RTR0MemObjGetPagePhysAddr(pThis->pSegHead->ahMemObjPTs[0], 0); 2020 2025 rc = PGMDynMapHCPage(pVM, HCPhysPT, &pv);
Note:
See TracChangeset
for help on using the changeset viewer.