VirtualBox

Ignore:
Timestamp:
Jun 23, 2009 6:09:33 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49005
Message:

SUPLib.cpp: removed outdated SUPPageAlloc/windows hack, SUPPageAlloc is not really used on windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r20860 r20861  
    843843    AssertReturn(cPages > 0, VERR_PAGE_COUNT_OUT_OF_RANGE);
    844844
    845 #ifdef RT_OS_WINDOWS
    846     /*
    847      * Temporary hack for windows until we've sorted out the
    848      * locked memory that doesn't need to be accessible from kernel space.
    849      */
    850     return SUPPageAllocLockedEx(cPages, ppvPages, NULL);
    851 #else
    852845    /*
    853846     * Call OS specific worker.
    854847     */
    855848    return suplibOsPageAlloc(&g_supLibData, cPages, ppvPages);
    856 #endif
    857849}
    858850
     
    866858    AssertReturn(cPages > 0, VERR_PAGE_COUNT_OUT_OF_RANGE);
    867859
    868 #ifdef RT_OS_WINDOWS
    869     /*
    870      * Temporary hack for windows, see above.
    871      */
    872     return SUPPageFreeLocked(pvPages, cPages);
    873 #else
    874860    /*
    875861     * Call OS specific worker.
    876862     */
    877863    return suplibOsPageFree(&g_supLibData, pvPages, cPages);
    878 #endif
    879864}
    880865
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette