VirtualBox

Changeset 27079 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Mar 5, 2010 12:19:45 PM (15 years ago)
Author:
vboxsync
Message:

Added comments about PCI/ACPI/IOAPIC interrupt routing backdoor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r26989 r27079  
    653653    uint8_t    *pbCfg = pGlobals->PIIX3State.dev.config;
    654654    const bool  fIsAcpiDevice = pPciDev->config[2] == 0x13 && pPciDev->config[3] == 0x71;
    655     /* These two configuration space bytes enable a backdoor to trigger the irq directly on the io-apic; e.g. 64 bit Linux guests use it. */
     655    /* If the two configuration space bytes at 0xde, 0xad are set to 0xbe, 0xef, a back door
     656     * is opened to route PCI interrupts directly to the I/O APIC and bypass the PIC.
     657     * See the \_SB_.PCI0._PRT method in vbox.dsl.
     658     */
    656659    const bool  fIsApicEnabled = pGlobals->fUseIoApic && pbCfg[0xde] == 0xbe && pbCfg[0xad] == 0xef;
    657660    int pic_irq, pic_level;
     
    662665        pPciDev->Int.s.uIrqPinState = (iLevel & PDM_IRQ_LEVEL_HIGH);
    663666
    664         /* apic only */
     667        /* Send interrupt to I/O APIC only. */
    665668        if (fIsApicEnabled)
    666669        {
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