freebsd-skq/sys/i386/acpica
Mitsuru IWASAKI f0a101b7e2 Call AcpiLeaveSleepStatePrep() in interrupt disabled context
(described in ACPICA source code).

- Move intr_disable() and intr_restore() from acpi_wakeup.c to acpi.c
  and call AcpiLeaveSleepStatePrep() in interrupt disabled context.
- Add acpi_wakeup_machdep() to execute wakeup MD procedures and call
  it twice in interrupt disabled/enabled context (ia64 version is
  just dummy).
- Rename wakeup_cpus variable in acpi_sleep_machdep() to suspcpus in
  order to be shared by acpi_sleep_machdep() and acpi_wakeup_machdep().
- Move identity mapping related code to acpi_install_wakeup_handler()
  (i386 version) for preparation of x86/acpica/acpi_wakeup.c
  (MFC candidate).

Reviewed by:	jkim@
MFC after:	2 days
2012-06-01 15:26:32 +00:00
..
acpi_machdep.c Centralize declaration of the debug.acpi sysctl node. 2012-05-17 17:58:53 +00:00
acpi_wakecode.S Add SMP/i386 suspend/resume support. 2012-05-18 18:55:58 +00:00
acpi_wakeup.c Call AcpiLeaveSleepStatePrep() in interrupt disabled context 2012-06-01 15:26:32 +00:00