VirtualBox

Changeset 72693 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 26, 2018 12:36:47 PM (7 years ago)
Author:
vboxsync
Message:

SUPDrv: Added SUPR0GetDefaultLogInstanceEx and SUPR0GetDefaultLogRelInstanceEx as extra exports of RTLogGetDefaultInstanceEx and RTLogRelGetDefaultInstanceEx so the former ones can be locally overriden. This is a prep to do ring-0 release logging to VBox.log by default. Minor IOC version increase.

Location:
trunk/src/VBox/HostDrivers/Support
Files:
3 edited

Legend:

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

    r71889 r72693  
    277277    { "RTLogGetDefaultInstance",                (void *)(uintptr_t)RTLogGetDefaultInstance },
    278278    { "RTLogGetDefaultInstanceEx",              (void *)(uintptr_t)RTLogGetDefaultInstanceEx },
     279    { "SUPR0GetDefaultLogInstanceEx",           (void *)(uintptr_t)RTLogGetDefaultInstanceEx },
    279280    { "RTLogLoggerExV",                         (void *)(uintptr_t)RTLogLoggerExV },
    280281    { "RTLogPrintfV",                           (void *)(uintptr_t)RTLogPrintfV },
    281282    { "RTLogRelGetDefaultInstance",             (void *)(uintptr_t)RTLogRelGetDefaultInstance },
    282283    { "RTLogRelGetDefaultInstanceEx",           (void *)(uintptr_t)RTLogRelGetDefaultInstanceEx },
     284    { "SUPR0GetDefaultLogRelInstanceEx",        (void *)(uintptr_t)RTLogRelGetDefaultInstanceEx },
    283285    { "RTLogSetDefaultInstanceThread",          (void *)(uintptr_t)RTLogSetDefaultInstanceThread },
    284286    { "RTMemAllocExTag",                        (void *)(uintptr_t)RTMemAllocExTag },
  • trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h

    r71198 r72693  
    224224 * @remarks 0x002a0000 is used by 5.1. The next version number must be 0x002b0000.
    225225 */
    226 #define SUPDRV_IOC_VERSION                              0x00290004
     226#define SUPDRV_IOC_VERSION                              0x00290005
    227227
    228228/** SUP_IOCTL_COOKIE. */
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r72326 r72693  
    277277        CookieReq.u.In.u32ReqVersion = SUPDRV_IOC_VERSION;
    278278        const uint32_t uMinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x00290000
    279                                    ? 0x00290004
     279                                   ? 0x00290005
    280280                                   : SUPDRV_IOC_VERSION & 0xffff0000;
    281281        CookieReq.u.In.u32MinVersion = uMinVersion;
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