Changeset 1842 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Mar 30, 2007 8:30:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c
r1840 r1842 659 659 */ 660 660 if ( pIn->u32MinVersion > SUPDRVIOC_VERSION 661 || (pIn->u32 ReqVersion & 0xffff0000) != (SUPDRVIOC_VERSION & 0xffff0000))661 || (pIn->u32MinVersion & 0xffff0000) != (SUPDRVIOC_VERSION & 0xffff0000)) 662 662 { 663 663 OSDBGPRINT(("SUP_IOCTL_COOKIE: Version mismatch. Requested: %#x Min: %#x Current: %#x\n", … … 675 675 /* 676 676 * Fill in return data and be gone. 677 * N.B. The first one to change SUPDRVIOC_VERSION shall makes sure that 678 * u32SessionVersion <= u32ReqVersion! 677 679 */ 678 680 /** @todo A more secure cookie negotiation? */ … … 680 682 pOut->u32SessionCookie = pSession->u32Cookie; 681 683 pOut->u32SessionVersion = SUPDRVIOC_VERSION; 682 pOut->u32DriverVersion = SUPDRVIOC_VERSION; 684 pOut->u32DriverVersion = SUPDRVIOC_VERSION; 683 685 pOut->pSession = pSession; 684 686 pOut->cFunctions = sizeof(g_aFunctions) / sizeof(g_aFunctions[0]); … … 2861 2863 /* 2862 2864 * Call VMMR0Entry 2863 * We don't have to push the arguments here, but we have to 2865 * We don't have to push the arguments here, but we have top 2864 2866 * reserve some stack space for the interrupt forwarding. 2865 2867 */
Note:
See TracChangeset
for help on using the changeset viewer.