VirtualBox

Changeset 88377 in vbox for trunk


Ignore:
Timestamp:
Apr 7, 2021 7:39:43 AM (4 years ago)
Author:
vboxsync
Message:

SUP: Fixed the quick-already-opened code path in supLoadModule introduced in r142743, need to set g_pvVMMR0. bugref:9937

File:
1 edited

Legend:

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

    r87700 r88377  
    767767        *ppvImageBase = (void *)OpenReq.u.Out.pvImageBase;
    768768        if (rc != VERR_MODULE_NOT_FOUND)
     769        {
     770            if (fIsVMMR0)
     771                g_pvVMMR0 = OpenReq.u.Out.pvImageBase;
     772            LogRel(("SUP: Opened %s (%s) at %#RKv%s.\n", pszModule, pszFilename, OpenReq.u.Out.pvImageBase,
     773                    OpenReq.u.Out.fNativeLoader ? " loaded by the native ring-0 loader" : ""));
     774#ifdef RT_OS_WINDOWS
     775            LogRel(("SUP: windbg> .reload /f %s=%#RKv\n", pszFilename, OpenReq.u.Out.pvImageBase));
     776#endif
    769777            return rc;
     778        }
    770779    }
    771780
Note: See TracChangeset for help on using the changeset viewer.

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