VirtualBox

Changeset 45700 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Apr 24, 2013 2:17:15 PM (12 years ago)
Author:
vboxsync
Message:

Mac OS X additions: VBoxGuest: fix VMM dev interrupt handeling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-darwin.cpp

    r45463 r45700  
    649649 */
    650650
     651/**
     652 * Just a plug
     653 */
    651654static void
    652655interruptHandler(OSObject *pOwner, IOInterruptEventSource *pSrc, int cInts)
    653656{
     657    NOREF(pOwner);
     658    NOREF(pSrc);
     659    NOREF(cInts);
     660}
     661
     662/**
     663 * Callback triggered when interrupt occurs.
     664 */
     665static bool
     666checkForInterrupt(OSObject *pOwner, IOFilterInterruptEventSource *pSrc)
     667{
    654668    if (!pSrc)
    655         return;
     669        return false;
    656670
    657671    bool fTaken = VBoxGuestCommonISR(&g_DevExt);
    658672    if (!fTaken)
    659673        printf("VBoxGuestCommonISR error\n");
    660 }
    661 
    662 static bool
    663 checkForInterrupt(OSObject *pOwner, IOFilterInterruptEventSource *pSrc)
    664 {
    665     if (!pSrc)
    666         return false;
    667 
    668     return true;
     674
     675    return fTaken;
    669676}
    670677
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