VirtualBox

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


Ignore:
Timestamp:
Nov 1, 2019 8:44:44 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134380
Message:

SUPDrv: Export SUPR0PageMapKernel and SUPR0PageProtect. bugref:9218

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

Legend:

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

    r81605 r81623  
    225225    { "SUPR0PageAllocEx",                       (void *)(uintptr_t)SUPR0PageAllocEx },
    226226    { "SUPR0PageFree",                          (void *)(uintptr_t)SUPR0PageFree },
     227    { "SUPR0PageMapKernel",                     (void *)(uintptr_t)SUPR0PageMapKernel },
     228    { "SUPR0PageProtect",                       (void *)(uintptr_t)SUPR0PageProtect },
    227229    { "SUPR0Printf",                            (void *)(uintptr_t)SUPR0Printf },
    228230    { "SUPR0GetSessionGVM",                     (void *)(uintptr_t)SUPR0GetSessionGVM },
  • trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h

    r81369 r81623  
    223223 *          - Move SUP_IOCTL_FAST_DO_NOP and SUP_VMMR0_DO_NEM_RUN after NEM.
    224224 */
    225 #define SUPDRV_IOC_VERSION                              0x002d0000
     225#define SUPDRV_IOC_VERSION                              0x002d0001
    226226
    227227/** SUP_IOCTL_COOKIE. */
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r81071 r81623  
    276276        strcpy(CookieReq.u.In.szMagic, SUPCOOKIE_MAGIC);
    277277        CookieReq.u.In.u32ReqVersion = SUPDRV_IOC_VERSION;
    278         const uint32_t uMinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x00290000
    279                                    ? 0x00290009
     278        const uint32_t uMinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x002d0000
     279                                   ? 0x002d0001
    280280                                   : SUPDRV_IOC_VERSION & 0xffff0000;
    281281        CookieReq.u.In.u32MinVersion = uMinVersion;
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