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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 11 10:35:24 PST 2004


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





More information about the Commits mailing list