diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2012-06-01 15:26:32 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2012-06-01 15:26:32 +0000 |
commit | 9cbcc3c49217bb72870e849e6d29f60a7f7523f4 (patch) | |
tree | 67744bb6bd77bbf3e84cf3f6921faa49fe802486 /sys/kern/init_main.c | |
parent | d642fa7a2f76eb02a58d652c2601150ccd82da42 (diff) | |
download | FreeBSD-src-9cbcc3c49217bb72870e849e6d29f60a7f7523f4.zip FreeBSD-src-9cbcc3c49217bb72870e849e6d29f60a7f7523f4.tar.gz |
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
Diffstat (limited to 'sys/kern/init_main.c')
0 files changed, 0 insertions, 0 deletions