VirtualBox

Changeset 91447 in vbox for trunk/src


Ignore:
Timestamp:
Sep 28, 2021 8:05:04 PM (3 years ago)
Author:
vboxsync
Message:

SUP: Export RTR0MemObjAllocLargeTag from SUPDrv, require new minor IOC version. bugref:5324

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

Legend:

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

    r91037 r91447  
    374374    { "RTR0MemObjAddressR3",                    (void *)(uintptr_t)RTR0MemObjAddressR3 },
    375375    { "RTR0MemObjAllocContTag",                 (void *)(uintptr_t)RTR0MemObjAllocContTag },
     376    { "RTR0MemObjAllocLargeTag",                (void *)(uintptr_t)RTR0MemObjAllocLargeTag },
    376377    { "RTR0MemObjAllocLowTag",                  (void *)(uintptr_t)RTR0MemObjAllocLowTag },
    377378    { "RTR0MemObjAllocPageTag",                 (void *)(uintptr_t)RTR0MemObjAllocPageTag },
  • trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h

    r91037 r91447  
    223223 *          - nothing
    224224 */
    225 #define SUPDRV_IOC_VERSION                              0x00310002
     225#define SUPDRV_IOC_VERSION                              0x00310003
    226226
    227227/** SUP_IOCTL_COOKIE. */
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r91037 r91447  
    278278        strcpy(CookieReq.u.In.szMagic, SUPCOOKIE_MAGIC);
    279279        CookieReq.u.In.u32ReqVersion = SUPDRV_IOC_VERSION;
    280         const uint32_t uMinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x00300000
    281                                    ? 0x00310002
     280        const uint32_t uMinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x00310000
     281                                   ? 0x00310003
    282282                                   : SUPDRV_IOC_VERSION & 0xffff0000;
    283283        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