VirtualBox

Changeset 24195 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Oct 30, 2009 2:32:56 PM (15 years ago)
Author:
vboxsync
Message:

DevAPIC: Properly deliver ExtINT from LAPIC as level sensitive.

File:
1 edited

Legend:

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

    r24193 r24195  
    10121012                Assert(u8Pin == 0); /* PIC should be wired to LINT0. */
    10131013                enmType = PDMAPICIRQ_EXTINT;
    1014                 break;
     1014                /* ExtINT can be both set and cleared, NMI/SMI/INIT can only be set. */
     1015                LogFlow(("apicLocalInterrupt: %s ExtINT interrupt\n", u8Level ? "setting" : "clearing"));
     1016                if (u8Level)
     1017                    cpuSetInterrupt(dev, s, enmType);
     1018                else
     1019                    cpuClearInterrupt(dev, s, enmType);
     1020                return VINF_SUCCESS;
    10151021            case APIC_DM_NMI:
    10161022                Assert(u8Pin == 1); /* NMI should be wired to LINT1. */
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