VirtualBox

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


Ignore:
Timestamp:
Jun 27, 2014 9:37:17 AM (11 years ago)
Author:
vboxsync
Message:

SUPDrv-win.cpp: pvOutput is the equivalent to the UserBuffer, not pvInput.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp

    r51742 r51744  
    6767
    6868/** Enables the fast I/O control code path. */
    69 //@todo: Currently breaks guest SMP. Must be disabled until fixed.
    70 //#define VBOXDRV_WITH_FAST_IO
     69#define VBOXDRV_WITH_FAST_IO
    7170
    7271
     
    532531        && pSession->fUnrestricted == true)
    533532    {
    534         int rc = supdrvIOCtlFast(uCmd, (unsigned)(uintptr_t)pvInput/* VMCPU id */, pDevExt, pSession);
     533        int rc = supdrvIOCtlFast(uCmd, (unsigned)(uintptr_t)pvOutput /* VMCPU id */, pDevExt, pSession);
    535534        pIoStatus->Status      = RT_SUCCESS(rc) ? STATUS_SUCCESS : STATUS_INVALID_PARAMETER;
    536535        pIoStatus->Information = 0; /* Could be used to pass rc if we liked. */
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