- Timestamp:
- Jul 30, 2021 12:37:38 AM (3 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 3 edited
-
SUPDrv.cpp (modified) (1 diff)
-
SUPDrvIOC.h (modified) (1 diff)
-
SUPLib.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp
r87746 r90419 449 449 { "RTThreadPreemptIsPossible", (void *)(uintptr_t)RTThreadPreemptIsPossible }, 450 450 { "RTThreadPreemptRestore", (void *)(uintptr_t)RTThreadPreemptRestore }, 451 { "RTThreadQueryTerminationStatus", (void *)(uintptr_t)RTThreadQueryTerminationStatus }, 451 452 { "RTThreadSelf", (void *)(uintptr_t)RTThreadSelf }, 452 453 { "RTThreadSelfName", (void *)(uintptr_t)RTThreadSelfName }, -
trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h
r88215 r90419 223 223 * - Remove pvVMMR0 from SUPLDRLOAD. 224 224 */ 225 #define SUPDRV_IOC_VERSION 0x0030000 1225 #define SUPDRV_IOC_VERSION 0x00300002 226 226 227 227 /** SUP_IOCTL_COOKIE. */ -
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r87700 r90419 278 278 strcpy(CookieReq.u.In.szMagic, SUPCOOKIE_MAGIC); 279 279 CookieReq.u.In.u32ReqVersion = SUPDRV_IOC_VERSION; 280 const uint32_t uMinVersion = /*(SUPDRV_IOC_VERSION & 0xffff0000) == 0x002d0000281 ? 0x00 2d0002282 : */SUPDRV_IOC_VERSION & 0xffff0000;280 const uint32_t uMinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x00300000 281 ? 0x00300002 282 : SUPDRV_IOC_VERSION & 0xffff0000; 283 283 CookieReq.u.In.u32MinVersion = uMinVersion; 284 284 rc = suplibOsIOCtl(&g_supLibData, SUP_IOCTL_COOKIE, &CookieReq, SUP_IOCTL_COOKIE_SIZE);
Note:
See TracChangeset
for help on using the changeset viewer.

