VirtualBox

Changeset 10660 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 15, 2008 2:03:30 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33370
Message:

Implemented apicHasPendingIrq.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevAPIC.cpp

    r10492 r10660  
    766766PDMBOTHCBDECL(bool) apicHasPendingIrq(PPDMDEVINS pDevIns)
    767767{
     768    int irrv;
     769
    768770    APICState *s = PDMINS2DATA(pDevIns, APICState *);
    769     return false;
     771    if (!s)
     772        return false;
     773
     774    irrv = get_highest_priority_int(s->irr);
     775    return irrv >= 0;
    770776}
    771777
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