Changeset 20861 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Jun 23, 2009 6:09:33 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49005
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r20860 r20861 843 843 AssertReturn(cPages > 0, VERR_PAGE_COUNT_OUT_OF_RANGE); 844 844 845 #ifdef RT_OS_WINDOWS846 /*847 * Temporary hack for windows until we've sorted out the848 * locked memory that doesn't need to be accessible from kernel space.849 */850 return SUPPageAllocLockedEx(cPages, ppvPages, NULL);851 #else852 845 /* 853 846 * Call OS specific worker. 854 847 */ 855 848 return suplibOsPageAlloc(&g_supLibData, cPages, ppvPages); 856 #endif857 849 } 858 850 … … 866 858 AssertReturn(cPages > 0, VERR_PAGE_COUNT_OUT_OF_RANGE); 867 859 868 #ifdef RT_OS_WINDOWS869 /*870 * Temporary hack for windows, see above.871 */872 return SUPPageFreeLocked(pvPages, cPages);873 #else874 860 /* 875 861 * Call OS specific worker. 876 862 */ 877 863 return suplibOsPageFree(&g_supLibData, pvPages, cPages); 878 #endif879 864 } 880 865
Note:
See TracChangeset
for help on using the changeset viewer.