VirtualBox

Ignore:
Timestamp:
Nov 5, 2008 2:14:11 PM (16 years ago)
Author:
vboxsync
Message:

SUP: pass idCpu up on all platforms (save OS/2), handle it in ring-0 on solaris, linux and freebsd.

Location:
trunk/src/VBox/HostDrivers/Support/solaris
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c

    r13863 r13865  
    664664        ||  Cmd == SUP_IOCTL_FAST_DO_NOP)
    665665    {
    666         *pVal = supdrvIOCtlFast(Cmd, 0 /* @todo VMCPU id. */, &g_DevExt, pSession);
     666        *pVal = supdrvIOCtlFast(Cmd, pArgs, &g_DevExt, pSession);
    667667        return 0;
    668668    }
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPLib-solaris.cpp

    r13858 r13865  
    160160
    161161
    162 int suplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction, unsigned idCpu)
     162int suplibOsIOCtlFast(PSUPLIBDATA pThis, uintptr_t uFunction, uintptr_t idCpu)
    163163{
    164     int rc = ioctl(pThis->hDevice, uFunction, NULL);
     164    int rc = ioctl(pThis->hDevice, uFunction, idCpu);
    165165    if (rc == -1)
    166166        rc = errno;
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