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

cvs commit: src/sys/i386/isa apic_vector.s intr_machdep.c intr_machdep.h


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 9 Sep 2005 23:48:09 -0700 (PDT)

dillon      2005/09/09 23:48:09 PDT

DragonFly src repository

  Modified files:
    sys/i386/isa         apic_vector.s intr_machdep.c 
                         intr_machdep.h 
  Log:
  Fix isa_wrongintr.  The APIC vector was being directly assigned to a C
  function, resulting in register corruption and other nasties.  Generate
  a set of assembly functions to handle wrong-interrupt assignments.  For
  now we just EOI the apic and iret.
  
  This bug could cause an SMP box to crash on boot if a spurious IRQ #0
  interrupt occurs while it is testing for 8254 interrupt delivery.
  
  Revision  Changes    Path
  1.22      +45 -0     src/sys/i386/isa/apic_vector.s
  1.32      +24 -16    src/sys/i386/isa/intr_machdep.c
  1.17      +29 -9     src/sys/i386/isa/intr_machdep.h


http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/apic_vector.s.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/intr_machdep.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/intr_machdep.h.diff?r1=1.16&r2=1.17&f=u



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