VirtualBox

Ignore:
Timestamp:
Aug 21, 2009 1:27:13 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51334
Message:

Solaris/Preemption: #4147, #4197: Raise PIL for fastcall, check PIL in IsPreemptEnabled.

File:
1 edited

Legend:

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

    r21605 r22387  
    4747#include <sys/file.h>
    4848#include <sys/priv_names.h>
     49#include <sys/spl.h>
    4950#undef u /* /usr/include/sys/user.h:249:1 is where this is defined to (curproc->p_user). very cool. */
    5051
     
    677678        ||  Cmd == SUP_IOCTL_FAST_DO_NOP)
    678679    {
     680        int SavePil = splr(ipltospl(DISP_LEVEL));
    679681        *pVal = supdrvIOCtlFast(Cmd, pArgs, &g_DevExt, pSession);
     682        splx(SavePil);
    680683        return 0;
    681684    }
Note: See TracChangeset for help on using the changeset viewer.

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