VirtualBox

Ignore:
Timestamp:
Sep 14, 2007 12:03:06 PM (17 years ago)
Author:
vboxsync
Message:

Disable interrupts before call the VMMR0 entrypoint.

File:
1 edited

Legend:

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

    r4755 r4792  
    11401140            PSUPCALLVMMR0_IN    pIn = (PSUPCALLVMMR0_IN)pvIn;
    11411141            PSUPCALLVMMR0_OUT   pOut = (PSUPCALLVMMR0_OUT)pvOut;
     1142            RTCCUINTREG         uFlags;
    11421143
    11431144            /*
     
    11681169             * Execute.
    11691170             */
     1171            uFlags = ASMGetFlags();
     1172            ASMIntDisable();
    11701173            pOut->rc = pDevExt->pfnVMMR0Entry(pIn->pVMR0, pIn->uOperation, (void *)pIn->pvArg); /** @todo address the pvArg problem! */
     1174            ASMSetFlags(uFlags);
    11711175            *pcbReturned = sizeof(*pOut);
    11721176            return 0;
     
    23692373            {
    23702374                *ppvR3 = RTR0MemObjAddressR3(Mem.MapObjR3);
     2375                dprintf(("SUPR0PageAlloc returned %p\n", *ppvR3));
    23712376                return 0;
    23722377            }
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