DragonFly BSD
DragonFly commits List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/i386/isa intr_machdep.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Feb 2004 10:34:40 -0800 (PST)

dillon      2004/02/11 10:34:40 PST

DragonFly src repository

  Modified files:
    sys/i386/isa         intr_machdep.c 
  Log:
  isa_wrongintr() cannot depend on the (void *) unit argument pointing to
  a degenerate structure containing the irq, beacuse isa_wrongintr() is
  called only when the wrong APIC vector is used vs the one we thought we
  programmed.
  
  This commit adjusts isa_wrongintr() to not depend on the unit argument,
  fixing a crash that used to occur in the procedure.  It does not 'fix' the
  interrupt routing bug responsible for causing the entry into isa_wrongintr(),
  which is typically due to broken MP tables.  But at least the problem gets
  reported.  FreeBSD-4.x just locks up without any error message in similar
  situations.
  
  Revision  Changes    Path
  1.16      +19 -5     src/sys/i386/isa/intr_machdep.c


http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/intr_machdep.c.diff?r1=1.15&r2=1.16&f=h



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]