VirtualBox

Changeset 34427 in vbox


Ignore:
Timestamp:
Nov 26, 2010 10:32:29 PM (14 years ago)
Author:
vboxsync
Message:

ACPI: streamlined ACPI interrupt, works with OSX guests finally

File:
1 edited

Legend:

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

    r34425 r34427  
    24132413    Log2(("acpi: PCI config write: 0x%x -> 0x%x (%d)\n", u32Value, Address, cb));
    24142414
    2415     if (Address == 0x3c && u32Value == 0xff)
    2416     {
    2417         Log(("acpi: ignore bogus interrupt line settings\n"));
     2415
     2416    if (Address == VBOX_PCI_INTERRUPT_LINE)
     2417    {
     2418        Log(("acpi: ignore interrupt line settings: %x, we'll use hardcoded value %x\n", u32Value, PCIDevGetInterruptLine(pPciDev)));
    24182419        return;
    24192420    }
     
    28432844
    28442845    PCIDevSetInterruptLine(dev, SCI_INT);
    2845 
    2846 #if 0
    2847     dev->config[0x3d] = 0x01;    /* interrupt pin */
    2848 #endif
     2846    PCIDevSetInterruptPin (dev, 0x01);
    28492847
    28502848    dev->config[0x40] = 0x01; /* PM base address, this bit marks it as IO range, not PA */
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