VirtualBox

Changeset 20836 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 23, 2009 1:55:47 PM (16 years ago)
Author:
vboxsync
Message:

NMI/SMI changes

File:
1 edited

Legend:

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

    r20830 r20836  
    415415}
    416416
    417 DECLINLINE(void) cpuSetInterrupt(APICDeviceInfo* dev, APICState *s)
     417DECLINLINE(void) cpuSetInterrupt(APICDeviceInfo* dev, APICState *s, PDMAPICIRQ enmType = PDMAPICIRQ_HARDWARE)
    418418{
    419419    LogFlow(("apic: setting interrupt flag for cpu %d\n", getCpuFromLapic(dev, s)));
    420     dev->CTX_SUFF(pApicHlp)->pfnSetInterruptFF(dev->CTX_SUFF(pDevIns),
     420    dev->CTX_SUFF(pApicHlp)->pfnSetInterruptFF(dev->CTX_SUFF(pDevIns), enmType,
    421421                                               getCpuFromLapic(dev, s));
    422422}
     
    518518
    519519        case APIC_DM_SMI:
    520             /** @todo: what do we really do with SMI */
    521520            foreach_apic(dev, deliver_bitmask,
    522                          cpuSetInterrupt(dev, apic));
     521                         cpuSetInterrupt(dev, apic, PDMAPICIRQ_SMI));
    523522            return VINF_SUCCESS;
    524523
    525524        case APIC_DM_NMI:
    526             /** @todo: what do we really do with NMI */
    527525            foreach_apic(dev, deliver_bitmask,
    528                          cpuSetInterrupt(dev, apic));
     526                         cpuSetInterrupt(dev, apic, PDMAPICIRQ_NMI));
    529527            return VINF_SUCCESS;
    530528
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