cvs commit: src/sys/dev/acpica acpi.c

Nate Lawson njl at FreeBSD.org
Thu Aug 12 23:21:32 PDT 2004


njl         2004-08-13 06:21:32 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi.c 
  Log:
  MPSAFE locking
  
  * Serialize calls to acpi_alloc_resource(), acpi_release_resource(),
    acpi_Enable(), acpi_Disable(), and acpi_debug_sysctl().
  * Acquire the ACPI mutex in acpi_register_ioctl(), acpi_deregister_ioctl(),
    and acpiioctl().
  * Acquire the mutex while disabling subsequent requests to enter a
    sleep state in acpi_SetSleepState().
  * Be sure to re-enable sleep requests and don't run resume methods when
    the current request fails.
  * Don't check if sleep requests are disabled in the ACPIIO_SETSLPSTATE
    ioctl.  acpi_SetSleepState() does this for us.
  * Remove the acquisition of Giant from the struct cdevsw.
  * Remove the ACPI_USE_THREADS option.
  
  Revision  Changes    Path
  1.186     +79 -35    src/sys/dev/acpica/acpi.c


More information about the cvs-all mailing list