VirtualBox

Changeset 64088 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Sep 29, 2016 11:10:42 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
111039
Message:

SUPR3PageAllocEx: don't assert if suplib isn't initialized (for rtMemSaferSupR3AllocPages).

File:
1 edited

Legend:

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

    r62877 r64088  
    11121112    }
    11131113
     1114    /* Check that we've got a kernel connection so rtMemSaferSupR3AllocPages
     1115       can do fallback without first having to hit assertions. */
     1116    if (g_supLibData.hDevice != SUP_HDEVICE_NIL)
     1117    { /* likely */ }
     1118    else
     1119        return VERR_WRONG_ORDER;
     1120
    11141121    /*
    11151122     * Use fallback for non-R0 mapping?
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