VirtualBox

Changeset 22438 in vbox for trunk


Ignore:
Timestamp:
Aug 25, 2009 2:34:22 PM (15 years ago)
Author:
vboxsync
Message:

SUPDrv-solaris.c: splr/splx is now done by RTThreadPreemptDisable/Restore.

File:
1 edited

Legend:

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

    r22387 r22438  
    4747#include <sys/file.h>
    4848#include <sys/priv_names.h>
    49 #include <sys/spl.h>
    5049#undef u /* /usr/include/sys/user.h:249:1 is where this is defined to (curproc->p_user). very cool. */
    5150
     
    678677        ||  Cmd == SUP_IOCTL_FAST_DO_NOP)
    679678    {
    680         int SavePil = splr(ipltospl(DISP_LEVEL));
    681679        *pVal = supdrvIOCtlFast(Cmd, pArgs, &g_DevExt, pSession);
    682         splx(SavePil);
    683680        return 0;
    684681    }
     
    711708    int         rc;
    712709    uint32_t    cbBuf = 0;
    713     union 
     710    union
    714711    {
    715712        SUPREQHDR   Hdr;
     
    774771     */
    775772    rc = supdrvIOCtl(iCmd, &g_DevExt, pSession, pHdr);
    776    
     773
    777774    /*
    778775     * Copy ioctl data and output buffer back to user space.
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