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

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Sep 9 23:49:56 PDT 2005


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





More information about the Commits mailing list