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

cvs commit: src/sys/dev/acpica5 acpi.c acpi_acad.c acpi_cmbat.c acpivar.h src/sys/dev/acpica5/Osd OsdSchedule.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 2 Aug 2004 12:51:09 -0700 (PDT)

dillon      2004/08/02 12:51:09 PDT

DragonFly src repository

  Modified files:
    sys/dev/acpica5      acpi.c acpi_acad.c acpi_cmbat.c acpivar.h 
    sys/dev/acpica5/Osd  OsdSchedule.c 
  Log:
  Rip out the badly designed softint-based taskqueue used by ACPI for callbacks.
  This was deadlocking tsleep() calls made from AcpiOsSleep() when early ACPI
  interrupts occured, such as when a laptop is booted without AC connected.
  
  Use a kernel thread and LWKT messaging to queue callbacks requests and add
  code to use DELAY instead of tsleep() for calls made to AcpiOsSleep() in
  early boot before the system timeout/ticks subsystem is initialized.
  
  Fix two bugged AcpiOsSleep() calls that were sleeping for 10 seconds instead
  of 10 milliseconds.
  
  Revision  Changes    Path
  1.8       +0 -2      src/sys/dev/acpica5/acpi.c
  1.4       +1 -1      src/sys/dev/acpica5/acpi_acad.c
  1.5       +1 -1      src/sys/dev/acpica5/acpi_cmbat.c
  1.4       +0 -11     src/sys/dev/acpica5/acpivar.h
  1.4       +60 -124   src/sys/dev/acpica5/Osd/OsdSchedule.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/acpica5/acpi.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/acpica5/acpi_acad.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/acpica5/acpi_cmbat.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/acpica5/acpivar.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/acpica5/Osd/OsdSchedule.c.diff?r1=1.3&r2=1.4&f=u



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