cvs commit: src/sys/i386/acpica madt.c

John Baldwin jhb at FreeBSD.org
Mon Jan 26 11:34:28 PST 2004


jhb         2004/01/26 11:34:24 PST

  FreeBSD src repository

  Modified files:
    sys/i386/acpica      madt.c 
  Log:
  - Call acpi_Startup() before parsing interrupt-related APIC resources so we
    can look at the ACPI tables.  If the startup fails, we panic and tell the
    user to try rebooting with ACPI disabled.  Previously in this case we
    would try to use $PIR interrupt routing which only works for the atpic
    while using the apic to handle interrupts which would result in misrouted
    interrupts and a hang at boot time with no error message.
  - Read the SCI out of the FADT instead of hardcoding 9 when checking to see
    if an interrupt override entry is for the SCI.
  - Try to work around some BIOS brain damage for the SCI's programming by
    forcing the SCI to be level triggered and active low if it is routed
    to a non-ISA interrupt (greater than 15) or if it is identity mapped with
    edge trigger and active high polarity.  This should fix some of the hangs
    with device apic and ACPI that some people see.
  
  Reviewed by:    njl
  
  Revision  Changes    Path
  1.10      +43 -7     src/sys/i386/acpica/madt.c


More information about the cvs-src mailing list