VirtualBox

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


Ignore:
Timestamp:
Mar 30, 2007 8:30:47 PM (18 years ago)
Author:
vboxsync
Message:

test the minimum requirement and no the required one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c

    r1840 r1842  
    659659             */
    660660            if (    pIn->u32MinVersion > SUPDRVIOC_VERSION
    661                 ||  (pIn->u32ReqVersion & 0xffff0000) != (SUPDRVIOC_VERSION & 0xffff0000))
     661                ||  (pIn->u32MinVersion & 0xffff0000) != (SUPDRVIOC_VERSION & 0xffff0000))
    662662            {
    663663                OSDBGPRINT(("SUP_IOCTL_COOKIE: Version mismatch. Requested: %#x  Min: %#x  Current: %#x\n",
     
    675675            /*
    676676             * Fill in return data and be gone.
     677             * N.B. The first one to change SUPDRVIOC_VERSION shall makes sure that
     678             *      u32SessionVersion <= u32ReqVersion!
    677679             */
    678680            /** @todo A more secure cookie negotiation? */
     
    680682            pOut->u32SessionCookie  = pSession->u32Cookie;
    681683            pOut->u32SessionVersion = SUPDRVIOC_VERSION;
    682             pOut->u32DriverVersion  = SUPDRVIOC_VERSION;
     684            pOut->u32DriverVersion  = SUPDRVIOC_VERSION; 
    683685            pOut->pSession          = pSession;
    684686            pOut->cFunctions        = sizeof(g_aFunctions) / sizeof(g_aFunctions[0]);
     
    28612863    /*
    28622864     * 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
    28642866     *      reserve some stack space for the interrupt forwarding.
    28652867     */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette