Changeset 10732 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Jul 17, 2008 3:52:48 PM (17 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h
r10724 r10732 182 182 * The upper 16-bit is the major version, the the lower the minor version. 183 183 * When incompatible changes are made, the upper major number has to be changed. */ 184 #define SUPDRV_IOC_VERSION 0x0008000 0184 #define SUPDRV_IOC_VERSION 0x00080001 185 185 186 186 /** SUP_IOCTL_COOKIE. */ -
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r10724 r10732 212 212 strcpy(CookieReq.u.In.szMagic, SUPCOOKIE_MAGIC); 213 213 CookieReq.u.In.u32ReqVersion = SUPDRV_IOC_VERSION; 214 const uint32_t MinVersion = /*(SUPDRV_IOC_VERSION & 0xffff0000) == 0x000y0000215 ? 0x000 y000x216 : */SUPDRV_IOC_VERSION & 0xffff0000;214 const uint32_t MinVersion = (SUPDRV_IOC_VERSION & 0xffff0000) == 0x00080000 215 ? 0x00080001 216 : SUPDRV_IOC_VERSION & 0xffff0000; 217 217 CookieReq.u.In.u32MinVersion = MinVersion; 218 218 rc = suplibOsIOCtl(SUP_IOCTL_COOKIE, &CookieReq, SUP_IOCTL_COOKIE_SIZE);
Note:
See TracChangeset
for help on using the changeset viewer.