Changeset 50774 in vbox for trunk/src/VBox
- Timestamp:
- Mar 13, 2014 4:52:21 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92792
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVbva.cpp
r50754 r50774 1088 1088 uint32_t cbEl = sizeof (*pEl); 1089 1089 uint32_t cStoredPages = 1; 1090 pEl->iPage = cur; 1090 PFN_NUMBER next; 1091 pEl->iPage1 = (uint32_t)(cur & 0xfffff); 1092 pEl->iPage2 = (uint32_t)(cur >> 20); 1091 1093 --cPages; 1092 for ( ; cPages && cStoredPages < VBOXCMDVBVA_SYSMEMEL_CPAGES_MAX; --cPages, ++cStoredPages )1093 { 1094 PFN_NUMBERnext = MmGetMdlPfnArray(pMdl)[iPfn+cStoredPages];1094 for ( ; cPages && cStoredPages < VBOXCMDVBVA_SYSMEMEL_CPAGES_MAX; --cPages, ++cStoredPages, cur = next;) 1095 { 1096 next = MmGetMdlPfnArray(pMdl)[iPfn+cStoredPages]; 1095 1097 if (next != cur+1) 1096 1098 break; 1097 1098 cur = next;1099 ++cStoredPages;1100 --cPages;1101 1099 } 1102 1100
Note:
See TracChangeset
for help on using the changeset viewer.