diff options
Diffstat (limited to 'src/arch/x86/acpi.c')
-rw-r--r-- | src/arch/x86/acpi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index 55995c9542..c540b5ce4c 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -1005,6 +1005,12 @@ int acpi_is_wakeup_s3(void) return (acpi_slp_type == 3); } +int acpi_is_wakeup_s4(void) +{ + acpi_handoff_wakeup(); + return (acpi_slp_type == 4); +} + void acpi_fail_wakeup(void) { if (acpi_slp_type == 3 || acpi_slp_type == 2) |