Changeset 10805 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Jul 22, 2008 9:44:31 AM (16 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.c
r10724 r10805 1116 1116 /* execute */ 1117 1117 if (RT_LIKELY(pDevExt->pfnVMMR0EntryEx)) 1118 pReq->Hdr.rc = pDevExt->pfnVMMR0EntryEx(pReq->u.In.pVMR0, pReq->u.In.uOperation, NULL, pReq->u.In.u64Arg );1118 pReq->Hdr.rc = pDevExt->pfnVMMR0EntryEx(pReq->u.In.pVMR0, pReq->u.In.uOperation, NULL, pReq->u.In.u64Arg, pSession); 1119 1119 else 1120 1120 pReq->Hdr.rc = VERR_WRONG_ORDER; … … 1130 1130 /* execute */ 1131 1131 if (RT_LIKELY(pDevExt->pfnVMMR0EntryEx)) 1132 pReq->Hdr.rc = pDevExt->pfnVMMR0EntryEx(pReq->u.In.pVMR0, pReq->u.In.uOperation, pVMMReq, pReq->u.In.u64Arg );1132 pReq->Hdr.rc = pDevExt->pfnVMMR0EntryEx(pReq->u.In.pVMR0, pReq->u.In.uOperation, pVMMReq, pReq->u.In.u64Arg, pSession); 1133 1133 else 1134 1134 pReq->Hdr.rc = VERR_WRONG_ORDER; -
trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h
r10732 r10805 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 0x000 80001184 #define SUPDRV_IOC_VERSION 0x00090000 185 185 186 186 /** SUP_IOCTL_COOKIE. */ -
trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h
r10724 r10805 617 617 DECLR0CALLBACKMEMBER(void, pfnVMMR0EntryFast, (PVM pVM, unsigned uOperation)); 618 618 /** VMMR0EntryEx() pointer. */ 619 DECLR0CALLBACKMEMBER(int, pfnVMMR0EntryEx, (PVM pVM, unsigned uOperation, PSUPVMMR0REQHDR pReq, uint64_t u64Arg ));619 DECLR0CALLBACKMEMBER(int, pfnVMMR0EntryEx, (PVM pVM, unsigned uOperation, PSUPVMMR0REQHDR pReq, uint64_t u64Arg, PSUPDRVSESSION pSession)); 620 620 621 621 /** Linked list of loaded code. */ -
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r10732 r10805 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) == 0x00080000214 const uint32_t MinVersion = /*(SUPDRV_IOC_VERSION & 0xffff0000) == 0x00080000 215 215 ? 0x00080001 216 : SUPDRV_IOC_VERSION & 0xffff0000;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.