Changeset 20836 in vbox for trunk/src/VBox
- Timestamp:
- Jun 23, 2009 1:55:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r20830 r20836 415 415 } 416 416 417 DECLINLINE(void) cpuSetInterrupt(APICDeviceInfo* dev, APICState *s )417 DECLINLINE(void) cpuSetInterrupt(APICDeviceInfo* dev, APICState *s, PDMAPICIRQ enmType = PDMAPICIRQ_HARDWARE) 418 418 { 419 419 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, 421 421 getCpuFromLapic(dev, s)); 422 422 } … … 518 518 519 519 case APIC_DM_SMI: 520 /** @todo: what do we really do with SMI */521 520 foreach_apic(dev, deliver_bitmask, 522 cpuSetInterrupt(dev, apic ));521 cpuSetInterrupt(dev, apic, PDMAPICIRQ_SMI)); 523 522 return VINF_SUCCESS; 524 523 525 524 case APIC_DM_NMI: 526 /** @todo: what do we really do with NMI */527 525 foreach_apic(dev, deliver_bitmask, 528 cpuSetInterrupt(dev, apic ));526 cpuSetInterrupt(dev, apic, PDMAPICIRQ_NMI)); 529 527 return VINF_SUCCESS; 530 528
Note:
See TracChangeset
for help on using the changeset viewer.