VirtualBox

Changeset 4938 in vbox


Ignore:
Timestamp:
Sep 21, 2007 7:24:28 AM (17 years ago)
Author:
vboxsync
Message:

1.5: Backported r24649: do not turn off interrupts in GIP timer handler

File:
1 edited

Legend:

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

    r4831 r4938  
    548548int VBOXCALL supdrvIOCtlFast(uintptr_t uIOCtl, PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession)
    549549{
    550     /*
    551      * Disable interrupts before invoking VMMR0Entry() because it ASSUMES
    552      * that interrupts are disabled. (We check the two prereqs after doing
    553      * this only to allow the compiler to optimize things better.)
    554      */
    555     int         rc;
    556     RTCCUINTREG uFlags = ASMGetFlags();
    557     ASMIntDisable();
    558 
     550    int rc;
     551
     552    /*
     553     * We check the two prereqs after doing this only to allow the compiler to optimize things better.
     554     */
    559555    if (RT_LIKELY(pSession->pVM && pDevExt->pfnVMMR0EntryFast))
    560556    {
     
    578574        rc = VERR_INTERNAL_ERROR;
    579575
    580     ASMSetFlags(uFlags);
    581576    return rc;
    582577}
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